commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r439540 - /jakarta/commons/trunks-proper/pom.xml
Date Sat, 02 Sep 2006 05:37:22 GMT
Author: psteitz
Date: Fri Sep  1 22:37:21 2006
New Revision: 439540

URL: http://svn.apache.org/viewvc?rev=439540&view=rev
Log:
Nulled apache.releases by default to prevent accidental deploys to the
rsynched repo.
Added build profiles for releases and rcs, named 'release', 'rc' resp.
'mvn -Prelease deploy' will deploy to rsynched repo and 
'mvn -Prc deploy' will deploy non-snapshot versions to snapshot repo.

Modified:
    jakarta/commons/trunks-proper/pom.xml

Modified: jakarta/commons/trunks-proper/pom.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/trunks-proper/pom.xml?rev=439540&r1=439539&r2=439540&view=diff
==============================================================================
--- jakarta/commons/trunks-proper/pom.xml (original)
+++ jakarta/commons/trunks-proper/pom.xml Fri Sep  1 22:37:21 2006
@@ -25,6 +25,14 @@
       </notifier>
     </notifiers>
   </ciManagement>
+  <distributionManagement>
+   <!-- Null out inherited apache distribution repo by default -->
+   <repository>
+     <id>dummy</id>
+     <name>Dummy to avoid accidental deploys</name>
+     <url></url>
+   </repository>
+  </distributionManagement>
   <scm>
     <connection>scm:svn:http://svn.apache.org/repos/asf/jakarta/commons/proper</connection>
     <developerConnection>scm:svn:https://svn.apache.org/repos/asf/jakarta/commons/proper</developerConnection>
@@ -78,6 +86,28 @@
       </resource>
     </resources>
   </build>
+  <profiles>
+    <profile>
+      <id>release</id>
+      <distributionManagement>
+        <repository>
+          <id>apache.releases</id>
+          <name>Apache Release Distribution Repository</name>
+          <url>scp://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository</url>
+        </repository>
+      </distributionManagement>
+    </profile>
+    <profile>
+      <id>rc</id>
+      <distributionManagement>
+        <repository>
+          <id>apache.snapshots</id>
+          <name>Apache Development Snapshot Repository</name>
+          <url>scp://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository</url>
+        </repository>
+      </distributionManagement>
+    </profile>
+  </profiles>
 
   <!-- Example configuration for compiler source and target JVM -->
   <!--



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message