Skip to content

Commit

Permalink
update osgi and felix to avoid module 'java.base does not "opens
Browse files Browse the repository at this point in the history
java.net"'

Signed-off-by: Stefan Bischof <[email protected]>
  • Loading branch information
stbischof committed Sep 2, 2024
1 parent f9933e5 commit 2c7be31
Show file tree
Hide file tree
Showing 16 changed files with 34 additions and 34 deletions.
4 changes: 1 addition & 3 deletions biz.aQute.aggregate.provider/test.bndrun
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
-runpath: slf4j.simple, slf4j.api
-resolve: cache
-runfw: org.apache.felix.framework;version='[6.0.2,6.0.2]'
-runfw: org.apache.felix.framework;version='[7.0.5,7.0.5]'
-runee: JavaSE-1.8
-runrequires: \
osgi.identity;filter:='(osgi.identity=org.apache.felix.scr)',\
osgi.identity;filter:='(osgi.identity=org.apache.felix.webconsole.plugins.scriptconsole)',\
osgi.identity;filter:='(osgi.identity=org.apache.felix.log)'
-runbundles: \
biz.aQute.gogo.commands.provider;version=snapshot,\
org.apache.commons.fileupload;version='[1.3.2,1.3.3)',\
org.apache.commons.io;version='[2.5.0,2.5.1)',\
org.apache.felix.configadmin;version='[1.9.12,1.9.13)',\
org.apache.felix.gogo.command;version='[1.1.0,1.1.1)',\
org.apache.felix.http.servlet-api;version='[1.1.2,1.1.3)',\
org.apache.felix.log;version='[1.2.4,1.2.5)',\
org.apache.felix.scr;version='[2.1.30,2.1.31)',\
Expand Down
2 changes: 1 addition & 1 deletion biz.aQute.aggregate.test/test.bndrun
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-runpath: slf4j.simple, slf4j.api
-resolve: cache
-runfw: org.apache.felix.framework;version='[6.0.2,6.0.2]'
-runfw: org.apache.felix.framework;version='[7.0.5,7.0.5]'
-runee: JavaSE-1.8
-runrequires: \
osgi.identity;filter:='(osgi.identity=org.apache.felix.scr)',\
Expand Down
2 changes: 1 addition & 1 deletion biz.aQute.gogo.commands.provider.test/play.bndrun
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
bnd.identity;id='org.apache.felix.log',\
bnd.identity;id='org.apache.felix.http.jetty',\
bnd.identity;id='biz.aQute.gogo.commands.provider.test'
-runfw: org.apache.felix.framework;version='[6.0.2,6.0.2]'
-runfw: org.apache.felix.framework;version='[7.0.5,7.0.5]'
-runee: JavaSE-1.8
-runbundles: \
biz.aQute.gogo.commands.provider;version=snapshot,\
Expand Down
2 changes: 1 addition & 1 deletion biz.aQute.gogo.commands.provider/bnd.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ DynamicImport-Package *
osgi.identity;filter:='(osgi.identity=biz.aQute.gogo.commands.provider)'
-runpath: biz.aQute.osgi.logger.forwarder

-runfw: org.apache.felix.framework;version='[6.0.2,6.0.2]'
-runfw: org.apache.felix.framework;version='[7.0.5,7.0.5]'
-runbundles: \
org.apache.felix.gogo.command;version='[1.1.0,1.1.1)',\
org.apache.felix.gogo.runtime;version='[1.1.2,1.1.3)',\
Expand Down
2 changes: 1 addition & 1 deletion biz.aQute.kibana/bnd.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
osgi.identity;filter:='(osgi.identity=org.apache.felix.webconsole.plugins.ds)',\
osgi.identity;filter:='(osgi.identity=org.apache.felix.http.jetty)',\
osgi.identity;filter:='(osgi.identity=org.apache.felix.metatype)'
-runfw: org.apache.felix.framework;version='[6.0.2,6.0.2]'
-runfw: org.apache.felix.framework;version='[7.0.5,7.0.5]'
-runee: JavaSE-1.8
-runbundles: \
biz.aQute.gogo.commands.provider;version=snapshot,\
Expand Down
5 changes: 3 additions & 2 deletions biz.aQute.mqtt.test/basic.bndrun
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
osgi.identity;filter:='(osgi.identity=org.apache.felix.configadmin)'

-runpath: slf4j.api, slf4j.simple
-runfw: org.apache.felix.framework;version='[6.0.2,6.0.2]'
-runfw: org.apache.felix.framework;version='[7.0.5,7.0.5]'
-runee: JavaSE-1.8
-runbundles: \
biz.aQute.api.broker;version=snapshot,\
Expand All @@ -13,5 +13,6 @@
org.osgi.util.function;version='[1.1.0,1.1.1)',\
org.osgi.util.promise;version='[1.1.1,1.1.2)',\
org.apache.felix.configadmin;version='[1.9.12,1.9.13)',\
org.apache.felix.scr;version='[2.1.30,2.1.31)'
org.apache.felix.scr;version='[2.1.30,2.1.31)',\
com.h2database;version='[1.4.198,1.4.199)'
-resolve: auto
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
@RunWith(LaunchpadRunner.class)
public class ConditionalTargetTest {

static LaunchpadBuilder builder = new LaunchpadBuilder().runfw("org.apache.felix.framework;version=6")
static LaunchpadBuilder builder = new LaunchpadBuilder().runfw("org.apache.felix.framework;version=7")
.bundles(
"org.osgi.util.promise, org.osgi.util.function, org.apache.felix.scr,org.apache.felix.log,org.apache.felix.configadmin, slf4j.api, slf4j.simple, org.assertj.core, org.awaitility, osgi.enroute.hamcrest.wrapper")
.debug();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
@SuppressWarnings("rawtypes")
public class SimpleTest {

static LaunchpadBuilder builder = new LaunchpadBuilder().snapshot().runfw("org.apache.felix.framework;version=6")
static LaunchpadBuilder builder = new LaunchpadBuilder().snapshot()
.runfw("org.apache.felix.framework;version=")
.bundles(
"org.osgi.util.promise, org.osgi.util.function, org.apache.felix.scr,org.apache.felix.log,org.apache.felix.configadmin, slf4j.api, slf4j.simple, org.assertj.core, org.awaitility, osgi.enroute.hamcrest.wrapper")
.debug();
Expand Down
2 changes: 1 addition & 1 deletion biz.aQute.osgi.diverse.util/test.bndrun
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-runpath: slf4j.simple, slf4j.api
-resolve: cache
-runfw: org.apache.felix.framework;version='[6.0.2,6.0.2]'
-runfw: org.apache.felix.framework;version='[7.0.5,7.0.5]'
-runee: JavaSE-1.8
-runrequires: \
osgi.identity;filter:='(osgi.identity=biz.aQute.gogo.commands.provider)',\
Expand Down
2 changes: 1 addition & 1 deletion biz.aQute.osgi.jna.support.test/bnd.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

-runsystemcapabilities: ${native_capability}

-runfw: org.apache.felix.framework;version='[6.0.2,6.0.2]'
-runfw: org.apache.felix.framework;version='[7.0.5,7.0.5]'

-runproperties: \
jna.debug_load=true, \
Expand Down
2 changes: 1 addition & 1 deletion biz.aQute.osgi.logger.forwarder/try.bndrun
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
osgi.identity;filter:='(osgi.identity=org.apache.felix.http.jetty)',\
osgi.identity;filter:='(osgi.identity=org.apache.felix.metatype)',\
osgi.identity;filter:='(osgi.identity=org.apache.felix.log)'
-runfw: org.apache.felix.framework;version='[6.0.2,6.0.2]'
-runfw: org.apache.felix.framework;version='[7.0.5,7.0.5]'
-runbundles: \
org.apache.commons.fileupload;version='[1.3.2,1.3.3)',\
org.apache.commons.io;version='[2.5.0,2.5.1)',\
Expand Down
2 changes: 1 addition & 1 deletion biz.aQute.osgi.spy.runpath/test.bndrun
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
-runrequires: \
osgi.identity;filter:='(osgi.identity=org.apache.felix.gogo.command)',\
osgi.identity;filter:='(osgi.identity=org.apache.felix.gogo.shell)'
-runfw: org.apache.felix.framework;version='[6.0.2,6.0.2]'
-runfw: org.apache.felix.framework;version='[7.0.5,7.0.5]'
-runee: JavaSE-1.8

-runbundles: \
Expand Down
2 changes: 1 addition & 1 deletion biz.aQute.scheduler.basic.provider/test.bndrun
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-runpath: slf4j.api
-runrequires: osgi.identity;filter:='(osgi.identity=biz.aQute.scheduler.basic.provider)'
-runfw: org.apache.felix.framework;version='[6.0.2,6.0.2]'
-runfw: org.apache.felix.framework;version='[7.0.5,7.0.5]'
-runee: JavaSE-1.8
-runbundles: \
biz.aQute.api.scheduler;version=snapshot,\
Expand Down
2 changes: 1 addition & 1 deletion biz.aQute.shell.sshd.provider/tester.bndrun
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
osgi.identity;filter:='(osgi.identity=org.apache.felix.metatype)',\
osgi.identity;filter:='(osgi.identity=biz.aQute.gogo.commands.provider)',\
osgi.identity;filter:='(osgi.identity=org.apache.felix.log)'
-runfw: org.apache.felix.framework;version='[6.0.2,6.0.2]'
-runfw: org.apache.felix.framework;version='[7.0.5,7.0.5]'
-runee: JavaSE-1.8
-runbundles: \
biz.aQute.shell.sshd.provider;version=snapshot,\
Expand Down
4 changes: 2 additions & 2 deletions biz.aQute.trace/tracer.bndrun
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
x= aQute.trace.extra= \
org.apache.felix.scr.impl.inject.methods.ActivateMethod:doFindMethod:DS, \

//-runfw: org.apache.felix.framework;version='[6.0.2,6.0.2]'
-runfw: org.apache.felix.framework;version='[6.0.2,6.0.2]'
//-runfw: org.apache.felix.framework;version='[7.0.5,7.0.5]'
-runfw: org.apache.felix.framework;version='[7.0.5,7.0.5]'


-runsystempackages: sun.misc
Expand Down
30 changes: 15 additions & 15 deletions cnf/central.mvn
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
biz.aQute.bnd:aQute.libg:5.3.0
biz.aQute.bnd:biz.aQute.bnd.runtime.snapshot:5.3.0
biz.aQute.bnd:biz.aQute.bndlib:5.3.0
biz.aQute.bnd:biz.aQute.repository:5.3.0
biz.aQute.bnd:biz.aQute.launchpad:5.3.0
biz.aQute.bnd:aQute.libg:6.4.1
biz.aQute.bnd:biz.aQute.bnd.runtime.snapshot:6.4.1
biz.aQute.bnd:biz.aQute.bndlib:6.4.1
biz.aQute.bnd:biz.aQute.repository:6.4.1
biz.aQute.bnd:biz.aQute.launchpad:6.4.1
com.h2database:h2:1.4.198
com.vladsch.flexmark:flexmark-osgi:0.62.2
com.vladsch.flexmark:flexmark-pdf-converter:0.62.2
Expand All @@ -20,8 +20,8 @@ org.apache.felix:org.apache.felix.converter:1.0.4
org.apache.felix:org.apache.felix.coordinator:1.0.2
org.apache.felix:org.apache.felix.eventadmin:1.5.0
org.apache.felix:org.apache.felix.fileinstall:3.6.4
org.apache.felix:org.apache.felix.framework.security:2.6.1
org.apache.felix:org.apache.felix.framework:6.0.2
org.apache.felix:org.apache.felix.framework.security:2.8.4
org.apache.felix:org.apache.felix.framework:7.0.5
org.apache.felix:org.apache.felix.gogo.command:1.1.0
org.apache.felix:org.apache.felix.gogo.runtime:1.1.2
org.apache.felix:org.apache.felix.gogo.shell:1.0.0
Expand Down Expand Up @@ -90,9 +90,9 @@ org.eclipse.platform:org.eclipse.equinox.supplement:1.7.0
org.elasticsearch.client:elasticsearch-rest-client:7.9.2
org.elasticsearch.client:elasticsearch-rest-high-level-client:7.9.2
org.mockito:mockito-all:1.10.19
org.osgi:org.osgi.annotation.bundle:1.0.0
org.osgi:org.osgi.annotation.bundle:2.0.0
org.osgi:org.osgi.dto:1.1.0
org.osgi:org.osgi.framework:1.8.0
org.osgi:org.osgi.framework:1.10.0
org.osgi:org.osgi.jmx:1.1.0
org.osgi:org.osgi.namespace.contract:1.0.0
org.osgi:org.osgi.namespace.extender:1.0.1
Expand Down Expand Up @@ -128,16 +128,16 @@ org.osgi:org.osgi.service.rest:1.0.0
org.osgi:org.osgi.service.serviceloader:1.0.0
org.osgi:org.osgi.service.url:1.0.0
org.osgi:org.osgi.service.useradmin:1.1.0
org.osgi:org.osgi.util.converter:1.0.0
org.osgi:org.osgi.util.function:1.1.0
org.osgi:org.osgi.util.converter:1.0.9
org.osgi:org.osgi.util.function:1.2.0
org.osgi:org.osgi.util.measurement:1.0.2
org.osgi:org.osgi.util.position:1.0.1
org.osgi:org.osgi.util.promise:1.1.1
org.osgi:org.osgi.util.pushstream:1.0.1
org.osgi:org.osgi.util.tracker:1.5.2
org.osgi:org.osgi.util.promise:1.3.0
org.osgi:org.osgi.util.pushstream:1.1.0
org.osgi:org.osgi.util.tracker:1.5.4
org.osgi:org.osgi.util.xml:1.0.1
org.osgi:osgi.annotation:7.0.0
org.osgi:osgi.core:7.0.0
org.osgi:osgi.core:8.0.0
org.osgi:osgi.enroute.webconsole.xray.provider:2.1.0
org.slf4j:slf4j-api:1.7.30
org.slf4j:slf4j-simple:1.7.30
Expand Down

0 comments on commit 2c7be31

Please sign in to comment.