diff --git a/pom.xml b/pom.xml index 2e345f0..e402295 100644 --- a/pom.xml +++ b/pom.xml @@ -5,24 +5,28 @@ org.codehaus.plexus plexus - 23 + 24 plexus-testing - 1.6.0 + 1.6.1 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 ${project.scm.connection} - plexus-testing-1.6.0 + plexus-testing-1.6.1 https://github.com/codehaus-plexus/plexus-testing + github https://github.com/codehaus-plexus/plexus-testing/issues + github:gh-pages @@ -32,21 +36,17 @@ 0.9.0.M4 - 2025-08-18T20:50:39Z + 2025-10-11T14:58:25Z - - - - com.google.guava - guava - - 33.4.8-jre - - - - + + + com.google.guava + guava + + 33.5.0-jre + org.eclipse.sisu org.eclipse.sisu.plexus @@ -74,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