Export only proper OSGI packages
- Do not generate "uses" OSGI clauses
This commit is contained in:
parent
3f1f7ca4cf
commit
1eedb2111d
@ -34,7 +34,7 @@
|
||||
|
||||
Name: %{parent}-%{subname}
|
||||
Version: 2.4
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
Summary: Plexus Classworlds Classloader Framework
|
||||
License: ASL 2.0 and Plexus
|
||||
Group: Development/Libraries
|
||||
@ -101,7 +101,8 @@ sed -i 's:<groupId>ant</groupId>:<groupId>org.apache.ant</groupId>:' pom.xml
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<instructions>
|
||||
<Export-Package>*</Export-Package>
|
||||
<_nouses>true</_nouses>
|
||||
<Export-Package>org.codehaus.classworlds.*;org.codehaus.plexus.classworlds.*</Export-Package>
|
||||
</instructions>
|
||||
</configuration>
|
||||
</plugin>"
|
||||
@ -133,6 +134,10 @@ cp -pr target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
||||
%doc %{_javadocdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Tue Aug 7 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.4-7
|
||||
- Export only proper OSGI packages
|
||||
- Do not generate "uses" OSGI clauses
|
||||
|
||||
* Mon Aug 06 2012 Gerard Ryan <galileo@fedoraproject.org> - 2.4-6
|
||||
- Generate OSGI info using maven-plugin-bundle
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user