maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bentm...@apache.org
Subject svn commit: r881722 - /maven/plugins/branches/maven-site-plugin-3.x/src/main/java/org/apache/maven/plugins/site/DefaultMavenReportExecutor.java
Date Wed, 18 Nov 2009 11:20:41 GMT
Author: bentmann
Date: Wed Nov 18 11:20:40 2009
New Revision: 881722

URL: http://svn.apache.org/viewvc?rev=881722&view=rev
Log:
o Fixed repository request

Modified:
    maven/plugins/branches/maven-site-plugin-3.x/src/main/java/org/apache/maven/plugins/site/DefaultMavenReportExecutor.java

Modified: maven/plugins/branches/maven-site-plugin-3.x/src/main/java/org/apache/maven/plugins/site/DefaultMavenReportExecutor.java
URL: http://svn.apache.org/viewvc/maven/plugins/branches/maven-site-plugin-3.x/src/main/java/org/apache/maven/plugins/site/DefaultMavenReportExecutor.java?rev=881722&r1=881721&r2=881722&view=diff
==============================================================================
--- maven/plugins/branches/maven-site-plugin-3.x/src/main/java/org/apache/maven/plugins/site/DefaultMavenReportExecutor.java
(original)
+++ maven/plugins/branches/maven-site-plugin-3.x/src/main/java/org/apache/maven/plugins/site/DefaultMavenReportExecutor.java
Wed Nov 18 11:20:40 2009
@@ -94,11 +94,7 @@
        
         RepositoryRequest repositoryRequest = new DefaultRepositoryRequest();
         repositoryRequest.setLocalRepository( mavenReportExecutorRequest.getLocalRepository()
);
-        
-        List<ArtifactRepository> remoteRepositories =
-            new ArrayList<ArtifactRepository>( mavenReportExecutorRequest.getProject().getRemoteArtifactRepositories()
);
-        remoteRepositories.addAll( mavenReportExecutorRequest.getProject().getPluginArtifactRepositories()
);
-        repositoryRequest.setRemoteRepositories( remoteRepositories );
+        repositoryRequest.setRemoteRepositories( mavenReportExecutorRequest.getProject().getPluginArtifactRepositories()
);
 
         try
         {



Mime
View raw message