Wonder if that's such a good idea?

The last time we had dependencies from snapshot repository on people.apache.org, we had a major problem when it got wiped out without warning one day. Maybe worth checking with either infra, or the maven dev list whether they promise any kind of stability on repository.apache.org, and what is their snapshot pruning policy.

I dread the return of the days of broken Maven builds from the not so distant past.

Andrus


On Oct 11, 2009, at 4:59 PM, [email protected] wrote:
Author: andrey
Date: Sun Oct 11 13:59:36 2009
New Revision: 824078

URL: http://svn.apache.org/viewvc?rev=824078&view=rev
Log:
changing surefire version

Modified:
  cayenne/main/trunk/pom.xml

Modified: cayenne/main/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/cayenne/main/trunk/pom.xml?rev=824078&r1=824077&r2=824078&view=diff
= = = = = = = = ======================================================================
--- cayenne/main/trunk/pom.xml (original)
+++ cayenne/main/trunk/pom.xml Sun Oct 11 13:59:36 2009
@@ -513,7 +513,7 @@
                        </dependency>
                </dependencies>
        </dependencyManagement>
-
+       
        <repositories>
                <repository>
                        <id>apache-snapshots</id>
@@ -546,6 +546,20 @@
                                <enabled>true</enabled>
                        </releases>
                </pluginRepository>
+               <pluginRepository>
+                       <id>plugin-snapshots</id>
+                       <name>Apache Snapshots Repository</name>
+                       <url>http://repository.apache.org/snapshots/</url>
+                       <layout>default</layout>
+                       <snapshots>
+                               <enabled>true</enabled>
+                               <updatePolicy>weekly</updatePolicy>
+                               <checksumPolicy>ignore</checksumPolicy>
+                       </snapshots>
+                       <releases>
+                               <enabled>false</enabled>
+                       </releases>
+               </pluginRepository>
        </pluginRepositories>

        <build>
@@ -553,6 +567,7 @@
                <plugins>
                        <plugin>
                                <artifactId>maven-surefire-plugin</artifactId>
+                               <version>2.5-SNAPSHOT</version>
                                <configuration>
                                        <argLine>
-Dcayenne.test.connection=${cayenne.test.connection} - Djava.net.preferIPv4Stack=true




Reply via email to