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 2011/07/07 03:10:59 UTC

svn commit: r1143618 - /maven/archetype/trunk/pom.xml

Author: hboutemy
Date: Thu Jul  7 01:10:58 2011
New Revision: 1143618

URL: http://svn.apache.org/viewvc?rev=1143618&view=rev
Log:
moved apache.snapshots repository to a profile to provide easy activation/de-activation

Modified:
    maven/archetype/trunk/pom.xml

Modified: maven/archetype/trunk/pom.xml
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/pom.xml?rev=1143618&r1=1143617&r2=1143618&view=diff
==============================================================================
--- maven/archetype/trunk/pom.xml (original)
+++ maven/archetype/trunk/pom.xml Thu Jul  7 01:10:58 2011
@@ -290,19 +290,20 @@ under the License.
         </plugins>
       </reporting>
     </profile>
+    <profile>
+      <id>apache.shapshots</id>
+      <repositories>
+        <repository>
+          <id>apache.snapshots</id>
+          <url>https://repository.apache.org/content/groups/snapshots-group/</url>
+          <releases>
+            <enabled>false</enabled>
+          </releases>
+          <snapshots>
+            <enabled>true</enabled>
+          </snapshots>
+        </repository>
+      </repositories>
+    </profile>
   </profiles>
-
-  <!-- TODO remove when the parent will be released -->
-  <repositories>
-    <repository>
-      <id>apache.snapshots</id>
-      <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-      <releases>
-        <enabled>false</enabled>
-      </releases>
-      <snapshots>
-        <enabled>true</enabled>
-      </snapshots>
-    </repository>
-  </repositories>
 </project>