maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r751087 - /maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/MavenProject.java
Date Fri, 06 Mar 2009 21:44:20 GMT
Author: jvanzyl
Date: Fri Mar  6 21:44:20 2009
New Revision: 751087

URL: http://svn.apache.org/viewvc?rev=751087&view=rev
Log:
o don't need to process repositories, they will be processed up front

Modified:
    maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/MavenProject.java

Modified: maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/MavenProject.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/MavenProject.java?rev=751087&r1=751086&r2=751087&view=diff
==============================================================================
--- maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/MavenProject.java
(original)
+++ maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/MavenProject.java
Fri Mar  6 21:44:20 2009
@@ -243,29 +243,7 @@
             }
         }
 
-        setRemoteArtifactRepositories( projectBuilderConfiguration.getRemoteRepositories()
);
-        
-        /*
-        try
-        {
-            Set<Repository> repoSet = new LinkedHashSet<Repository>();
-            if ( ( model.getRepositories() != null ) && !model.getRepositories().isEmpty()
)
-            {
-                repoSet.addAll( model.getRepositories() );
-            }
-
-            if ( ( model.getPluginRepositories() != null ) && !model.getPluginRepositories().isEmpty()
)
-            {
-                repoSet.addAll( model.getPluginRepositories() );
-            }
-
-            setRemoteArtifactRepositories( repositorySystem.buildArtifactRepositories( new
ArrayList<Repository>( repoSet ) ) );
-        }
-        catch ( Exception e )
-        {
-            e.printStackTrace();
-        }
-        */
+        setRemoteArtifactRepositories( projectBuilderConfiguration.getRemoteRepositories()
);       
     }
 
     /**



Mime
View raw message