maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fgi...@apache.org
Subject svn commit: r332364 - /maven/components/trunk/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseUtils.java
Date Thu, 10 Nov 2005 20:18:19 GMT
Author: fgiust
Date: Thu Nov 10 12:18:16 2005
New Revision: 332364

URL: http://svn.apache.org/viewcvs?rev=332364&view=rev
Log:
add a comment about why the fix missing optional artifacts method is required

Modified:
    maven/components/trunk/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseUtils.java

Modified: maven/components/trunk/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseUtils.java
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseUtils.java?rev=332364&r1=332363&r2=332364&view=diff
==============================================================================
--- maven/components/trunk/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseUtils.java
(original)
+++ maven/components/trunk/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseUtils.java
Thu Nov 10 12:18:16 2005
@@ -299,9 +299,12 @@
      * @todo MNG-1384 optional dependencies not resolved while compiling from a master project

      * Direct optional artifacts are not included in the list returned by project.getTestArtifacts()
      * .classpath should include ANY direct dependency, and optional dependencies are required
to compile
+     * This is fixed in mvn 2.0.1 but this method is needed for compatibility with the 2.0
release. Do not remove!
      */
-    public static void fixMissingOptionalArtifacts(                                     
             Collection artifacts, Collection depArtifacts, ArtifactRepository localRepository,
-                                                   ArtifactResolver artifactResolver, List
remoteArtifactRepositories,Log log )
+    public static void fixMissingOptionalArtifacts( Collection artifacts, Collection depArtifacts,
+                                                   ArtifactRepository localRepository,
+                                                   ArtifactResolver artifactResolver, List
remoteArtifactRepositories,
+                                                   Log log )
     {
         for ( Iterator it = depArtifacts.iterator(); it.hasNext(); )
         {



Mime
View raw message