Don't maven-jaxb-plugin in tests because it requires jaxb jars which aren't available on ibiblio (due to sun licence)
Replace maven-jaxb-plugin by commons-logging to test that the dependency is correctly downloaded. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@307325 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
<assert:assertEquals expected="$${basedir}/target" value="${defaulttargetdirValue}" msg="defaulttargetdir property is not relative"/>
|
||||
<!-- check obey jar override -->
|
||||
<x:set var="countJarsDownload" select="count($buildXml/project/target[starts-with(@name,'get-dep')]/get)"/>
|
||||
<assert:assertEquals expected="2" value="${countJarsDownload.intValue().toString()}" msg="Should only download JUnit and maven-jaxb-plugin jars"/>
|
||||
<assert:assertEquals expected="2" value="${countJarsDownload.intValue().toString()}" msg="Should only download JUnit and commons-logging jars"/>
|
||||
<x:set var="countJarsCopy" select="count($buildXml/project/target[starts-with(@name,'get-dep')]/copy)"/>
|
||||
<assert:assertEquals expected="1" value="${countJarsCopy.intValue().toString()}" msg="Should only copy the activation jar"/>
|
||||
<!-- check test filesets -->
|
||||
|
||||
@@ -63,10 +63,10 @@
|
||||
</dependency>
|
||||
<!-- Used to test -->
|
||||
<dependency>
|
||||
<groupId>maven-plugins</groupId>
|
||||
<artifactId>maven-jaxb-plugin</artifactId>
|
||||
<version>1.0</version>
|
||||
<type>plugin</type>
|
||||
<groupId>commons-logging</groupId>
|
||||
<artifactId>commons-logging</artifactId>
|
||||
<version>1.0.3</version>
|
||||
<type>jar</type>
|
||||
<properties/>
|
||||
</dependency>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user