File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 609
609
<bnd ><![CDATA[
610
610
Bundle-SymbolicName: org.apache.${replacestring;${project.artifactId};-;.}
611
611
Automatic-Module-Name: ${Bundle-SymbolicName}
612
- # Export packages not containing the substring 'internal'
612
+ # Export packages, but don't re-import own packages
613
613
-exportcontents: \
614
- *.impl.*;x-internal:=true, \
615
- *.internal.*;x-internal:=true, \
616
- *
614
+ *.impl.*;x-internal:=true;-noimport:=true , \
615
+ *.internal.*;x-internal:=true;-noimport:=true , \
616
+ *;-noimport:=true
617
617
# Ensure all maven-resolver packages of exactly the same version are imported
618
618
# and mark optional Maven dependencies as optional.
619
619
mavenResolverVersion=${versionmask;===;${version_cleanup;${project.version}}}
620
620
Import-Package: \
621
621
org.eclipse.aether*;version="${range;[===,===];${mavenResolverVersion}}", \
622
622
javax.inject*;resolution:=optional, \
623
623
*
624
- # No re-import of exported packages
625
- -noimport:=true
626
624
# Reproducible build
627
625
-noextraheaders: true
628
626
${bnd.instructions.additions}
You can’t perform that action at this time.
0 commit comments