Remove workaround for incompatible plexus-utils

This commit is contained in:
Mikolaj Izdebski 2013-08-09 12:33:37 +02:00
parent 0d2c6565d5
commit c58adef3dc

View File

@ -2,7 +2,7 @@
Name: maven Name: maven
Version: 3.1.0 Version: 3.1.0
Release: 3%{?dist} Release: 4%{?dist}
Summary: Java project management and project comprehension tool Summary: Java project management and project comprehension tool
Group: Development/Tools Group: Development/Tools
@ -60,7 +60,7 @@ BuildRequires: plexus-containers-component-metadata >= 1.5.5
BuildRequires: plexus-containers-container-default BuildRequires: plexus-containers-container-default
BuildRequires: plexus-interpolation BuildRequires: plexus-interpolation
BuildRequires: plexus-sec-dispatcher BuildRequires: plexus-sec-dispatcher
BuildRequires: plexus-utils BuildRequires: plexus-utils >= 3.0.10
BuildRequires: sisu-inject >= 1:0 BuildRequires: sisu-inject >= 1:0
BuildRequires: sisu-plexus >= 1:0 BuildRequires: sisu-plexus >= 1:0
BuildRequires: slf4j BuildRequires: slf4j
@ -124,11 +124,6 @@ sed -i -e s:'-classpath "${M2_HOME}"/boot/plexus-classworlds-\*.jar':'-classpath
%pom_add_dep cglib:cglib:any:test maven-model-builder %pom_add_dep cglib:cglib:any:test maven-model-builder
# Fix test failures caused by incompatible version of plexus-utils
# (rhbz#987316).
sed -i 's/" 1.5 "/&.trim()/' `find -name DefaultModelBuilderFactoryTest.java`
sed -i 's/" preserve space "/&.trim()/' `find -name PomConstructionTest.java`
%build %build
# Put all JARs in standard location, but create symlinks in Maven lib # Put all JARs in standard location, but create symlinks in Maven lib
# directory so that Plexus Classworlds can find them. # directory so that Plexus Classworlds can find them.
@ -226,6 +221,9 @@ ln -sf $(build-classpath plexus/classworlds) \
%changelog %changelog
* Fri Aug 9 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1.0-4
- Remove workaround for incompatible plexus-utils
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.0-3 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild