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

</executions> </executions>
<inherited>true</inherited> <inherited>true</inherited>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.7</version>
<configuration>
<attach>true</attach>
</configuration>
</plugin>
</plugins> </plugins>
</build> </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> <profile>
<id>jdk14</id> <id>jdk14</id>
<activation> <activation>
</dependency> </dependency>
</dependencies> </dependencies>
</profile> </profile>
</profiles-->
</profiles>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>

Loading…
Cancel
Save