You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ah...@apache.org on 2005/10/08 22:02:53 UTC
svn commit: r307325 - in /maven/maven-1/plugins/trunk/ant/src/plugin-test:
maven.xml project.xml
Author: aheritier
Date: Sat Oct 8 13:02:48 2005
New Revision: 307325
URL: http://svn.apache.org/viewcvs?rev=307325&view=rev
Log:
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.
Modified:
maven/maven-1/plugins/trunk/ant/src/plugin-test/maven.xml
maven/maven-1/plugins/trunk/ant/src/plugin-test/project.xml
Modified: maven/maven-1/plugins/trunk/ant/src/plugin-test/maven.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/ant/src/plugin-test/maven.xml?rev=307325&r1=307324&r2=307325&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/ant/src/plugin-test/maven.xml (original)
+++ maven/maven-1/plugins/trunk/ant/src/plugin-test/maven.xml Sat Oct 8 13:02:48 2005
@@ -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 -->
Modified: maven/maven-1/plugins/trunk/ant/src/plugin-test/project.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/ant/src/plugin-test/project.xml?rev=307325&r1=307324&r2=307325&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/ant/src/plugin-test/project.xml (original)
+++ maven/maven-1/plugins/trunk/ant/src/plugin-test/project.xml Sat Oct 8 13:02:48 2005
@@ -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>