Bundled maven sources readded (they seem to change the behaviour)
This commit is contained in:
parent
dbdbc56be8
commit
a046e04f7e
15
maven-bundle-plugin-manageArtifactSystemPath.patch
Normal file
15
maven-bundle-plugin-manageArtifactSystemPath.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
diff -Naur maven-bundle-plugin-2.3.6.orig/src/main/java/org/apache/maven/shared/dependency/tree/DependencyTreeResolutionListener.java maven-bundle-plugin-2.3.6/src/main/java/org/apache/maven/shared/dependency/tree/DependencyTreeResolutionListener.java
|
||||||
|
--- maven-bundle-plugin-2.3.6.orig/src/main/java/org/apache/maven/shared/dependency/tree/DependencyTreeResolutionListener.java 2011-11-28 18:19:31.000000000 +0100
|
||||||
|
+++ maven-bundle-plugin-2.3.6/src/main/java/org/apache/maven/shared/dependency/tree/DependencyTreeResolutionListener.java 2012-01-19 18:25:28.684576614 +0100
|
||||||
|
@@ -575,4 +575,11 @@
|
||||||
|
{
|
||||||
|
return artifact.getDependencyConflictId() + ":" + artifact.getVersionRange();
|
||||||
|
}
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+ public void manageArtifactSystemPath( Artifact artifact, Artifact replacement )
|
||||||
|
+ {
|
||||||
|
+ throw new UnsupportedOperationException();
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
}
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: maven-plugin-bundle
|
Name: maven-plugin-bundle
|
||||||
Version: 2.3.6
|
Version: 2.3.6
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Maven Bundle Plugin
|
Summary: Maven Bundle Plugin
|
||||||
|
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
@ -10,8 +10,9 @@ License: ASL 2.0
|
|||||||
URL: http://felix.apache.org
|
URL: http://felix.apache.org
|
||||||
Source0: http://apache.tradebit.com/pub/felix/%{site_name}-%{version}-source-release.tar.gz
|
Source0: http://apache.tradebit.com/pub/felix/%{site_name}-%{version}-source-release.tar.gz
|
||||||
|
|
||||||
Patch0: %{site_name}-unbundling.patch
|
#Patch0: %{site_name}-unbundling.patch
|
||||||
Patch1: %{site_name}-unreported-exception.patch
|
Patch1: %{site_name}-unreported-exception.patch
|
||||||
|
Patch2: %{site_name}-manageArtifactSystemPath.patch
|
||||||
|
|
||||||
BuildRequires: aqute-bndlib >= 1.50.0
|
BuildRequires: aqute-bndlib >= 1.50.0
|
||||||
BuildRequires: plexus-utils >= 1.4.5
|
BuildRequires: plexus-utils >= 1.4.5
|
||||||
@ -66,11 +67,12 @@ API documentation for %{name}.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{site_name}-%{version}
|
%setup -q -n %{site_name}-%{version}
|
||||||
|
|
||||||
%patch0 -p1
|
#%%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
%patch2 -p1
|
||||||
|
|
||||||
# remove bundled stuff
|
# remove bundled stuff
|
||||||
rm -rf src/main/java/org/apache/maven
|
#rm -rf src/main/java/org/apache/maven
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# tests can't be built (seems like a MavenProjectStub incompatibility with MavenProject)
|
# tests can't be built (seems like a MavenProjectStub incompatibility with MavenProject)
|
||||||
@ -103,6 +105,9 @@ rm -rf target/site/api*
|
|||||||
%{_javadocdir}/%{name}
|
%{_javadocdir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 19 2012 Jaromir Capik <jcapik@redhat.com> 2.3.6-3
|
||||||
|
- Bundled maven sources readded (they seem to change the behaviour)
|
||||||
|
|
||||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.6-2
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.6-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user