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:
parent
24d79b2485
commit
9d43f9e62c
@ -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"/>
|
||||
|
||||
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user