You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2026/07/21 18:38:12 UTC
(maven-toolchains-plugin) branch master updated: Update toolchains documentation to use JSR-330 terminology and links (#165)
This is an automated email from the ASF dual-hosted git repository.
slawekjaranowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-toolchains-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new 39e84b2 Update toolchains documentation to use JSR-330 terminology and links (#165)
39e84b2 is described below
commit 39e84b2e86751264f4cc89be87ea8d9a93c2fdca
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Tue Jul 21 20:38:07 2026 +0200
Update toolchains documentation to use JSR-330 terminology and links (#165)
- 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 | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/site/apt/toolchains/custom.apt b/src/site/apt/toolchains/custom.apt
index c912b43..6fdb931 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 <<<maven-toolchains-plugin>>> integration tests, which are part of
- {{{../source-repository.html}the plugin source tree}}:
+ {{{../scm.html}the plugin source tree}}:
* See <<<src/it/setup-custom-toolchain>>> for the custom toolchain and plugin,
@@ -51,9 +51,8 @@ Custom Toolchains
which is an internal requirement,
* a {{{/ref/current/maven-core/apidocs/org/apache/maven/toolchain/ToolchainFactory.html}<<<org.apache.maven.toolchain.ToolchainFactory>>>}},
- 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/}<<<plexus-component-metadata>>>}}
- plugin.
+ provided as {{{https://maven.apache.org/maven-jsr330.html}JSR-330 component}} annotated with <<<@Named("<toolchainType>")>>>
+ (e.g. <<<@Named("custom")>>>) and <<<...@Singleton>>>.
[]