From e670e08ce1e64844f882d7566a06fcfe5a5a8b5d Mon Sep 17 00:00:00 2001 From: Herve Boutemy Date: Sat, 29 Sep 2012 11:58:53 +0000 Subject: [PATCH] Mojo don't get Plexus components injection but plugin parameter injection: added a link git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1391786 13f79535-47bb-0310-9956-ffa450edef68 --- .../maven/repository/internal/MavenServiceLocator.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/maven-aether-provider/src/main/java/org/apache/maven/repository/internal/MavenServiceLocator.java b/maven-aether-provider/src/main/java/org/apache/maven/repository/internal/MavenServiceLocator.java index db55665f24..f0beaeb939 100644 --- a/maven-aether-provider/src/main/java/org/apache/maven/repository/internal/MavenServiceLocator.java +++ b/maven-aether-provider/src/main/java/org/apache/maven/repository/internal/MavenServiceLocator.java @@ -27,9 +27,12 @@ import org.sonatype.aether.impl.VersionResolver; /** * A simple service locator that is already setup with all components from this library. To acquire a complete - * repository system, clients need to add some repository connectors for remote transfers. Note: This component - * is meant to assist those clients that employ the repository systems outside of an IoC container, Maven plugins - * should instead always use regular dependency injection to acquire the repository system. + * repository system, clients need to add some repository connectors for remote transfers. + * + * Note: This component is meant to assist those clients that employ the repository systems outside of an IoC + * container, Maven plugins should instead always use + * regular + * plugin parameter injection to acquire the repository system. * * @author Benjamin Bentmann */