axis-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r960693 - /axis/axis2/java/core/trunk/modules/parent/pom.xml
Date Mon, 05 Jul 2010 20:52:09 GMT
Author: veithen
Date: Mon Jul  5 20:52:09 2010
New Revision: 960693

URL: http://svn.apache.org/viewvc?rev=960693&view=rev
Log:
Use SNAPSHOT versions of the mar and aar plugins because usage of the 1.5.1 versions results
in corruption of the local Maven repository (when starting the build with a local repository
that does not contain all the dependencies of the plugins yet). See the comment inside the
POM for more details.

Modified:
    axis/axis2/java/core/trunk/modules/parent/pom.xml

Modified: axis/axis2/java/core/trunk/modules/parent/pom.xml
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/parent/pom.xml?rev=960693&r1=960692&r2=960693&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/parent/pom.xml (original)
+++ axis/axis2/java/core/trunk/modules/parent/pom.xml Mon Jul  5 20:52:09 2010
@@ -88,8 +88,16 @@
         <xmlschema.version>1.4.6</xmlschema.version>
         <woden.version>1.0-SNAPSHOT</woden.version>
 
-        <mar.plugin.version>1.5</mar.plugin.version>
-        <aar.plugin.version>1.5</aar.plugin.version>
+        <!-- Unfortunately we can't use the 1.5.1 versions here because this would result
+             in corruption of the local Maven repository. The reason is that
+             the POMs of the 1.5.1 plugins refer to an incorrect java.net
+             repository. When Maven loads one of these plugins, it will
+             load dependencies using this repository and these artifacts
+             are corrupted (they are replaced by an HTML page). Note that we may
+             later use 1.5.2 (once that version is released) here to avoid
+             the chicken and egg problem. -->
+        <mar.plugin.version>SNAPSHOT</mar.plugin.version>
+        <aar.plugin.version>SNAPSHOT</aar.plugin.version>
 
 	<!-- Use released versions for these projects -->
         <ant.version>1.7.0</ant.version>
@@ -550,6 +558,18 @@
             </releases>
         </pluginRepository>
         <pluginRepository>
+            <id>apache.snapshots</id>
+            <name>Apache Snapshot Repository</name>
+            <url>http://repository.apache.org/snapshots</url>
+            <snapshots>
+                <enabled>true</enabled>
+                <updatePolicy>daily</updatePolicy>
+            </snapshots>
+            <releases>
+                <enabled>false</enabled>
+            </releases>
+        </pluginRepository>
+        <pluginRepository>
             <id>ws-zones</id>
             <name>Apache WS Zones Repository</name>
             <url>http://ws.zones.apache.org/repository2</url>



Mime
View raw message