Allow OSGi metadata to export all packages including internal ones

This commit is contained in:
Mat Booth 2017-08-23 11:40:12 +01:00
parent 2fd71df84c
commit 98433eb471
2 changed files with 6 additions and 2 deletions

View File

@ -172,9 +172,10 @@
<configuration> <configuration>
<instructions> <instructions>
<_versionpolicy>$(@)</_versionpolicy> <_versionpolicy>$(@)</_versionpolicy>
<Export-Package>com.beust.testng,org.testng*</Export-Package>
<Import-Package> <Import-Package>
com.beust.jcommander.*;version="[1.7.0,3.0.0)",
bsh.*;version="[2.0.0,3.0.0)";resolution:=optional, bsh.*;version="[2.0.0,3.0.0)";resolution:=optional,
com.beust.jcommander.*;version="[1.7.0,3.0.0)";resolution:=optional,
com.google.inject.*;version="[1.2,1.3)";resolution:=optional, com.google.inject.*;version="[1.2,1.3)";resolution:=optional,
junit.framework;version="[3.8.1, 5.0.0)";resolution:=optional, junit.framework;version="[3.8.1, 5.0.0)";resolution:=optional,
org.junit.*;resolution:=optional, org.junit.*;resolution:=optional,

View File

@ -2,7 +2,7 @@
Name: testng Name: testng
Version: 6.12 Version: 6.12
Release: 1%{?dist} Release: 2%{?dist}
Summary: Java-based testing framework Summary: Java-based testing framework
License: ASL 2.0 License: ASL 2.0
URL: http://testng.org/ URL: http://testng.org/
@ -98,6 +98,9 @@ cp -p ./src/main/java/*.dtd.html ./src/main/resources/.
%license LICENSE.txt %license LICENSE.txt
%changelog %changelog
* Wed Aug 23 2017 Mat Booth <mat.booth@redhat.com> - 6.12-2
- Allow OSGi metadata to export all packages including internal ones
* Fri Jul 28 2017 Mat Booth <mat.booth@redhat.com> - 6.12-1 * Fri Jul 28 2017 Mat Booth <mat.booth@redhat.com> - 6.12-1
- Update to latest release of testng - Update to latest release of testng
- Fixes classloading from ant rhbz#1475842 - Fixes classloading from ant rhbz#1475842