Introducing Maven with standard libraries

The second step is to set the dependencies. External artifacts can be divided into two categories:

  • Those which "respect/follow" Maven conventions. In 2013, the majority of de facto standard frameworks and libraries, most of which are open source, are built and published through Maven: Spring, Hibernate, and so on.
  • Those which do not "respect/follow" Maven conventions. Although this case is less common, many projects remain reluctant to share Maven rigidity. Among them, let's mention former Sun JARs, Apache Tomcat, several libraries from Google, and so on.

So, you will have to review all the dependencies of build.xml and check whether they respect n-uplet groupId/artifactId/version (in more of type, classifier ...

Get Apache Maven Dependency Management now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.