Skip to content

Commit

Permalink
Merge pull request #5272 from bndtools/dependabot/maven/maven/org.ass…
Browse files Browse the repository at this point in the history
…ertj-assertj-core-3.23.1

build(deps-dev): Bump assertj-core from 3.22.0 to 3.23.1 in /maven
  • Loading branch information
bjhargrave authored Jun 2, 2022
2 parents 47334e1 + a93eb65 commit 9f5f945
Show file tree
Hide file tree
Showing 13 changed files with 32 additions and 20 deletions.
13 changes: 9 additions & 4 deletions biz.aQute.junit/bnd.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@
biz.aQute.bndlib;version=latest,\
junit:junit;version="${junit4.version}",\
org.hamcrest;version="${hamcrest.version}",\
assertj-core;version="${assertj.version}"
assertj-core;version="${assertj.version}",\
net.bytebuddy.byte-buddy;version="${bytebuddy.version}"

-includepackage: \
aQute.junit.*,\
junit.*,\
org.junit.*,\
org.hamcrest.*,\
org.assertj.core.*
org.assertj.core.*,\
net.bytebuddy.*

-includeresource.perm: OSGI-INF/permissions.perm;literal="(java.security.AllPermission)"

Expand All @@ -28,7 +30,8 @@
org.junit.*;version="${junit4.version}",\
org.hamcrest.*;version="${hamcrest.version}",\
!org.assertj.core.internal.*,\
org.assertj.core.*
org.assertj.core.*,\
net.bytebuddy.*

-fixupmessages.assertj: Export org.assertj.core.* private references

Expand All @@ -38,6 +41,7 @@
Import-Package: \
aQute.*;resolution:=optional,\
junit.*;version="${range;[==,5);${junit3.version}}",\
!com.fasterxml.jackson.*,\
!org.opentest4j,\
!org.junit.jupiter.*,\
!org.junit.platform.*,\
Expand All @@ -50,6 +54,7 @@ Import-Package: \

# These packages can be referenced by assertj-core via Class.forName.
DynamicImport-Package: \
com.fasterxml.jackson.*,\
org.opentest4j,\
org.testng,\
org.testng.*,\
Expand All @@ -61,4 +66,4 @@ Embedded-Activator: ${Bundle-Activator}
Bundle-Release: Use main thread for testing, optionally allowing old separate thread model

-baseline: *
-diffpackages: !junit.*, !org.junit.*, !org.assertj.core.*, !org.hamcrest.*, *
-diffpackages: !junit.*, !org.junit.*, !org.assertj.core.*, !net.bytebuddy.*, !org.hamcrest.*, *
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public class BeforeAfterTest {

static LaunchpadBuilder builder = new LaunchpadBuilder().runfw(org_apache_felix_framework)
.bundles("assertj-core")
.bundles("net.bytebuddy.byte-buddy")
.bundles(org_apache_felix_scr)
.debug();

Expand Down
2 changes: 1 addition & 1 deletion biz.aQute.launchpad.tests/test/aQute/xlaunchpad/FO.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class FO {
.set("snapshot.dir", tmp.getAbsolutePath())
.runfw("jar/org.apache.felix.framework-6.0.2.jar;version=file")
.bundles(
"org.osgi.util.promise, org.osgi.util.function, jar/org.apache.felix.scr-2.1.16.jar;version=file, assertj-core, org.apache.servicemix.bundles.junit")
"org.osgi.util.promise, org.osgi.util.function, jar/org.apache.felix.scr-2.1.16.jar;version=file, assertj-core, net.bytebuddy.byte-buddy, org.apache.servicemix.bundles.junit")
.debug();

@Component(service = X.class, enabled = false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class LaunchpadConfigurationTest {
.runfw("jar/org.apache.felix.framework-6.0.2.jar;version=file")
.export("*")
.bundles(
"org.osgi.util.promise, org.osgi.util.function, jar/org.apache.felix.scr-2.1.16.jar;version=file, jar/org.apache.felix.configadmin-1.9.8.jar;version=file, jar/org.apache.felix.configurator-1.0.8.jar;version=file, assertj-core")
"org.osgi.util.promise, org.osgi.util.function, jar/org.apache.felix.scr-2.1.16.jar;version=file, jar/org.apache.felix.configadmin-1.9.8.jar;version=file, jar/org.apache.felix.configurator-1.0.8.jar;version=file, assertj-core, net.bytebuddy.byte-buddy")
.debug();

@Component(name = "TestService", service = X.class, configurationPolicy = ConfigurationPolicy.REQUIRE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class LaunchpadRunnerBasicTest {
.runfw("jar/org.apache.felix.framework-6.0.2.jar;version=file")
.export("*")
.bundles(
"org.osgi.util.promise, org.osgi.util.function, jar/org.apache.felix.scr-2.1.16.jar;version=file, assertj-core")
"org.osgi.util.promise, org.osgi.util.function, jar/org.apache.felix.scr-2.1.16.jar;version=file, assertj-core, net.bytebuddy.byte-buddy")
.debug();

@Component(service = X.class, enabled = false)
Expand Down
1 change: 1 addition & 0 deletions biz.aQute.tester.test/bnd.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
org.junit.platform.engine;version="${junit.platform.eclipse.version}";strategy=lowest,\
org.junit.jupiter.engine;version="${junit.jupiter.eclipse.version}";strategy=lowest,\
assertj-core;version=latest,\
net.bytebuddy.byte-buddy;version=latest,\
junit-platform-testkit;version="${junit.platform.eclipse.version}";strategy=lowest,\
aQute.libg,\
biz.aQute.bnd.util;version=snapshot,\
Expand Down
1 change: 1 addition & 0 deletions bndtools.core.test/bnd.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
bndtools.core;version=snapshot,\
bndtools.core.services;version=snapshot,\
assertj-core,\
net.bytebuddy.byte-buddy,\
javax.inject,\
org.apiguardian:apiguardian-api,\
org.opentest4j,\
Expand Down
3 changes: 2 additions & 1 deletion bndtools.core.test/test.cocoa.macosx.x86_64.bndrun
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
osgi.identity;filter:='(osgi.identity=*win32*)',\

-runbundles: \
assertj-core;version='[3.22.0,3.22.1)',\
assertj-core;version='[3.23.1,3.23.2)',\
biz.aQute.bnd.embedded-repo;version=snapshot,\
biz.aQute.bnd.util;version=snapshot,\
biz.aQute.bndlib;version=snapshot,\
Expand Down Expand Up @@ -55,6 +55,7 @@
junit-platform-engine;version='[1.8.2,1.8.3)',\
junit-platform-launcher;version='[1.8.2,1.8.3)',\
junit-vintage-engine;version='[5.8.2,5.8.3)',\
net.bytebuddy.byte-buddy;version='[1.12.10,1.12.11)',\
net.i2p.crypto.eddsa;version='[0.3.0,0.3.1)',\
org.apache.ant;version='[1.10.8,1.10.9)',\
org.apache.batik.constants;version='[1.11.0,1.11.1)',\
Expand Down
3 changes: 2 additions & 1 deletion bndtools.core.test/test.gtk.linux.x86_64.bndrun
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
osgi.identity;filter:='(osgi.identity=*win32*)',\

-runbundles: \
assertj-core;version='[3.22.0,3.22.1)',\
assertj-core;version='[3.23.1,3.23.2)',\
biz.aQute.bnd.embedded-repo;version=snapshot,\
biz.aQute.bnd.util;version=snapshot,\
biz.aQute.bndlib;version=snapshot,\
Expand Down Expand Up @@ -54,6 +54,7 @@
junit-platform-engine;version='[1.8.2,1.8.3)',\
junit-platform-launcher;version='[1.8.2,1.8.3)',\
junit-vintage-engine;version='[5.8.2,5.8.3)',\
net.bytebuddy.byte-buddy;version='[1.12.10,1.12.11)',\
net.i2p.crypto.eddsa;version='[0.3.0,0.3.1)',\
org.apache.ant;version='[1.10.8,1.10.9)',\
org.apache.batik.constants;version='[1.11.0,1.11.1)',\
Expand Down
3 changes: 2 additions & 1 deletion bndtools.core.test/test.win32.x86_64.bndrun
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
osgi.identity;filter:='(osgi.identity=*linux*)',\

-runbundles: \
assertj-core;version='[3.22.0,3.22.1)',\
assertj-core;version='[3.23.1,3.23.2)',\
biz.aQute.bnd.embedded-repo;version=snapshot,\
biz.aQute.bnd.util;version=snapshot,\
biz.aQute.bndlib;version=snapshot,\
Expand Down Expand Up @@ -53,6 +53,7 @@
junit-platform-engine;version='[1.8.2,1.8.3)',\
junit-platform-launcher;version='[1.8.2,1.8.3)',\
junit-vintage-engine;version='[5.8.2,5.8.3)',\
net.bytebuddy.byte-buddy;version='[1.12.10,1.12.11)',\
net.i2p.crypto.eddsa;version='[0.3.0,0.3.1)',\
org.apache.ant;version='[1.10.8,1.10.9)',\
org.apache.batik.constants;version='[1.11.0,1.11.1)',\
Expand Down
8 changes: 4 additions & 4 deletions cnf/ext/central.mvn
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ org.apiguardian:apiguardian-api:1.1.2
org.assertj:assertj-core:${assertj.version}
org.awaitility:awaitility:${awaitility.version}
org.hamcrest:hamcrest:${hamcrest.version}
org.mockito:mockito-core:jar:${org.mockito.version}
net.bytebuddy:byte-buddy:${net.bytebuddy.version}
net.bytebuddy:byte-buddy-agent:${net.bytebuddy.version}
org.objenesis:objenesis:jar:${org.objenesis.version}
org.mockito:mockito-core:${mockito.version}
net.bytebuddy:byte-buddy:${bytebuddy.version}
net.bytebuddy:byte-buddy-agent:${bytebuddy.version}
org.objenesis:objenesis:${objenesis.version}
org.xmlunit:xmlunit-core:2.6.3
org.xmlunit:xmlunit-assertj:2.6.3
org.osgi:org.osgi.test.common:${osgi-test.version}
Expand Down
11 changes: 6 additions & 5 deletions cnf/ext/junit.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ junit.jupiter.eclipse.version=5.6.0
junit.platform.eclipse.version=1.6.0
junit.jupiter.version=5.8.2
junit.platform.version=1.8.2
assertj.version=3.22.0
assertj.version=3.23.1
awaitility.version=4.2.0
hamcrest.version=2.2
org.mockito.version=4.4.0
net.bytebuddy.version=1.12.8
org.objenesis.version=3.2
mockito.version=4.6.0
bytebuddy.version=1.12.10
objenesis.version=3.2
osgi-test.version=1.1.0

junit: ${junit-osgi},\
Expand All @@ -28,6 +28,7 @@ junit-osgi: \
junit-platform-commons;version=latest,\
junit-platform-engine;version=latest,\
assertj-core;version=latest,\
net.bytebuddy.byte-buddy;version=latest,\
org.opentest4j;version=latest,\
org.apiguardian:apiguardian-api;version=latest,\
junit-jupiter-api;version=latest,\
Expand All @@ -47,7 +48,7 @@ junit-osgi: \
org.osgi.test.junit5;version=latest

mockito: org.mockito.mockito-core;version=latest,\
net.bytebuddy.byte-buddy;version=latest,\
net.bytebuddy.byte-buddy-agent;version=latest,\
org.objenesis;version=latest
-runsystempackages.objenesis: sun.misc,sun.reflect

Expand Down
2 changes: 1 addition & 1 deletion maven/bnd-plugin-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<aether.version>1.0.2.v20150114</aether.version>
<!-- The following versions should match those in cnf/ext/junit.bnd -->
<junit.jupiter.version>5.8.2</junit.jupiter.version>
<assertj.version>3.22.0</assertj.version>
<assertj.version>3.23.1</assertj.version>
</properties>

<url>https://bnd.bndtools.org/</url>
Expand Down

0 comments on commit 9f5f945

Please sign in to comment.