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:
Fabrizio Giustina 2005-10-30 15:09:53 +00:00
parent 3f1e75f324
commit 1a591d55b8
1 changed files with 2 additions and 4 deletions

View File

@ -76,20 +76,18 @@ public class EclipsePlugin
/** /**
* Artifact resolver, needed to download source jars for inclusion in classpath. * 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 * @required
* @readonly * @readonly
* @todo waiting for the component tag
*/ */
private ArtifactResolver artifactResolver; private ArtifactResolver artifactResolver;
/** /**
* Artifact factory, needed to download source jars for inclusion in classpath. * 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 * @required
* @readonly * @readonly
* @todo waiting for the component tag
*/ */
private ArtifactFactory artifactFactory; private ArtifactFactory artifactFactory;