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:16:01 UTC

svn commit: r1143620 - in /maven/pom/trunk/maven: pom.xml src/site-docs/apt/index.apt

Author: hboutemy
Date: Thu Jul  7 01:16:01 2011
New Revision: 1143620

URL: http://svn.apache.org/viewvc?rev=1143620&view=rev
Log:
added apache.snapshots profile for Apache Snapshots repository

Modified:
    maven/pom/trunk/maven/pom.xml
    maven/pom/trunk/maven/src/site-docs/apt/index.apt

Modified: maven/pom/trunk/maven/pom.xml
URL: http://svn.apache.org/viewvc/maven/pom/trunk/maven/pom.xml?rev=1143620&r1=1143619&r2=1143620&view=diff
==============================================================================
--- maven/pom/trunk/maven/pom.xml (original)
+++ maven/pom/trunk/maven/pom.xml Thu Jul  7 01:16:01 2011
@@ -840,5 +840,20 @@ under the License.
         </plugins>
       </build>
     </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>
 </project>

Modified: maven/pom/trunk/maven/src/site-docs/apt/index.apt
URL: http://svn.apache.org/viewvc/maven/pom/trunk/maven/src/site-docs/apt/index.apt?rev=1143620&r1=1143619&r2=1143620&view=diff
==============================================================================
--- maven/pom/trunk/maven/src/site-docs/apt/index.apt (original)
+++ maven/pom/trunk/maven/src/site-docs/apt/index.apt Thu Jul  7 01:16:01 2011
@@ -50,6 +50,11 @@ mvn -Preporting site-deploy
 
     See {{{./plugins.html}Plugins report}} for a list of configured report plugins.
 
+The <<<apache.shapshots>>> Profile
+
+    An <<<apache.shapshots>>> profile is provided to activate Apache Snapshot repository when necessary, for
+    example in a CI server.
+
 History
 
     As of version 21, this POM sets the Java source and target versions to 1.5. Thus, as any plugin (or other component)