简体   繁体   中英

Where is the global pom.xml including all Apache Commons components' versions?

As I'm starting to use several Apache Commons components in several of my Java projects, I'd like to add a single dependency to automatically handle the versions of these components in my Maven's pom.xml , à la Spring (eg spring-boot-dependencies , spring-data-releasetrain , spring-cloud-dependencies ) & all their starters.

Unfortunately I'm unable to find such a thing, how do I do?

They have something called the Apache Commons Parent pom but it seems like it's just a pom.xml dedicated to the build process of every components of the suite.

Apache commons are a collection of libraries that have very little in common (no pun intended). It makes no sense to import them en-masse.

Import just what you actually need.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM