You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2010/04/25 23:11:15 UTC

svn commit: r937874 - /maven/archetype/trunk/maven-archetype-bundles/pom.xml

Author: hboutemy
Date: Sun Apr 25 21:11:14 2010
New Revision: 937874

URL: http://svn.apache.org/viewvc?rev=937874&view=rev
Log:
prepared release configuration:
o added parent-release profile
o added scm section

Modified:
    maven/archetype/trunk/maven-archetype-bundles/pom.xml

Modified: maven/archetype/trunk/maven-archetype-bundles/pom.xml
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/maven-archetype-bundles/pom.xml?rev=937874&r1=937873&r2=937874&view=diff
==============================================================================
--- maven/archetype/trunk/maven-archetype-bundles/pom.xml (original)
+++ maven/archetype/trunk/maven-archetype-bundles/pom.xml Sun Apr 25 21:11:14 2010
@@ -36,7 +36,6 @@ under the License.
 
   <name>Maven Archetypes</name>
   <description>Archetypes provided by Maven.</description>
-  <url>http://maven.apache.org/archetype/maven-archetype-bundles</url>
 
   <modules>
     <module>maven-archetype-archetype</module>
@@ -52,6 +51,12 @@ under the License.
     <module>maven-archetype-webapp</module>
   </modules>
 
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/maven/archetype/trunk/maven-archetype-bundles</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/archetype/trunk/maven-archetype-bundles</developerConnection>
+    <url>http://svn.apache.org/viewvc/maven/archetype/trunk/maven-archetype-bundles</url>
+  </scm>
+
   <build>
     <extensions>
       <extension>
@@ -69,4 +74,33 @@ under the License.
       </plugins>
     </pluginManagement>
   </build>
+
+  <profiles>
+    <profile>
+      <id>parent-release</id>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-release-plugin</artifactId>
+            <configuration>
+              <arguments>-N -Papache-release</arguments>
+            </configuration>
+          </plugin>
+          <plugin>
+            <artifactId>maven-assembly-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>source-release-assembly</id>
+                <configuration>
+                  <descriptorRefs>
+                    <descriptorRef>src</descriptorRef>
+                  </descriptorRefs>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>