You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-commits@ws.apache.org by wi...@apache.org on 2005/09/29 18:45:39 UTC
svn commit: r292467 - in /webservices/muse/trunk/client: maven.xml
project.properties
Author: wire
Date: Thu Sep 29 09:45:36 2005
New Revision: 292467
URL: http://svn.apache.org/viewcvs?rev=292467&view=rev
Log:
Added pre goal to copy all jars to the web app before unit test are run.
Modified:
webservices/muse/trunk/client/maven.xml
webservices/muse/trunk/client/project.properties
Modified: webservices/muse/trunk/client/maven.xml
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/client/maven.xml?rev=292467&r1=292466&r2=292467&view=diff
==============================================================================
--- webservices/muse/trunk/client/maven.xml (original)
+++ webservices/muse/trunk/client/maven.xml Thu Sep 29 09:45:36 2005
@@ -32,6 +32,17 @@
<attainGoal name="copy.dep" />
</postGoal>
+ <preGoal name="test:test-resources">
+ <attainGoal name="test.prep" />
+ </preGoal>
+
+ <goal name="test.prep" description="copy dependencies to unit test web app.">
+ <j:forEach var="dep" items="${pom.dependencies}">
+ <copy file="${pom.getDependencyPath(dep.getId())}"
+ todir="${unit.test.webapp}/WEB-INF/lib"/>
+ </j:forEach>
+ </goal>
+
<goal name="copy.dep" description="copy dependencies">
<j:forEach var="dep" items="${pom.dependencies}">
<copy file="${pom.getDependencyPath(dep.getId())}"
Modified: webservices/muse/trunk/client/project.properties
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/client/project.properties?rev=292467&r1=292466&r2=292467&view=diff
==============================================================================
--- webservices/muse/trunk/client/project.properties (original)
+++ webservices/muse/trunk/client/project.properties Thu Sep 29 09:45:36 2005
@@ -3,7 +3,7 @@
# either by defining a build.properties file with the overriden properties
# or by passing them on the command line as system parameters (-D).
# -----------------------------------------------------------------------------
-
+unit.test.webapp=${basedir}/src/axis
# MAVEN CORE
##############
# URL of JAR repository