Name: dcc-parent
Owner: ICGC DCC
Description: Common parent pom for module configuration reuse
Created: 2013-02-22 00:39:48.0
Updated: 2017-06-13 14:35:42.0
Pushed: 2018-01-04 19:00:19.0
Size: 93
Language: null
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
The parent Maven POM for ICGC DCC.
The DCC parent POM provides default configuration for Maven builds.
Start out by adding the parent configuration to your pom.
<parent>
<groupId>org.icgc.dcc</groupId>
<artifactId>dcc-parent</artifactId>
<version>1</version>
</parent>
The pom includes properties which allow various build configuration to be customized. For example, to override the default version of the maven-compiler-plugin, just set a property.
<properties>
<version.compiler.plugin>2.3</version.compiler.plugin>
</properties>
Or override the default Java compiler source and target level used in the build. Note the default level is 1.6.
<properties>
<maven.compiler.target>1.6</maven.compiler.target>
<maven.compiler.source>1.6</maven.compiler.source>
</properties>
The minimum version of Java or Maven required to run a build can also be set via properties.
<properties>
<maven.min.version>3.0.3</maven.min.version>
<jdk.min.version>1.6</jdk.min.version>
</properties>
For the full list of properties, refer to the POM itself.