You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2022/04/23 13:12:51 UTC
[maven-site] branch master updated: clarify it's about components and IOC
This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-site.git
The following commit(s) were added to refs/heads/master by this push:
new 2c1921e5 clarify it's about components and IOC
2c1921e5 is described below
commit 2c1921e5624581d6729ef36055ea0fc50d417be0
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sat Apr 23 15:12:47 2022 +0200
clarify it's about components and IOC
---
.../plugin-developers/cookbook/plexus-plugin-upgrade.apt | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/content/apt/plugin-developers/cookbook/plexus-plugin-upgrade.apt b/content/apt/plugin-developers/cookbook/plexus-plugin-upgrade.apt
index 8359eebf..440885e6 100644
--- a/content/apt/plugin-developers/cookbook/plexus-plugin-upgrade.apt
+++ b/content/apt/plugin-developers/cookbook/plexus-plugin-upgrade.apt
@@ -30,19 +30,21 @@ Cookbook: How To Upgrade from Plexus Javadoc Tags to Plexus Java Annotations?
* Summary
- This recipe describes how to upgrade from Plexus Javadoc Tags to Plexus Java Annotations, in 2 steps:
+ This recipe describes how to upgrade from Plexus Javadoc Tags to Plexus Java Annotations when defining a Plexus component.
- [[1]] replace the deprecated {{{https://codehaus-plexus.github.io/plexus-maven-plugin/}<<<plexus-maven-plugin>>>}},
- which only supports Plexus Javadoc Tags, with its successor:
- {{{https://codehaus-plexus.github.io/plexus-containers/plexus-component-metadata/}<<<plexus-component-metadata>>>}},
+ This is done in 2 steps:
+
+ [[1]] replace the {{{https://codehaus-plexus.github.io/plexus-maven-plugin/}deprecated <<<plexus-maven-plugin>>>}},
+ which only supports Plexus Javadoc Tags, with its
+ {{{https://codehaus-plexus.github.io/plexus-containers/plexus-component-metadata/}successor: <<<plexus-component-metadata>>>}},
which support both Plexus Javadoc Tags and Plexus Java Annotations,
[[2]] update sources with {{{https://codehaus-plexus.github.io/plexus-containers/plexus-component-annotations/}Java Annotations for Plexus}}.
[]
- <<Notice>>: if you're targeting components for Maven 3.1.0+, using {{{/maven-jsr330.html}JSR-330 annotations}}
- instead of Plexus Java Annotations may be a good next step
+ <<Notice>>: if you're targeting components for Maven 3.1.0+, using {{{/maven-jsr330.html}<<<...@Inject>>> JSR-330 annotations}}
+ instead of <<<...@Requirement>>> Plexus Java Annotations may be a good next step
* Prerequisite Plugins