Fork me on GitHub jcabi

23-Oct-2013 0.11.2

Universal Maven Parent POM

Base your Maven projects on this artifact and you will get many pre-configuration benefits, including up-to-date dependencies, plugins, build extensions, repositories, and more. All that you need to do is to define our artifact as a parent of your project:

<project>
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>com.jcabi</groupId>
    <artifactId>parent</artifactId>
    <version>0.11.2</version>
  </parent>
  <groupId>your-group-id</groupId>
  <artifactId>your-artifact-id</artifactId>
  <version>1.2.3-SNAPSHOT</version>
  [...]
</project>

This is what we have in our pom.xml.

Take a look at the pom.xml of jcabi itself, as a good example of how com.jcabi:parent can be effectively used to minimize XML duplication.

Copyright © 2012-2013 jcabi.com, All Rights Reserved. Privacy Policy.

site is built by Apache Maven