Fix test case to expect new classworlds

This commit is contained in:
Stanislav Ochotnicky 2010-09-07 10:25:21 +02:00
parent 66a030ef0c
commit f45e8a1ee5

View File

@ -1,6 +1,6 @@
Name: maven-dependency-plugin Name: maven-dependency-plugin
Version: 2.2 Version: 2.2
Release: 0.2.svn949573%{?dist} Release: 0.3.svn949573%{?dist}
Summary: Plugin to manipulate, copy and unpack local and remote artifacts Summary: Plugin to manipulate, copy and unpack local and remote artifacts
Group: Development/Libraries Group: Development/Libraries
@ -60,6 +60,11 @@ Requires: jpackage-utils
%prep %prep
%setup -q #You may need to update this according to your Source0 %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 %build
export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository
# tests failures are ignored because they are failing in jpp mode # tests failures are ignored because they are failing in jpp mode
@ -111,6 +116,9 @@ rm -rf %{buildroot}
%{_javadocdir}/%{name} %{_javadocdir}/%{name}
%changelog %changelog
* Tue Sep 7 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.2-0.3.svn949573
- Fix test case to expect new classworlds
* Tue Jun 15 2010 Alexander Kurtakov <akurtako@redhat.com> 2.2-0.2.svn949573 * Tue Jun 15 2010 Alexander Kurtakov <akurtako@redhat.com> 2.2-0.2.svn949573
- Add missing Requires. - Add missing Requires.