felipeal 2004/11/11 18:10:32 Modified: ear/src/plugin-test/test02 maven.xml project.xml Log: MPEAR-20: add test that checks if a dependency without the new property is set correctly Revision Changes Path 1.2 +2 -2 maven-plugins/ear/src/plugin-test/test02/maven.xml Index: maven.xml =================================================================== RCS file: /home/cvs/maven-plugins/ear/src/plugin-test/test02/maven.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- maven.xml 11 Nov 2004 03:28:41 -0000 1.1 +++ maven.xml 12 Nov 2004 02:10:32 -0000 1.2 @@ -40,8 +40,8 @@ <assert:assertFileExists file="${unzipDir}/APP-INF/lib/commons-logging-1.0.3.jar" msg="commons logging was not bundled"/> - <!-- check that commons-collections has not been packaged --> - <assert:assertFileNotFound file="${unzipDir}/APP-INF/lib/commons-collections-2.1.jar" + <!-- check that commons-collections has been packaged in the right place--> + <assert:assertFileExists file="${unzipDir}/commons-collections-2.1.jar" msg="commons collections was bundled incorrectly"/> 1.2 +9 -2 maven-plugins/ear/src/plugin-test/test02/project.xml Index: project.xml =================================================================== RCS file: /home/cvs/maven-plugins/ear/src/plugin-test/test02/project.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- project.xml 11 Nov 2004 03:28:41 -0000 1.1 +++ project.xml 12 Nov 2004 02:10:32 -0000 1.2 @@ -45,10 +45,17 @@ <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.0.3</version> - <url>http://jakarta.apache.org/commons/logging.html</url> <properties> - <ear.bundle>true</ear.bundle> <ear.target.path>APP-INF/lib</ear.target.path> + <ear.module>true</ear.module> + </properties> + </dependency> + <dependency> + <groupId>commons-collections</groupId> + <artifactId>commons-collections</artifactId> + <version>2.1</version> + <properties> + <ear.bundle>true</ear.bundle> </properties> </dependency> </dependencies>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]