[maven-dependency-plugin] Fix test case to expect new classworlds

Stanislav Ochotnicky sochotni at fedoraproject.org
Tue Sep 7 08:25:23 UTC 2010


commit f45e8a1ee516c20e0d5c18b1625e27890f1d924c
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date:   Tue Sep 7 10:25:21 2010 +0200

    Fix test case to expect new classworlds

 maven-dependency-plugin.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/maven-dependency-plugin.spec b/maven-dependency-plugin.spec
index 5e52de2..c084c5f 100644
--- a/maven-dependency-plugin.spec
+++ b/maven-dependency-plugin.spec
@@ -1,6 +1,6 @@
 Name:           maven-dependency-plugin
 Version:        2.2
-Release:        0.2.svn949573%{?dist}
+Release:        0.3.svn949573%{?dist}
 Summary:        Plugin to manipulate, copy and unpack local and remote artifacts
 
 Group:          Development/Libraries
@@ -60,6 +60,11 @@ Requires:       jpackage-utils
 %prep
 %setup -q #You may need to update this according to your Source0
 
+# we have newer classworlds in Fedora, so fix test case
+sed -i \
+    's:org.codehaus.classworlds.ClassRealm:org.codehaus.plexus.classworlds.realm.ClassRealm:' \
+    src/test/java/org/apache/maven/plugin/dependency/its/AbstractDependencyPluginITCase.java
+
 %build
 export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository
 # tests failures are ignored because they are failing in jpp mode
@@ -111,6 +116,9 @@ rm -rf %{buildroot}
 %{_javadocdir}/%{name}
 
 %changelog
+* Tue Sep  7 2010 Stanislav Ochotnicky <sochotnicky at redhat.com> - 2.2-0.3.svn949573
+- Fix test case to expect new classworlds
+
 * Tue Jun 15 2010 Alexander Kurtakov <akurtako at redhat.com> 2.2-0.2.svn949573
 - Add missing Requires.
 


More information about the scm-commits mailing list