MPEAR-20: add test that checks if a dependency without the new property is set correctly

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@116228 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
felipeal 2004-11-12 02:10:32 +00:00
parent 24d79b2485
commit 9d43f9e62c
2 changed files with 11 additions and 4 deletions

View File

@ -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"/>

View File

@ -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.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>
<ear.target.path>APP-INF/lib</ear.target.path>
</properties>
</dependency>
</dependencies>