Skip to content

Commit

Permalink
[build] Ensure that the Import-Package headers are exactly as before …
Browse files Browse the repository at this point in the history
…the JDK11-related changes
  • Loading branch information
grgrzybek committed Jul 6, 2023
1 parent 4244d66 commit bcb7470
Show file tree
Hide file tree
Showing 13 changed files with 21 additions and 14 deletions.
2 changes: 1 addition & 1 deletion pax-url-aether/osgi.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Import-Package:\
javax.net.ssl,\
javax.xml.parsers,\
org.osgi.framework;version="[1.5,2)",\
org.osgi.service.cm; resolution:=optional,\
org.osgi.service.cm;version="[1.4,2)"; resolution:=optional,\
org.osgi.service.annotation*; resolution:=optional,\
org.osgi.util.tracker;version="[1.4,2)",\
!javax.servlet*,\
Expand Down
3 changes: 2 additions & 1 deletion pax-url-cache/osgi.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ Export-Service:\
org.osgi.service.url.URLStreamHandlerService; url.handler.protocol=cache

Import-Package:\
org.osgi.service.cm; resolution:=optional,\
org.osgi.framework;version="[1.6,2)",\
org.osgi.service.cm;version="[1.4,2)"; resolution:=optional,\
!org.slf4j.impl,\
*

Expand Down
3 changes: 2 additions & 1 deletion pax-url-classpath/osgi.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ Export-Service:\
org.osgi.service.url.URLStreamHandlerService; url.handler.protocol=classpath

Import-Package:\
org.osgi.service.cm; resolution:=optional,\
org.osgi.framework;version="[1.6,2)",\
org.osgi.service.cm;version="[1.4,2)"; resolution:=optional,\
!org.slf4j.impl,\
*

Expand Down
3 changes: 2 additions & 1 deletion pax-url-commons/osgi.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ Bundle-SymbolicName:\
${bundle.symbolicName}

Import-Package:\
org.osgi.service.cm;resolution:=optional,\
org.osgi.framework;version="[1.6,2)",\
org.osgi.service.cm;version="[1.4,2)";resolution:=optional,\
*

-removeheaders:\
Expand Down
2 changes: 1 addition & 1 deletion pax-url-dir/osgi.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Export-Service:\
org.osgi.service.url.URLStreamHandlerService; url.handler.protocol=dir

Import-Package:\
org.osgi.service.cm; resolution:=optional,\
org.osgi.service.cm;version="[1.4,2)"; resolution:=optional,\
aQute.service.scripting; resolution:=optional,\
javax.xml.parsers; resolution:=optional,\
org.osgi.service.log; resolution:=optional,\
Expand Down
3 changes: 2 additions & 1 deletion pax-url-link/osgi.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ Export-Service:\
org.osgi.service.url.URLStreamHandlerService; url.handler.protocol=link

Import-Package:\
org.osgi.service.cm; resolution:=optional,\
org.osgi.framework;version="[1.6,2)",\
org.osgi.service.cm;version="[1.4,2)"; resolution:=optional,\
!org.slf4j.impl,\
*

Expand Down
3 changes: 2 additions & 1 deletion pax-url-obr/osgi-uber.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ Export-Service:\
org.osgi.service.url.URLStreamHandlerService; url.handler.protocol=obr

Import-Package:\
org.osgi.framework;version="[1.6,2)",\
org.osgi.service.obr; version="0.0.0",\
org.osgi.service.cm; resolution:=optional,\
org.osgi.service.cm;version="[1.4,2)"; resolution:=optional,\
*

Export-Package:\
Expand Down
3 changes: 2 additions & 1 deletion pax-url-obr/osgi.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ Export-Service:\
org.osgi.service.url.URLStreamHandlerService; url.handler.protocol=obr

Import-Package:\
org.osgi.framework;version="[1.6,2)",\
org.osgi.service.obr; version="0.0.0",\
org.osgi.service.cm; resolution:=optional,\
org.osgi.service.cm;version="[1.4,2)"; resolution:=optional,\
*

Export-Package:\
Expand Down
1 change: 1 addition & 0 deletions pax-url-reference/osgi.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Export-Service:\
org.osgi.service.url.URLStreamHandlerService; url.handler.protocol=reference

Import-Package:\
org.osgi.framework;version="[1.6,2)",\
!org.slf4j.impl,\
*

Expand Down
4 changes: 2 additions & 2 deletions pax-url-war/osgi-uber.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ Export-Service:\
org.osgi.service.url.URLStreamHandlerService; url.handler.protocol=webbundle

Import-Package:\
org.osgi.service.component.annotations; resolution:=optional,\
org.osgi.service.cm; resolution:=optional,\
org.osgi.service.component.annotations;version="[1.2,2)"; resolution:=optional,\
org.osgi.service.cm;version="[1.4,2)"; resolution:=optional,\
org.osgi.service.repository; resolution:=optional,\
org.osgi.framework;version="[1.6,2)",\
org.osgi.util.function;version="[1.1,2)",\
Expand Down
2 changes: 1 addition & 1 deletion pax-url-war/osgi.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Import-Package:\
org.osgi.service.log; resolution:=optional,\
org.w3c.dom; resolution:=optional,\
org.xml.sax; resolution:=optional,\
org.osgi.service.cm; resolution:=optional,\
org.osgi.service.cm;version="[1.4,2)"; resolution:=optional,\
org.osgi.service.repository; resolution:=optional,\
org.osgi.framework;version="[1.6,2)",\
org.osgi.util.function;version="[1.1,2)",\
Expand Down
4 changes: 2 additions & 2 deletions pax-url-wrap/osgi-uber.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Export-Service:\
org.osgi.service.url.URLStreamHandlerService; url.handler.protocol=wrap

Import-Package:\
org.osgi.service.component.annotations; resolution:=optional,\
org.osgi.service.cm; resolution:=optional,\
org.osgi.service.component.annotations;version="[1.2,2)"; resolution:=optional,\
org.osgi.service.cm;version="[1.4,2)"; resolution:=optional,\
org.osgi.framework;version="[1.6,2)",\
!aQute.bnd,\
*
Expand Down
2 changes: 1 addition & 1 deletion pax-url-wrap/osgi.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Import-Package:\
org.osgi.service.log; resolution:=optional,\
org.w3c.dom; resolution:=optional,\
org.xml.sax; resolution:=optional,\
org.osgi.service.cm; resolution:=optional,\
org.osgi.service.cm;version="[1.4,2)"; resolution:=optional,\
!org.slf4j.impl,\
*

Expand Down

0 comments on commit bcb7470

Please sign in to comment.