O'Reilly logo

Maven Build Customization by Giacomo Veneri, Riccardo Giomi, Umberto Antonio Cicero, Roberto Baldi, Lorenzo Anardu

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Managing dependencies

When we build a project, we usually need external libraries and archives of third parties, or those developed by us in other projects. These are called project dependencies. One Maven project will have other Maven projects as dependencies, and it will refer to them through their groupId, artifactId, and version Maven coordinates. When we declare a dependency in a project, this is first searched in the local repository, then in the Maven central repository and other remote repositories, if specified in the POM. When the dependency is found, it is downloaded and stored in the local repository for future reuse. As we are about to see, project dependencies can be available to the build process in different ways, depending on ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required