You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by di...@apache.org on 2003/09/23 16:56:56 UTC
cvs commit: maven/src/plugins-build/war/src/plugin-test maven.xml project.xml
dion 2003/09/23 07:56:56
Modified: src/plugins-build/war/src/plugin-test maven.xml project.xml
Log:
Test versionless war is created
Test dependent jar is copied to web-inf/lib
Revision Changes Path
1.2 +10 -4 maven/src/plugins-build/war/src/plugin-test/maven.xml
Index: maven.xml
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/war/src/plugin-test/maven.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- maven.xml 23 Sep 2003 14:46:05 -0000 1.1
+++ maven.xml 23 Sep 2003 14:56:56 -0000 1.2
@@ -7,13 +7,19 @@
<goal name="test-war">
<attainGoal name="war"/>
-<!-- <j:set var="expectedFile"
- value="${maven.build.dir}/test-maven-ear-plugin-1.0-SNAPSHOT.ear"/>
- <attainGoal name="ear"/>
+ <j:set var="expectedFile"
+ value="${maven.build.dir}/test-maven-war-plugin.war"/>
<u:file var="file" name="${expectedFile}" />
<j:if test="${!(file.exists())}">
<fail>${expectedFile} not generated</fail>
</j:if>
--->
+
+ <j:set var="expectedFile"
+ value="${maven.build.dir}/test-maven-war-plugin/WEB-INF/lib/commons-logging-1.0.3.jar"/>
+ <u:file var="file" name="${expectedFile}" />
+ <j:if test="${!(file.exists())}">
+ <fail>${expectedFile} not generated</fail>
+ </j:if>
+
</goal>
</project>
1.2 +1 -1 maven/src/plugins-build/war/src/plugin-test/project.xml
Index: project.xml
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/war/src/plugin-test/project.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- project.xml 23 Sep 2003 14:46:05 -0000 1.1
+++ project.xml 23 Sep 2003 14:56:56 -0000 1.2
@@ -8,7 +8,7 @@
<id>test-maven-war-plugin</id>
<!-- a short but descriptive name for the project -->
- <name>Test Maven War Plugin</name>
+ <name>Test project for Maven War Plugin</name>
<!-- The version of the project under development, e.g.
1.1, 1.2, 2.0-dev -->
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org