Fixed dependency on plexus-container-default
This commit is contained in:
parent
9be83885c5
commit
d69b8227cd
29
maven-resources-plugin-plexus-dep.patch
Normal file
29
maven-resources-plugin-plexus-dep.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
diff --git a/pom.xml b/pom.xml
|
||||||
|
index f74aea0..5bb5ce2 100644
|
||||||
|
--- a/pom.xml
|
||||||
|
+++ b/pom.xml
|
||||||
|
@@ -65,6 +65,11 @@ under the License.
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
+ <groupId>org.codehaus.plexus</groupId>
|
||||||
|
+ <artifactId>plexus-container-default</artifactId>
|
||||||
|
+ <version>1.0-alpha-9-stable-1</version>
|
||||||
|
+ </dependency>
|
||||||
|
+ <dependency>
|
||||||
|
<groupId>org.apache.maven</groupId>
|
||||||
|
<artifactId>maven-plugin-api</artifactId>
|
||||||
|
<version>${mavenVersion}</version>
|
||||||
|
@@ -102,12 +107,6 @@ under the License.
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.codehaus.plexus</groupId>
|
||||||
|
- <artifactId>plexus-container-default</artifactId>
|
||||||
|
- <version>1.0-alpha-9-stable-1</version>
|
||||||
|
- </dependency>
|
||||||
|
-
|
||||||
|
- <dependency>
|
||||||
|
- <groupId>org.codehaus.plexus</groupId>
|
||||||
|
<artifactId>plexus-utils</artifactId>
|
||||||
|
<version>2.0.5</version>
|
||||||
|
</dependency>
|
@ -1,6 +1,6 @@
|
|||||||
Name: maven-resources-plugin
|
Name: maven-resources-plugin
|
||||||
Version: 2.5
|
Version: 2.5
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Maven Resources Plugin
|
Summary: Maven Resources Plugin
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -10,6 +10,10 @@ URL: http://maven.apache.org/plugins/maven-resources-plugin
|
|||||||
#tar zcf maven-resources-plugin-2.5.tar.gz maven-resources-plugin-2.5/
|
#tar zcf maven-resources-plugin-2.5.tar.gz maven-resources-plugin-2.5/
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
# Relocation of plexus-container-default is necessary as sisu gets to the
|
||||||
|
# classpath first and uses an old version of a class from container-default
|
||||||
|
Patch0: %{name}-plexus-dep.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: java-devel >= 1:1.6.0
|
BuildRequires: java-devel >= 1:1.6.0
|
||||||
@ -61,6 +65,7 @@ API documentation for %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mvn-rpmbuild \
|
mvn-rpmbuild \
|
||||||
@ -92,6 +97,9 @@ cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
|
|||||||
%{_javadocdir}/%{name}
|
%{_javadocdir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 06 2011 Tomas Radej <tradej@redhat.com> - 2.5-4
|
||||||
|
- Fixed dependency on plexus-container-default
|
||||||
|
|
||||||
* Tue Aug 30 2011 Tomas Radej <tradej@redhat.com> - 2.5-3
|
* Tue Aug 30 2011 Tomas Radej <tradej@redhat.com> - 2.5-3
|
||||||
- Added changelog
|
- Added changelog
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user