From fc14d81d5fde9cd8f1fa47f8483393b2cc7f1514 Mon Sep 17 00:00:00 2001 From: Slawomir Jaranowski Date: Mon, 18 Aug 2025 22:50:46 +0200 Subject: [PATCH 1/6] [maven-release-plugin] prepare for next development iteration --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 2e345f0..ae4feec 100644 --- a/pom.xml +++ b/pom.xml @@ -9,14 +9,14 @@ plexus-testing - 1.6.0 + 1.6.1-SNAPSHOT Plexus Testing scm:git:https://github.com/codehaus-plexus/plexus-testing.git ${project.scm.connection} - plexus-testing-1.6.0 + HEAD https://github.com/codehaus-plexus/plexus-testing @@ -32,7 +32,7 @@ 0.9.0.M4 - 2025-08-18T20:50:39Z + 2025-08-18T20:50:45Z From fde8562250c7162389cc66b9712cfa2a0fa007f3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 17 Sep 2025 23:01:36 +0000 Subject: [PATCH 2/6] Bump com.google.guava:guava from 33.4.8-jre to 33.5.0-jre Bumps [com.google.guava:guava](https://github.com/google/guava) from 33.4.8-jre to 33.5.0-jre. - [Release notes](https://github.com/google/guava/releases) - [Commits](https://github.com/google/guava/commits) --- updated-dependencies: - dependency-name: com.google.guava:guava dependency-version: 33.5.0-jre dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index ae4feec..53a8a9e 100644 --- a/pom.xml +++ b/pom.xml @@ -41,7 +41,7 @@ com.google.guava guava - 33.4.8-jre + 33.5.0-jre From c8966aecfee4d7dba01e7e3ca3992e2c058f34bc Mon Sep 17 00:00:00 2001 From: Slawomir Jaranowski Date: Sat, 11 Oct 2025 12:44:16 +0200 Subject: [PATCH 3/6] Use direct dependencies for guava dependencyManagement are not transitive in Maven 3.x --- pom.xml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/pom.xml b/pom.xml index 53a8a9e..f31ec9e 100644 --- a/pom.xml +++ b/pom.xml @@ -35,18 +35,14 @@ 2025-08-18T20:50:45Z - - - - com.google.guava - guava - - 33.5.0-jre - - - - + + + com.google.guava + guava + + 33.5.0-jre + org.eclipse.sisu org.eclipse.sisu.plexus From 3507852e70c4ecafb80215b6dbf63206016f8551 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 11 Oct 2025 12:25:27 +0000 Subject: [PATCH 4/6] Bump org.codehaus.plexus:plexus from 23 to 24 Bumps [org.codehaus.plexus:plexus](https://github.com/codehaus-plexus/plexus-pom) from 23 to 24. - [Release notes](https://github.com/codehaus-plexus/plexus-pom/releases) - [Commits](https://github.com/codehaus-plexus/plexus-pom/commits) --- updated-dependencies: - dependency-name: org.codehaus.plexus:plexus dependency-version: '24' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index f31ec9e..2685d4d 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.codehaus.plexus plexus - 23 + 24 plexus-testing From 001cca10f35eb7fc0cdaa48c09f501136301f9a0 Mon Sep 17 00:00:00 2001 From: Slawomir Jaranowski Date: Sat, 11 Oct 2025 16:17:01 +0200 Subject: [PATCH 5/6] Prepare simple site for plugin --- pom.xml | 26 +++++++++++++++++++ src/site/markdown/index.md | 14 ++++++++++ src/site/site.xml | 15 +++++++++++ .../plexus/testing/PlexusTestJavaxTest.java | 3 ++- .../plexus/testing/TestJavaxComponent.java | 2 ++ .../plexus/testing/TestJavaxComponent2.java | 2 ++ 6 files changed, 61 insertions(+), 1 deletion(-) create mode 100644 src/site/markdown/index.md create mode 100644 src/site/site.xml diff --git a/pom.xml b/pom.xml index 2685d4d..d6cbdf6 100644 --- a/pom.xml +++ b/pom.xml @@ -12,6 +12,8 @@ 1.6.1-SNAPSHOT Plexus Testing + Library to help testing plexus components + https://codehaus-plexus.github.io/plexus-testing/ scm:git:https://github.com/codehaus-plexus/plexus-testing.git @@ -19,10 +21,12 @@ HEAD https://github.com/codehaus-plexus/plexus-testing + github https://github.com/codehaus-plexus/plexus-testing/issues + github:gh-pages @@ -70,4 +74,26 @@ + + + + org.apache.maven.plugins + maven-scm-publish-plugin + + ${project.reporting.outputDirectory} + + + + + scm-publish + + + publish-scm + + site-deploy + + + + + diff --git a/src/site/markdown/index.md b/src/site/markdown/index.md new file mode 100644 index 0000000..27da2b2 --- /dev/null +++ b/src/site/markdown/index.md @@ -0,0 +1,14 @@ +# Plexus Testing + +Library to help testing plexus components + +## Example usage + +### Test class + + + +### Used classes in test + + + diff --git a/src/site/site.xml b/src/site/site.xml new file mode 100644 index 0000000..67e04d2 --- /dev/null +++ b/src/site/site.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + diff --git a/src/test/java/org/codehaus/plexus/testing/PlexusTestJavaxTest.java b/src/test/java/org/codehaus/plexus/testing/PlexusTestJavaxTest.java index add8490..b2a07b3 100644 --- a/src/test/java/org/codehaus/plexus/testing/PlexusTestJavaxTest.java +++ b/src/test/java/org/codehaus/plexus/testing/PlexusTestJavaxTest.java @@ -18,7 +18,7 @@ * specific language governing permissions and limitations * under the License. */ - +// START SNIPPET: test-class import javax.inject.Inject; import org.junit.jupiter.api.Test; @@ -37,3 +37,4 @@ void dependencyShouldBeInjected() { assertNotNull(testJavaxComponent.getTestComponent2()); } } +// END SNIPPET: test-class diff --git a/src/test/java/org/codehaus/plexus/testing/TestJavaxComponent.java b/src/test/java/org/codehaus/plexus/testing/TestJavaxComponent.java index 6ce98b7..5d1d582 100644 --- a/src/test/java/org/codehaus/plexus/testing/TestJavaxComponent.java +++ b/src/test/java/org/codehaus/plexus/testing/TestJavaxComponent.java @@ -19,6 +19,7 @@ * under the License. */ +// START SNIPPET: test-component import javax.inject.Inject; import javax.inject.Named; @@ -31,3 +32,4 @@ public TestJavaxComponent2 getTestComponent2() { return testJavaxComponent2; } } +// END SNIPPET: test-component diff --git a/src/test/java/org/codehaus/plexus/testing/TestJavaxComponent2.java b/src/test/java/org/codehaus/plexus/testing/TestJavaxComponent2.java index d5afd5b..f5609f2 100644 --- a/src/test/java/org/codehaus/plexus/testing/TestJavaxComponent2.java +++ b/src/test/java/org/codehaus/plexus/testing/TestJavaxComponent2.java @@ -19,7 +19,9 @@ * under the License. */ +// START SNIPPET: test-component2 import javax.inject.Named; @Named public class TestJavaxComponent2 {} +// END SNIPPET: test-component2 From 4b2ca28c430fa197ee436f23137a1472d2cd372a Mon Sep 17 00:00:00 2001 From: Slawomir Jaranowski Date: Sat, 11 Oct 2025 16:58:32 +0200 Subject: [PATCH 6/6] [maven-release-plugin] prepare release plexus-testing-1.6.1 --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index d6cbdf6..e402295 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ plexus-testing - 1.6.1-SNAPSHOT + 1.6.1 Plexus Testing Library to help testing plexus components @@ -18,7 +18,7 @@ scm:git:https://github.com/codehaus-plexus/plexus-testing.git ${project.scm.connection} - HEAD + plexus-testing-1.6.1 https://github.com/codehaus-plexus/plexus-testing @@ -36,7 +36,7 @@ 0.9.0.M4 - 2025-08-18T20:50:45Z + 2025-10-11T14:58:25Z