You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2011/01/11 12:17:20 UTC

svn commit: r1057582 - /incubator/isis/trunk/pom.xml

Author: danhaywood
Date: Tue Jan 11 11:17:20 2011
New Revision: 1057582

URL: http://svn.apache.org/viewvc?rev=1057582&view=rev
Log:
minor patch to root pom.xml to allow adhoc deployment of snapshot artifacts (eg to a local Nexus repo)

Modified:
    incubator/isis/trunk/pom.xml

Modified: incubator/isis/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/pom.xml?rev=1057582&r1=1057581&r2=1057582&view=diff
==============================================================================
--- incubator/isis/trunk/pom.xml (original)
+++ incubator/isis/trunk/pom.xml Tue Jan 11 11:17:20 2011
@@ -1468,6 +1468,37 @@
                 <module>release</module>
             </modules>
         </profile>
+
+        <!--
+        overrides inherited configuration to allow regular
+        deploy plugin to work to snapshot repo.
+
+        Use:
+        -D deploy=snapshot -D modules=standard -D distMgmtSnapshotsUrl=... 
+
+        where the last property is the repo URL to deploy to
+        -->
+        <profile>
+            <id>deploy-snapshot</id>
+            <activation>
+                <property>
+                    <name>deploy</name>
+                    <value>snapshot</value>
+                </property>
+            </activation>
+            <build>
+                <plugins>
+                  <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-deploy-plugin</artifactId>
+                    <inherited>true</inherited>
+                    <configuration>
+                      <skip>false</skip>
+                    </configuration>
+                  </plugin>
+                </plugins>
+            </build>
+        </profile>
     </profiles>
 
 </project>