From b078f8ee2576ee64b972964a9ac292e690f36cb7 Mon Sep 17 00:00:00 2001 From: Slawomir Jaranowski Date: Tue, 21 Jul 2026 19:03:26 +0200 Subject: [PATCH 1/2] Update toolchains documentation to use JSR-330 terminology and links - Replaced Plexus-specific references with JSR-330 annotations (`@Named`, `@Singleton`). - Updated outdated links to relevant JSR-330 component documentation and plugin source tree. --- src/site/apt/toolchains/custom.apt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/site/apt/toolchains/custom.apt b/src/site/apt/toolchains/custom.apt index c912b43..ca2e937 100644 --- a/src/site/apt/toolchains/custom.apt +++ b/src/site/apt/toolchains/custom.apt @@ -28,7 +28,7 @@ Custom Toolchains You can create custom toolchains to use with standard plugins (such as the maven-compiler-plugin) or with custom plugins. A full working sample is included in the <<>> integration tests, which are part of - {{{../source-repository.html}the plugin source tree}}: + {{{../scm.html}the plugin source tree}}: * See <<>> for the custom toolchain and plugin, @@ -51,9 +51,7 @@ Custom Toolchains which is an internal requirement, * a {{{/ref/current/maven-core/apidocs/org/apache/maven/toolchain/ToolchainFactory.html}<<>>}}, - provided as Plexus component: Plexus {{{http://plexus.codehaus.org/plexus-containers/plexus-component-annotations/}<<<@Component>>>}} - annotation in the class is extracted by {{{http://plexus.codehaus.org/plexus-containers/plexus-component-metadata/}<<>>}} - plugin. + provided as {{{https://maven.apache.org/maven-jsr330.html}JSR-330 component}} <<<@Named>>> with the name of the toolchain and <<<@Singleton>>> annotation. [] From e3e8978166e4c8b14c7737ea62ac9229ef48cd3d Mon Sep 17 00:00:00 2001 From: Slawomir Jaranowski Date: Tue, 21 Jul 2026 20:12:56 +0200 Subject: [PATCH 2/2] Update toolchains documentation to use JSR-330 terminology and links - Replaced Plexus-specific references with JSR-330 annotations (`@Named`, `@Singleton`). - Updated outdated links to relevant JSR-330 component documentation and plugin source tree. --- src/site/apt/toolchains/custom.apt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/site/apt/toolchains/custom.apt b/src/site/apt/toolchains/custom.apt index ca2e937..6fdb931 100644 --- a/src/site/apt/toolchains/custom.apt +++ b/src/site/apt/toolchains/custom.apt @@ -51,7 +51,8 @@ Custom Toolchains which is an internal requirement, * a {{{/ref/current/maven-core/apidocs/org/apache/maven/toolchain/ToolchainFactory.html}<<>>}}, - provided as {{{https://maven.apache.org/maven-jsr330.html}JSR-330 component}} <<<@Named>>> with the name of the toolchain and <<<@Singleton>>> annotation. + provided as {{{https://maven.apache.org/maven-jsr330.html}JSR-330 component}} annotated with <<<@Named("")>>> + (e.g. <<<@Named("custom")>>>) and <<<@Singleton>>>. []