Update to 2.3.6

This commit is contained in:
Jaromir Capik 2011-12-21 16:34:55 +01:00
parent 5120c7cb09
commit c403601628
4 changed files with 12 additions and 30 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
maven-bundle-plugin-2.0.0-project.tar.gz
/maven-bundle-plugin-2.3.5-source-release.tar.gz
/maven-bundle-plugin-2.3.6-source-release.tar.gz

View File

@ -1,22 +0,0 @@
diff -Naur maven-bundle-plugin-2.3.5.orig/src/main/java/org/apache/felix/bundleplugin/BundleAllPlugin.java maven-bundle-plugin-2.3.5/src/main/java/org/apache/felix/bundleplugin/BundleAllPlugin.java
--- maven-bundle-plugin-2.3.5.orig/src/main/java/org/apache/felix/bundleplugin/BundleAllPlugin.java 2011-07-05 13:56:06.000000000 +0200
+++ maven-bundle-plugin-2.3.5/src/main/java/org/apache/felix/bundleplugin/BundleAllPlugin.java 2011-10-26 13:11:10.904188217 +0200
@@ -271,14 +271,14 @@
childProject.setDependencyArtifacts( childProject.createArtifacts( m_factory, null, null ) );
}
}
- catch ( ProjectBuildingException e )
- {
- throw new MojoExecutionException( "Unable to build project object for artifact " + artifact, e );
- }
catch ( InvalidDependencyVersionException e )
{
throw new MojoExecutionException( "Invalid dependency version for artifact " + artifact );
}
+ catch ( ProjectBuildingException e )
+ {
+ throw new MojoExecutionException( "Unable to build project object for artifact " + artifact, e );
+ }
childProject.setArtifact( artifact );
getLog().debug( "Child project artifact location: " + childProject.getArtifact().getFile() );

View File

@ -1,8 +1,8 @@
%global site_name maven-bundle-plugin
Name: maven-plugin-bundle
Version: 2.3.5
Release: 3%{?dist}
Version: 2.3.6
Release: 1%{?dist}
Summary: Maven Bundle Plugin
Group: Development/Tools
@ -11,10 +11,9 @@ URL: http://felix.apache.org
Source0: http://apache.tradebit.com/pub/felix/%{site_name}-%{version}-source-release.tar.gz
Patch0: %{site_name}-unbundling.patch
Patch1: %{site_name}-exception-already-thrown.patch
Patch2: %{site_name}-unreported-exception.patch
Patch1: %{site_name}-unreported-exception.patch
BuildRequires: aqute-bndlib >= 1.43.0-2
BuildRequires: aqute-bndlib >= 1.50.0
BuildRequires: plexus-utils >= 1.4.5
BuildRequires: felix-osgi-obr
BuildRequires: kxml
@ -34,7 +33,7 @@ BuildRequires: maven-shared-osgi
BuildRequires: felix-parent
BuildRequires: felix-bundlerepository
Requires: aqute-bndlib >= 1.43.0-2
Requires: aqute-bndlib >= 1.50.0
Requires: plexus-utils >= 1.4.5
Requires: felix-osgi-obr
Requires: kxml
@ -69,7 +68,6 @@ API documentation for %{name}.
%patch0 -p1
%patch1 -p1
%patch2 -p1
# remove bundled stuff
rm -rf src/main/java/org/apache/maven
@ -95,14 +93,19 @@ rm -rf target/site/api*
%add_maven_depmap JPP-%{name}.pom %{name}.jar
%files
%doc LICENSE NOTICE DEPENDENCIES
%{_javadir}/%{name}.jar
%{_mavenpomdir}/JPP-%{name}.pom
%{_mavendepmapfragdir}/%{name}
%files javadoc
%doc LICENSE
%{_javadocdir}/%{name}
%changelog
* Wed Dec 21 2011 Jaromir Capik <jcapik@redhat.com> 2.3.6-1
- Update to 2.3.6
* Mon Dec 19 2011 Jaromir Capik <jcapik@redhat.com> 2.3.5-3
- Minimal aqute-bndlib VR set to 1.43.0-2 (older ones are broken)

View File

@ -1 +1 @@
051b3096fa2a5ab98320b61b27cf38b3 maven-bundle-plugin-2.3.5-source-release.tar.gz
dfcff705fd35b5a96d95752134d9c493 maven-bundle-plugin-2.3.6-source-release.tar.gz