You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@excalibur.apache.org by jh...@apache.org on 2007/02/14 23:44:49 UTC

svn commit: r507731 - /excalibur/tags/maven2-release-working-tag/pom.xml

Author: jheymans
Date: Wed Feb 14 14:44:48 2007
New Revision: 507731

URL: http://svn.apache.org/viewvc?view=rev&rev=507731
Log:
adding build plugins to automatically generate javadoc and source jars

Modified:
    excalibur/tags/maven2-release-working-tag/pom.xml

Modified: excalibur/tags/maven2-release-working-tag/pom.xml
URL: http://svn.apache.org/viewvc/excalibur/tags/maven2-release-working-tag/pom.xml?view=diff&rev=507731&r1=507730&r2=507731
==============================================================================
--- excalibur/tags/maven2-release-working-tag/pom.xml (original)
+++ excalibur/tags/maven2-release-working-tag/pom.xml Wed Feb 14 14:44:48 2007
@@ -45,7 +45,7 @@
       <id>apache-maven</id>
       <name>repository</name>
       <!-- need to point to a staging repo here -->
-      <url>file:///home/jheymans/release-repository</url>
+      <url>file:///Users/jheymans/tmp/stagingrepo</url>
       <!--url>scpexe://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository/</url-->
     </repository>
     <!--snapshotRepository>
@@ -58,6 +58,48 @@
     <sourceDirectory>src/java</sourceDirectory>
     <testSourceDirectory>src/test</testSourceDirectory>
     <plugins>
+      <plugin>
+        <inherited>true</inherited>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>attach-sources</id>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <inherited>true</inherited>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>attach-javadocs</id>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <inherited>true</inherited>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-gpg-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>sign-artifacts</id>
+            <goals>
+              <goal>sign</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <passphrase>yourpassphrasehere</passphrase>
+        </configuration>
+      </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>



---------------------------------------------------------------------
To unsubscribe, e-mail: scm-unsubscribe@excalibur.apache.org
For additional commands, e-mail: scm-help@excalibur.apache.org