[jboss-cvs] javassist SVN: r560 - trunk.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Jul 20 12:43:49 EDT 2010


Author: adinn
Date: 2010-07-20 12:43:48 -0400 (Tue, 20 Jul 2010)
New Revision: 560

Modified:
   trunk/pom.xml
Log:
added final changes needed to allow installation to Sonatype repo

Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml	2010-07-20 10:47:57 UTC (rev 559)
+++ trunk/pom.xml	2010-07-20 16:43:48 UTC (rev 560)
@@ -143,10 +143,57 @@
         </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>
         <jdk>1.4</jdk>
@@ -203,7 +250,7 @@
         </dependency>
       </dependencies>
     </profile>
-  </profiles-->
+  </profiles>
   <dependencies>
     <dependency>
       <groupId>junit</groupId>



More information about the jboss-cvs-commits mailing list