[maven-archetype] Export only proper OSGI packages
Stanislav Ochotnicky
sochotni at fedoraproject.org
Tue Aug 7 08:53:00 UTC 2012
commit ca76c79054ae8d4356cb75148ed05d8c7789568e
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date: Tue Aug 7 10:52:15 2012 +0200
Export only proper OSGI packages
- Do not generate "uses" OSGI clauses
maven-archetype.spec | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/maven-archetype.spec b/maven-archetype.spec
index f8dd6bf..c5eb7b2 100644
--- a/maven-archetype.spec
+++ b/maven-archetype.spec
@@ -1,6 +1,6 @@
Name: maven-archetype
Version: 2.1
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Maven project templating toolkit
Group: Development/Libraries
@@ -162,7 +162,8 @@ pushd archetype-models/archetype-catalog
<extensions>true</extensions>
<configuration>
<instructions>
- <Export-Package>*</Export-Package>
+ <_nouses>true</_nouses>
+ <Export-Package>org.apache.maven.archetype.catalog.*</Export-Package>
</instructions>
</configuration>
</plugin>"
@@ -268,6 +269,10 @@ cp -rp target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}/
%{_javadir}/%{name}/plugin.jar
%changelog
+* Tue Aug 7 2012 Stanislav Ochotnicky <sochotnicky at redhat.com> - 2.1-6
+- Export only proper OSGI packages
+- Do not generate "uses" OSGI clauses
+
* Mon Aug 06 2012 Gerard Ryan <galileo at fedoraproject.org> - 2.1-5
- Fix jetty namespace
- Add OSGI info to catalog.jar
More information about the scm-commits
mailing list