Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package plexus-testing for openSUSE:Factory checked in at 2026-02-06 19:11:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/plexus-testing (Old) and /work/SRC/openSUSE:Factory/.plexus-testing.new.1670 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "plexus-testing" Fri Feb 6 19:11:16 2026 rev:2 rq:1331671 version:2.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/plexus-testing/plexus-testing.changes 2025-11-04 18:42:51.854708182 +0100 +++ /work/SRC/openSUSE:Factory/.plexus-testing.new.1670/plexus-testing.changes 2026-02-06 19:17:58.311373629 +0100 @@ -1,0 +2,13 @@ +Fri Feb 6 04:38:08 UTC 2026 - Fridrich Strba <[email protected]> + +- Update to version 2.1.0 + * New features and improvements + + Use guice with classes classifier - without embedded + dependencies + + Support for Nested tests + * Maintenance + + Cleanups dependencies + * Dependency updates + + Bump org.codehaus.plexus:plexus from 24 to 25 + +------------------------------------------------------------------- Old: ---- plexus-testing-2.0.1.tar.xz New: ---- plexus-testing-2.1.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ plexus-testing.spec ++++++ --- /var/tmp/diff_new_pack.qh8MGq/_old 2026-02-06 19:17:59.447421695 +0100 +++ /var/tmp/diff_new_pack.qh8MGq/_new 2026-02-06 19:17:59.455422033 +0100 @@ -1,7 +1,7 @@ # # spec file for package plexus-testing # -# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %bcond_with tests Name: plexus-testing -Version: 2.0.1 +Version: 2.1.0 Release: 0 Summary: Plexus Testing License: Apache-2.0 ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.qh8MGq/_old 2026-02-06 19:17:59.535425418 +0100 +++ /var/tmp/diff_new_pack.qh8MGq/_new 2026-02-06 19:17:59.547425926 +0100 @@ -1,6 +1,6 @@ -mtime: 1762247262 -commit: 125eeb15ca65b9d1d444f559945b266d9a9f4cce93d46f68449ddcb1d9530c6f +mtime: 1770385268 +commit: 81591a54ee519f7082bb03b7ab550e493d2cbdb24b36bc7f7c42dfc209929ab7 url: https://src.opensuse.org/java-packages/plexus-testing.git -revision: 125eeb15ca65b9d1d444f559945b266d9a9f4cce93d46f68449ddcb1d9530c6f +revision: 81591a54ee519f7082bb03b7ab550e493d2cbdb24b36bc7f7c42dfc209929ab7 projectscmsync: https://src.opensuse.org/java-packages/_ObsPrj ++++++ _service ++++++ --- /var/tmp/diff_new_pack.qh8MGq/_old 2026-02-06 19:17:59.587427618 +0100 +++ /var/tmp/diff_new_pack.qh8MGq/_new 2026-02-06 19:17:59.599428126 +0100 @@ -2,7 +2,7 @@ <service name="tar_scm" mode="disabled"> <param name="scm">git</param> <param name="url">https://github.com/codehaus-plexus/plexus-testing.git</param> - <param name="revision">plexus-testing-2.0.1</param> + <param name="revision">plexus-testing-2.1.0</param> <param name="match-tag">plexus-testing-*</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">plexus-testing-(.*)</param> ++++++ build.specials.obscpio ++++++ ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2026-02-06 14:41:48.000000000 +0100 @@ -0,0 +1 @@ +.osc ++++++ plexus-testing-2.0.1.tar.xz -> plexus-testing-2.1.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plexus-testing-2.0.1/pom.xml new/plexus-testing-2.1.0/pom.xml --- old/plexus-testing-2.0.1/pom.xml 2025-10-27 22:16:51.000000000 +0100 +++ new/plexus-testing-2.1.0/pom.xml 2026-01-05 13:37:51.000000000 +0100 @@ -5,11 +5,11 @@ <parent> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus</artifactId> - <version>24</version> + <version>25</version> </parent> <artifactId>plexus-testing</artifactId> - <version>2.0.1</version> + <version>2.1.0</version> <name>Plexus Testing</name> <description>Library to help testing plexus components</description> @@ -18,7 +18,7 @@ <scm> <connection>scm:git:https://github.com/codehaus-plexus/plexus-testing.git</connection> <developerConnection>${project.scm.connection}</developerConnection> - <tag>plexus-testing-2.0.1</tag> + <tag>plexus-testing-2.1.0</tag> <url>https://github.com/codehaus-plexus/plexus-testing</url> </scm> @@ -35,8 +35,7 @@ </distributionManagement> <properties> - <versions.eclipse.sisu>0.9.0.M4</versions.eclipse.sisu> - <project.build.outputTimestamp>2025-10-27T21:16:48Z</project.build.outputTimestamp> + <project.build.outputTimestamp>2026-01-05T12:37:48Z</project.build.outputTimestamp> </properties> <dependencies> @@ -50,23 +49,13 @@ <dependency> <groupId>org.eclipse.sisu</groupId> <artifactId>org.eclipse.sisu.plexus</artifactId> - <version>${versions.eclipse.sisu}</version> - </dependency> - <dependency> - <groupId>org.eclipse.sisu</groupId> - <artifactId>org.eclipse.sisu.inject</artifactId> - <version>${versions.eclipse.sisu}</version> + <version>0.9.0.M4</version> </dependency> <dependency> <groupId>com.google.inject</groupId> <artifactId>guice</artifactId> <version>5.1.0</version> - </dependency> - <!-- needed by Guava 33.4.3+ for javax.annotations.Nullable --> - <dependency> - <groupId>com.google.code.findbugs</groupId> - <artifactId>jsr305</artifactId> - <version>3.0.2</version> + <classifier>classes</classifier> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> @@ -85,6 +74,12 @@ <version>4.11.0</version> <scope>test</scope> </dependency> + <dependency> + <groupId>javax.inject</groupId> + <artifactId>javax.inject</artifactId> + <version>1</version> + <scope>test</scope> + </dependency> </dependencies> <build> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plexus-testing-2.0.1/src/main/java/org/codehaus/plexus/testing/PlexusExtension.java new/plexus-testing-2.1.0/src/main/java/org/codehaus/plexus/testing/PlexusExtension.java --- old/plexus-testing-2.0.1/src/main/java/org/codehaus/plexus/testing/PlexusExtension.java 2025-10-27 22:16:51.000000000 +0100 +++ new/plexus-testing-2.1.0/src/main/java/org/codehaus/plexus/testing/PlexusExtension.java 2026-01-05 13:37:51.000000000 +0100 @@ -98,9 +98,9 @@ public void beforeEach(ExtensionContext context) throws Exception { setTestBasedir(getDefaultBasedir(), context); - ((DefaultPlexusContainer) getContainer(context)) - .addPlexusInjector( - Collections.emptyList(), binder -> binder.requestInjection(context.getRequiredTestInstance())); + context.getRequiredTestInstances().getAllInstances().forEach(testInstance -> ((DefaultPlexusContainer) + getContainer(context)) + .addPlexusInjector(Collections.emptyList(), binder -> binder.requestInjection(testInstance))); } private PlexusContainer setupContainer(ExtensionContext context) { @@ -175,17 +175,19 @@ private void testInstanceCustomizeContainerConfiguration( ContainerConfiguration containerConfiguration, ExtensionContext context) { - Object testInstance = context.getRequiredTestInstance(); - if (testInstance instanceof PlexusTestConfiguration) { - ((PlexusTestConfiguration) testInstance).customizeConfiguration(containerConfiguration); - } + context.getRequiredTestInstances().getAllInstances().forEach(testInstance -> { + if (testInstance instanceof PlexusTestConfiguration) { + ((PlexusTestConfiguration) testInstance).customizeConfiguration(containerConfiguration); + } + }); } private void testInstanceCustomizeContainer(PlexusContainer container, ExtensionContext context) { - Object testInstance = context.getRequiredTestInstance(); - if (testInstance instanceof PlexusTestConfiguration) { - ((PlexusTestConfiguration) testInstance).customizeContainer(container); - } + context.getRequiredTestInstances().getAllInstances().forEach(testInstance -> { + if (testInstance instanceof PlexusTestConfiguration) { + ((PlexusTestConfiguration) testInstance).customizeContainer(container); + } + }); } protected void customizeContext(Context context) {} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plexus-testing-2.0.1/src/test/java/org/codehaus/plexus/testing/PlexusTestCustomizeTest.java new/plexus-testing-2.1.0/src/test/java/org/codehaus/plexus/testing/PlexusTestCustomizeTest.java --- old/plexus-testing-2.0.1/src/test/java/org/codehaus/plexus/testing/PlexusTestCustomizeTest.java 2025-10-27 22:16:51.000000000 +0100 +++ new/plexus-testing-2.1.0/src/test/java/org/codehaus/plexus/testing/PlexusTestCustomizeTest.java 2026-01-05 13:37:51.000000000 +0100 @@ -22,6 +22,7 @@ import javax.inject.Inject; import org.codehaus.plexus.PlexusContainer; +import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; @@ -62,5 +63,14 @@ assertNotNull(testJavaxComponent); assertSame(testJavaxComponent.getTestComponent2(), mockComponent2); } + + @Nested + class NestedTest { + @Test + void nestedDependencyShouldAlsoBeInjected() { + assertNotNull(testJavaxComponent); + assertSame(testJavaxComponent.getTestComponent2(), mockComponent2); + } + } } // END SNIPPET: test-customize-class diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plexus-testing-2.0.1/src/test/java/org/codehaus/plexus/testing/PlexusTestJavaxTest.java new/plexus-testing-2.1.0/src/test/java/org/codehaus/plexus/testing/PlexusTestJavaxTest.java --- old/plexus-testing-2.0.1/src/test/java/org/codehaus/plexus/testing/PlexusTestJavaxTest.java 2025-10-27 22:16:51.000000000 +0100 +++ new/plexus-testing-2.1.0/src/test/java/org/codehaus/plexus/testing/PlexusTestJavaxTest.java 2026-01-05 13:37:51.000000000 +0100 @@ -21,6 +21,7 @@ // START SNIPPET: test-class import javax.inject.Inject; +import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertNotNull; @@ -36,5 +37,14 @@ assertNotNull(testJavaxComponent); assertNotNull(testJavaxComponent.getTestComponent2()); } + + @Nested + class NestedTest { + @Test + void nestedDependencyShouldAlsoBeInjected() { + assertNotNull(testJavaxComponent); + assertNotNull(testJavaxComponent.getTestComponent2()); + } + } } // END SNIPPET: test-class ++++++ plexus-testing-build.xml ++++++ --- /var/tmp/diff_new_pack.qh8MGq/_old 2026-02-06 19:18:00.087448774 +0100 +++ /var/tmp/diff_new_pack.qh8MGq/_new 2026-02-06 19:18:00.099449282 +0100 @@ -7,7 +7,7 @@ <!-- ====================================================================== --> <property file="build.properties"/> - <property name="project.version" value="2.0.1"/> + <property name="project.version" value="2.1.0"/> <property name="project.groupId" value="org.codehaus.plexus"/> <property name="project.artifactId" value="plexus-testing"/>
