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:
@@ -40,8 +40,8 @@
|
|||||||
<assert:assertFileExists file="${unzipDir}/APP-INF/lib/commons-logging-1.0.3.jar"
|
<assert:assertFileExists file="${unzipDir}/APP-INF/lib/commons-logging-1.0.3.jar"
|
||||||
msg="commons logging was not bundled"/>
|
msg="commons logging was not bundled"/>
|
||||||
|
|
||||||
<!-- check that commons-collections has not been packaged -->
|
<!-- check that commons-collections has been packaged in the right place-->
|
||||||
<assert:assertFileNotFound file="${unzipDir}/APP-INF/lib/commons-collections-2.1.jar"
|
<assert:assertFileExists file="${unzipDir}/commons-collections-2.1.jar"
|
||||||
msg="commons collections was bundled incorrectly"/>
|
msg="commons collections was bundled incorrectly"/>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -45,10 +45,17 @@
|
|||||||
<groupId>commons-logging</groupId>
|
<groupId>commons-logging</groupId>
|
||||||
<artifactId>commons-logging</artifactId>
|
<artifactId>commons-logging</artifactId>
|
||||||
<version>1.0.3</version>
|
<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>
|
<properties>
|
||||||
<ear.bundle>true</ear.bundle>
|
<ear.bundle>true</ear.bundle>
|
||||||
<ear.target.path>APP-INF/lib</ear.target.path>
|
|
||||||
</properties>
|
</properties>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|||||||
Reference in New Issue
Block a user