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 2018/01/15 22:47:17 UTC
[maven-plugin-tools] branch master updated: [MPLUGIN-322] improved
javadoc: Sisu JSR330 vs Mojo parameter injection
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-plugin-tools.git
The following commit(s) were added to refs/heads/master by this push:
new 072cf04 [MPLUGIN-322] improved javadoc: Sisu JSR330 vs Mojo parameter injection
072cf04 is described below
commit 072cf04a0d492b4fc8d397744c21eb2ddb113a3f
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Mon Jan 15 23:47:16 2018 +0100
[MPLUGIN-322] improved javadoc: Sisu JSR330 vs Mojo parameter injection
---
.../src/main/java/org/apache/maven/plugins/annotations/Parameter.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/maven-plugin-annotations/src/main/java/org/apache/maven/plugins/annotations/Parameter.java b/maven-plugin-annotations/src/main/java/org/apache/maven/plugins/annotations/Parameter.java
index ec9dbcf..e6d98e7 100644
--- a/maven-plugin-annotations/src/main/java/org/apache/maven/plugins/annotations/Parameter.java
+++ b/maven-plugin-annotations/src/main/java/org/apache/maven/plugins/annotations/Parameter.java
@@ -30,6 +30,10 @@ import java.lang.annotation.Target;
* Used to configure your Mojo parameters to be injected by
* <a href="/ref/current/maven-core/apidocs/org/apache/maven/plugin/MavenPluginManager.html">
* <code>MavenPluginManager.getConfiguredMojo(...)</code></a>.
+ * <p>
+ * Beans injected into Mojo parameters are prepared by <a href="https://www.eclipse.org/sisu/">Sisu</a> JSR330-based
+ * container: this annotation is only effective on fields of the Mojo class itself, nested bean injection
+ * requires Sisu or JSR330 annotations.
*
* @author Olivier Lamy
* @since 3.0
--
To stop receiving notification emails like this one, please contact
['"commits@maven.apache.org" <co...@maven.apache.org>'].