26,6 → 26,12 |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
</properties> |
|
<parent> |
<groupId>org.sonatype.oss</groupId> |
<artifactId>oss-parent</artifactId> |
<version>3</version> |
</parent> |
|
<scm> |
<developerConnection>scm:svn:${svn.url}</developerConnection> |
<url>${svn.url}</url> |
35,10 → 41,6 |
<reporting> |
<plugins> |
<plugin> |
<groupId>org.codehaus.mojo</groupId> |
<artifactId>changelog-maven-plugin</artifactId> |
</plugin> |
<plugin> |
<artifactId>maven-surefire-plugin</artifactId> |
</plugin> |
<plugin> |
57,6 → 59,43 |
</plugins> |
</reporting> |
|
<profiles> |
<profile> |
<id>release-sign-artifacts</id> |
<activation> |
<property> |
<name>performRelease</name> |
<value>true</value> |
</property> |
</activation> |
<build> |
<plugins> |
<plugin> |
<groupId>org.apache.maven.plugins</groupId> |
<artifactId>maven-gpg-plugin</artifactId> |
<executions> |
<execution> |
<id>sign-artifacts</id> |
<phase>verify</phase> |
<goals> |
<goal>sign</goal> |
</goals> |
</execution> |
</executions> |
</plugin> |
</plugins> |
</build> |
</profile> |
</profiles> |
|
<!-- distributionManagement> |
<repository> |
<id>nexus-releases</id> |
<name>Nexus Release Repository</name> |
<url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
</repository> |
</distributionManagement --> |
|
<dependencies> |
<dependency> |
<groupId>junit</groupId> |
68,6 → 107,19 |
<build> |
<finalName>${build.final.name}</finalName> |
<plugins> |
<!-- plugin> |
<groupId>org.apache.maven.plugins</groupId> |
<artifactId>maven-gpg-plugin</artifactId> |
<executions> |
<execution> |
<id>sign-artifacts</id> |
<phase>verify</phase> |
<goals> |
<goal>sign</goal> |
</goals> |
</execution> |
</executions> |
</plugin --> |
<plugin> |
<groupId>org.apache.maven.plugins</groupId> |
<artifactId>maven-compiler-plugin</artifactId> |