diff options
author | adinn <adinn@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2010-07-20 16:43:48 +0000 |
---|---|---|
committer | adinn <adinn@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2010-07-20 16:43:48 +0000 |
commit | b8b4b628bf069474152419b0451c9f0165faa97e (patch) | |
tree | f5b719892f718ce0095cbac564ea5ef698586d9e | |
parent | 8d9e44a20af6fd8b035e6a435afe3ad4338ef51b (diff) | |
download | javassist-b8b4b628bf069474152419b0451c9f0165faa97e.tar.gz javassist-b8b4b628bf069474152419b0451c9f0165faa97e.zip |
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
-rw-r--r-- | pom.xml | 51 |
1 files changed, 49 insertions, 2 deletions
@@ -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> |