You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by br...@apache.org on 2005/10/13 18:30:52 UTC

svn commit: r320794 - /maven/components/trunk/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseClasspathWriter.java

Author: brett
Date: Thu Oct 13 09:30:48 2005
New Revision: 320794

URL: http://svn.apache.org/viewcvs?rev=320794&view=rev
Log:
PR: MNG-578
use test artifacts - its the widest scope so includes everything, but also does a "isAddedToClasspath" check so only jar, ejb, etc are added.

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

Modified: maven/components/trunk/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseClasspathWriter.java
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseClasspathWriter.java?rev=320794&r1=320793&r2=320794&view=diff
==============================================================================
--- maven/components/trunk/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseClasspathWriter.java (original)
+++ maven/components/trunk/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseClasspathWriter.java Thu Oct 13 09:30:48 2005
@@ -127,7 +127,7 @@
         // The dependencies
         // ----------------------------------------------------------------------
 
-        Set artifacts = project.getArtifacts();
+        List artifacts = project.getTestArtifacts();
 
         for ( Iterator it = artifacts.iterator(); it.hasNext(); )
         {