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/04/01 23:37:02 UTC

svn commit: r524692 - /excalibur/trunk/pom.xml

Author: jheymans
Date: Sun Apr  1 14:37:01 2007
New Revision: 524692

URL: http://svn.apache.org/viewvc?view=rev&rev=524692
Log:
adding proper configuration for release plugin

Modified:
    excalibur/trunk/pom.xml

Modified: excalibur/trunk/pom.xml
URL: http://svn.apache.org/viewvc/excalibur/trunk/pom.xml?view=diff&rev=524692&r1=524691&r2=524692
==============================================================================
--- excalibur/trunk/pom.xml (original)
+++ excalibur/trunk/pom.xml Sun Apr  1 14:37:01 2007
@@ -24,7 +24,7 @@
   </parent>
   <groupId>org.apache.excalibur</groupId>
   <artifactId>excalibur</artifactId>
-  <version>2-SNAPSHOT</version>
+  <version>2</version>
   <name>Excalibur</name>
   <packaging>pom</packaging>
   <modules>
@@ -59,51 +59,6 @@
     <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>
-            <phase>deploy</phase>
-            <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>
-            <phase>deploy</phase>
-            <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>
-            <phase>deploy</phase>
-            <goals>
-              <goal>sign</goal>
-            </goals>
-          </execution>
-        </executions>
-        <configuration>
-          <passphrase>yourgpgpassphrasehere</passphrase>
-        </configuration>
-      </plugin>
-      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
         <configuration>
@@ -212,4 +167,26 @@
       </plugin>
     </plugins>
   </build>
+  <profiles>
+    <profile>
+      <id>release</id>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-gpg-plugin</artifactId>
+            <version>1.0-alpha-3</version>
+            <executions>
+              <execution>
+                <id>sign-artifacts</id>
+                <phase>verify</phase>
+                <goals>
+                  <goal>sign</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>



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