maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1078268 - /maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/AbstractSiteRenderingMojo.java
Date Sat, 05 Mar 2011 10:57:28 GMT
Author: hboutemy
Date: Sat Mar  5 10:57:28 2011
New Revision: 1078268

URL: http://svn.apache.org/viewvc?rev=1078268&view=rev
Log:
code cleanup: removed unused attributes
merged from maven-site-plugin-3.x branch r1078257

Modified:
    maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/AbstractSiteRenderingMojo.java

Modified: maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/AbstractSiteRenderingMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/AbstractSiteRenderingMojo.java?rev=1078268&r1=1078267&r2=1078268&view=diff
==============================================================================
--- maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/AbstractSiteRenderingMojo.java
(original)
+++ maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/AbstractSiteRenderingMojo.java
Sat Mar  5 10:57:28 2011
@@ -30,9 +30,7 @@ import java.util.List;
 import java.util.Locale;
 import java.util.Map;
 
-import org.apache.maven.artifact.factory.ArtifactFactory;
 import org.apache.maven.artifact.repository.ArtifactRepository;
-import org.apache.maven.artifact.resolver.ArtifactResolver;
 import org.apache.maven.doxia.sink.render.RenderingContext;
 import org.apache.maven.doxia.site.decoration.DecorationModel;
 import org.apache.maven.doxia.site.decoration.Menu;
@@ -85,13 +83,6 @@ public abstract class AbstractSiteRender
     protected DecorationModelInheritanceAssembler assembler;
 
     /**
-     * The component that is used to resolve additional artifacts required.
-     *
-     * @component
-     */
-    protected ArtifactResolver artifactResolver;
-
-    /**
      * Remote repositories used for the project.
      *
      * @todo this is used for site descriptor resolution - it should relate to the actual
project but for some reason they are not always filled in
@@ -101,13 +92,6 @@ public abstract class AbstractSiteRender
     protected List<ArtifactRepository> repositories;
 
     /**
-     * The component used for creating artifact instances.
-     *
-     * @component
-     */
-    protected ArtifactFactory artifactFactory;
-
-    /**
      * Directory containing the template page.
      *
      * @parameter expression="${templateDirectory}" default-value="src/site"



Mime
View raw message