Browse Source

added final changes needed to allow installation to Sonatype repo

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@560 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
tags/rel_3_17_1_ga
adinn 13 years ago
parent
commit
b8b4b628bf
1 changed files with 49 additions and 2 deletions
  1. 49
    2
      pom.xml

+ 49
- 2
pom.xml View File

@@ -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>

Loading…
Cancel
Save