You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by br...@apache.org on 2008/12/23 01:43:22 UTC

svn commit: r728834 - in /maven/components/branches/maven-2.0.10-RC: apache-maven/pom.xml pom.xml

Author: brett
Date: Mon Dec 22 16:43:22 2008
New Revision: 728834

URL: http://svn.apache.org/viewvc?rev=728834&view=rev
Log:
remove plugin repository, add a (Commented) enforcer rule for the future

Modified:
    maven/components/branches/maven-2.0.10-RC/apache-maven/pom.xml
    maven/components/branches/maven-2.0.10-RC/pom.xml

Modified: maven/components/branches/maven-2.0.10-RC/apache-maven/pom.xml
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.10-RC/apache-maven/pom.xml?rev=728834&r1=728833&r2=728834&view=diff
==============================================================================
--- maven/components/branches/maven-2.0.10-RC/apache-maven/pom.xml (original)
+++ maven/components/branches/maven-2.0.10-RC/apache-maven/pom.xml Mon Dec 22 16:43:22 2008
@@ -29,16 +29,6 @@
   <artifactId>apache-maven</artifactId>
   <name>Maven Distribution</name>
 
-  <pluginRepositories>
-    <pluginRepository>
-      <id>apache.snapshots</id>
-      <url>http://people.apache.org/repo/m2-snapshot-repository</url>
-      <releases>
-        <enabled>false</enabled>
-      </releases>
-    </pluginRepository>
-  </pluginRepositories>
-
   <build>
     <plugins>
       <plugin>

Modified: maven/components/branches/maven-2.0.10-RC/pom.xml
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.10-RC/pom.xml?rev=728834&r1=728833&r2=728834&view=diff
==============================================================================
--- maven/components/branches/maven-2.0.10-RC/pom.xml (original)
+++ maven/components/branches/maven-2.0.10-RC/pom.xml Mon Dec 22 16:43:22 2008
@@ -473,6 +473,29 @@
       <id>release</id>
       <build>
         <plugins>
+<!-- TODO: Commented until a release version is available
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-enforcer-plugin</artifactId>
+            <version>1.0-alpha-5-SNAPSHOT</version>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>enforce</goal>
+                </goals>
+                <configuration>
+                  <rules>
+                    <requireNoRepositories>
+                      <allowedRepositories>
+                        <allowedRepository>apache.snapshots</allowedRepository>
+                      </allowedRepositories>
+                    </requireNoRepositories>
+                  </rules>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+-->
           <plugin>
             <artifactId>maven-assembly-plugin</artifactId>
             <inherited>false</inherited>