mirror of https://github.com/apache/maven.git
use the @component tag instead of @parameter when appropriate
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@329580 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3f1e75f324
commit
1a591d55b8
|
@ -76,20 +76,18 @@ public class EclipsePlugin
|
|||
/**
|
||||
* Artifact resolver, needed to download source jars for inclusion in classpath.
|
||||
*
|
||||
* @parameter expression="${component.org.apache.maven.artifact.resolver.ArtifactResolver}"
|
||||
* @component role="org.apache.maven.artifact.resolver.ArtifactResolver"
|
||||
* @required
|
||||
* @readonly
|
||||
* @todo waiting for the component tag
|
||||
*/
|
||||
private ArtifactResolver artifactResolver;
|
||||
|
||||
/**
|
||||
* Artifact factory, needed to download source jars for inclusion in classpath.
|
||||
*
|
||||
* @parameter expression="${component.org.apache.maven.artifact.factory.ArtifactFactory}"
|
||||
* @component role="org.apache.maven.artifact.factory.ArtifactFactory"
|
||||
* @required
|
||||
* @readonly
|
||||
* @todo waiting for the component tag
|
||||
*/
|
||||
private ArtifactFactory artifactFactory;
|
||||
|
||||
|
|
Loading…
Reference in New Issue