|
|
@@ -143,9 +143,56 @@ |
|
|
|
</executions> |
|
|
|
<inherited>true</inherited> |
|
|
|
</plugin> |
|
|
|
<plugin> |
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
<artifactId>maven-javadoc-plugin</artifactId> |
|
|
|
<version>2.7</version> |
|
|
|
<configuration> |
|
|
|
<attach>true</attach> |
|
|
|
</configuration> |
|
|
|
</plugin> |
|
|
|
</plugins> |
|
|
|
</build> |
|
|
|
<!--profiles> |
|
|
|
<profiles> |
|
|
|
<!-- profile for releasing to sonatype repo |
|
|
|
exercise with mvn -PcentralRelease |
|
|
|
--> |
|
|
|
<profile> |
|
|
|
<id>centralRelease</id> |
|
|
|
<!-- obviously we need to use the Sonatype staging repo for upload --> |
|
|
|
<repositories> |
|
|
|
<repository> |
|
|
|
<id>sonatype-releases-repository</id> |
|
|
|
<name>Sonatype Releases Repository</name> |
|
|
|
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> |
|
|
|
</repository> |
|
|
|
</repositories> |
|
|
|
<!-- we need to be able to sign the jars we install --> |
|
|
|
<build> |
|
|
|
<plugins> |
|
|
|
<plugin> |
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
<artifactId>maven-gpg-plugin</artifactId> |
|
|
|
<configuration> |
|
|
|
<passphrase>${gpg.passphrase}</passphrase> |
|
|
|
<useAgent>${gpg.useAgent}</useAgent> |
|
|
|
</configuration> |
|
|
|
<executions> |
|
|
|
<execution> |
|
|
|
<id>sign-artifacts</id> |
|
|
|
<phase>verify</phase> |
|
|
|
<goals> |
|
|
|
<goal>sign</goal> |
|
|
|
</goals> |
|
|
|
</execution> |
|
|
|
</executions> |
|
|
|
</plugin> |
|
|
|
</plugins> |
|
|
|
</build> |
|
|
|
</profile> |
|
|
|
<!-- profiles to add tools jar containing com.sun.jdi code |
|
|
|
needed by sample code |
|
|
|
--> |
|
|
|
<profile> |
|
|
|
<id>jdk14</id> |
|
|
|
<activation> |
|
|
@@ -203,7 +250,7 @@ |
|
|
|
</dependency> |
|
|
|
</dependencies> |
|
|
|
</profile> |
|
|
|
</profiles--> |
|
|
|
</profiles> |
|
|
|
<dependencies> |
|
|
|
<dependency> |
|
|
|
<groupId>junit</groupId> |