You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ge...@apache.org on 2009/06/12 10:21:33 UTC

svn commit: r784028 - /servicemix/servicemix-pom/trunk/pom.xml

Author: gertv
Date: Fri Jun 12 08:21:33 2009
New Revision: 784028

URL: http://svn.apache.org/viewvc?rev=784028&view=rev
Log:
Allow overriding the deployment repository during release

Modified:
    servicemix/servicemix-pom/trunk/pom.xml

Modified: servicemix/servicemix-pom/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/servicemix-pom/trunk/pom.xml?rev=784028&r1=784027&r2=784028&view=diff
==============================================================================
--- servicemix/servicemix-pom/trunk/pom.xml (original)
+++ servicemix/servicemix-pom/trunk/pom.xml Fri Jun 12 08:21:33 2009
@@ -236,5 +236,25 @@
         </plugins>
       </build>
     </profile>
+    <!-- profile to allow overriding the deployment repository to avoid connection problems during release -->
+    <profile>
+      <activation>
+        <property>
+          <name>deploy.altRepository</name>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <inherited>true</inherited>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-deploy-plugin</artifactId>
+            <configuration>
+              <altDeploymentRepository>${deploy.altRepository}</altDeploymentRepository>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
 </project>