You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2005/08/25 01:40:27 UTC

svn commit: r239966 - in /webservices/axis/trunk/java: maven.xml modules/common/project.properties project.properties

Author: dims
Date: Wed Aug 24 16:40:24 2005
New Revision: 239966

URL: http://svn.apache.org/viewcvs?rev=239966&view=rev
Log:
- Install plugin automatically.
- Get "maven all-tests" to work after blowing up the .maven directory


Added:
    webservices/axis/trunk/java/modules/common/project.properties   (with props)
Modified:
    webservices/axis/trunk/java/maven.xml
    webservices/axis/trunk/java/project.properties

Modified: webservices/axis/trunk/java/maven.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/maven.xml?rev=239966&r1=239965&r2=239966&view=diff
==============================================================================
--- webservices/axis/trunk/java/maven.xml (original)
+++ webservices/axis/trunk/java/maven.xml Wed Aug 24 16:40:24 2005
@@ -49,12 +49,23 @@
     xmlns:deploy="deploy"
     xmlns:modules="local:modules"
     xmlns:ant="jelly:ant"
+    xmlns:plugin="plugin"
     xmlns:maven="jelly:maven"
     xmlns:define="jelly:define">
 
     <j:set var="dist.name" value="${pom.artifactId}-${pom.currentVersion}"/>
     <j:set var="dist.dir" value="target/dist"/>
-    
+
+    <preGoal name="modules:reactor:init"> 
+        <j:set var="groupId" value="maven-itest-plugin"/> 
+        <j:set var="artifactId" value="maven-itest-plugin"/> 
+        <j:set var="version" value="1.0"/> 
+        <attainGoal name="plugin:download-artifact"/> 
+        <maven:installPlugin 
+            file="${maven.repo.local}/${groupId}/plugins/${artifactId}-${version}.jar" 
+            cache="true" /> 
+    </preGoal>
+      
     <!-- ======= -->
     <!-- Modules -->
     <!-- ======= -->
@@ -289,7 +300,7 @@
     </goal>
 
     <goal name="all-tests">
-        <modules:reactor goals="test,itest"/>
+        <modules:reactor goals="jar:install,test,itest"/>
     </goal>
 
     <goal name="create-jar" prereqs="init">

Added: webservices/axis/trunk/java/modules/common/project.properties
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/common/project.properties?rev=239966&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/common/project.properties (added)
+++ webservices/axis/trunk/java/modules/common/project.properties Wed Aug 24 16:40:24 2005
@@ -0,0 +1,18 @@
+# -------------------------------------------------------------------
+# Copyright 2001-2004 The Apache Software Foundation.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# -------------------------------------------------------------------
+
+maven.repo.remote=http://cvs.apache.org/repository/, http://www.ibiblio.org/maven,http://www.apache.org/dist/java-repository/, http://ws.zones.apache.org/~dims/maven/
+maven.multiproject.type=jar

Propchange: webservices/axis/trunk/java/modules/common/project.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis/trunk/java/project.properties
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/project.properties?rev=239966&r1=239965&r2=239966&view=diff
==============================================================================
--- webservices/axis/trunk/java/project.properties (original)
+++ webservices/axis/trunk/java/project.properties Wed Aug 24 16:40:24 2005
@@ -2,7 +2,7 @@
 ## $Revision: 1.3 $ $Date: 2004/07/28 15:21:22 $
 ##
 maven.multiproject.includes=modules/*/project.xml
-maven.repo.remote=http://www.apache.org/dist/java-repository,http://dist.codehaus.org,http://www.ibiblio.org/maven,http://cvs.apache.org/repository/,http://mirrors.sunsite.dk/maven/
+maven.repo.remote=http://www.apache.org/dist/java-repository,http://dist.codehaus.org,http://www.ibiblio.org/maven,http://cvs.apache.org/repository/,http://mirrors.sunsite.dk/maven/,,http://www.openejb.org/maven
 maven.xdoc.date=left
 maven.xdoc.version=${pom.currentVersion}