maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r989374 - /maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/AbstractSiteRenderingMojo.java
Date Wed, 25 Aug 2010 21:20:28 GMT
Author: hboutemy
Date: Wed Aug 25 21:20:28 2010
New Revision: 989374

URL: http://svn.apache.org/viewvc?rev=989374&view=rev
Log:
added missing Java 5 generics

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=989374&r1=989373&r2=989374&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
Wed Aug 25 21:20:28 2010
@@ -20,6 +20,7 @@ package org.apache.maven.plugins.site;
  */
 
 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;
@@ -70,7 +71,7 @@ public abstract class AbstractSiteRender
      *
      * @parameter
      */
-    protected Map moduleExcludes;
+    protected Map<String, String> moduleExcludes;
 
     /**
      * The component for assembling inheritance.
@@ -92,7 +93,7 @@ public abstract class AbstractSiteRender
      * @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
      * @parameter expression="${project.remoteArtifactRepositories}"
      */
-    protected List repositories;
+    protected List<ArtifactRepository> repositories;
 
     /**
      * The component used for creating artifact instances.



Mime
View raw message