Author: brett
Date: Fri Dec 29 13:11:36 2006
New Revision: 491098

URL: http://svn.apache.org/viewvc?view=rev&rev=491098
Log:
add the release profile for this release. In the future, this will be in a 
parent POM and can be removed from here

Modified:
    maven/shared/branches/maven-plugin-tools-2.0.x/pom.xml

Modified: maven/shared/branches/maven-plugin-tools-2.0.x/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/shared/branches/maven-plugin-tools-2.0.x/pom.xml?view=diff&rev=491098&r1=491097&r2=491098
==============================================================================
--- maven/shared/branches/maven-plugin-tools-2.0.x/pom.xml (original)
+++ maven/shared/branches/maven-plugin-tools-2.0.x/pom.xml Fri Dec 29 13:11:36 
2006
@@ -24,7 +24,7 @@
   <parent>
     <groupId>org.apache.maven.shared</groupId>
     <artifactId>maven-shared-components</artifactId>
-    <version>4-SNAPSHOT</version>
+    <version>6</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
   <groupId>org.apache.maven</groupId>
@@ -73,4 +73,50 @@
       </dependency>
     </dependencies>
   </dependencyManagement>
+  <profiles>
+    <profile>
+      <id>release-profile</id>
+      <activation>
+        <property>
+          <name>performRelease</name>
+          <value>true</value>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-gpg-plugin</artifactId>
+            <version>1.0-alpha-1</version>
+            <configuration>
+              <passphrase>${gpg.passphrase}</passphrase>
+            </configuration>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>sign</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+          <!-- We want to package up license resources in the JARs produced -->
+          <plugin>
+            <artifactId>maven-remote-resources-plugin</artifactId>
+            <version>1.0-alpha-1</version>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>process</goal>
+                </goals>
+                <configuration>
+                  <resourceBundles>
+                    
<resourceBundle>org.apache:apache-jar-resource-bundle:1.0</resourceBundle>
+                  </resourceBundles>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>


Reply via email to