Don't export foreign META-INF/services, export only what we declare preprocess
authorJaroslav Tulach <jaroslav.tulach@netbeans.org>
Thu, 30 Jan 2014 17:07:35 +0100
branchpreprocess
changeset 511780f66d8ed29
parent 510 1db285d9d38b
child 512 611e96a51f71
Don't export foreign META-INF/services, export only what we declare
pom.xml
     1.1 --- a/pom.xml	Thu Jan 30 16:46:14 2014 +0100
     1.2 +++ b/pom.xml	Thu Jan 30 17:07:35 2014 +0100
     1.3 @@ -134,7 +134,7 @@
     1.4                  <extensions>true</extensions>
     1.5                  <configuration>
     1.6                      <instructions>
     1.7 -                        <Export-Package>${publicPackages},META-INF.services.*</Export-Package>
     1.8 +                        <Export-Package>${publicPackages},META-INF.services.*;-noimport:=true;-split-package:=first</Export-Package>
     1.9                          <Bundle-SymbolicName>${bundleSymbolicName}</Bundle-SymbolicName>
    1.10                      </instructions>
    1.11                  </configuration>