maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vmas...@apache.org
Subject svn commit: r390632 - /maven/plugins/trunk/maven-clover-plugin/src/main/java/org/apache/maven/plugin/clover/CloverInstrumentInternalMojo.java
Date Sat, 01 Apr 2006 09:57:43 GMT
Author: vmassol
Date: Sat Apr  1 01:57:42 2006
New Revision: 390632

URL: http://svn.apache.org/viewcvs?rev=390632&view=rev
Log:
MCLOVER-26: dependencies omitted from classpath during clover compile

Modified:
    maven/plugins/trunk/maven-clover-plugin/src/main/java/org/apache/maven/plugin/clover/CloverInstrumentInternalMojo.java

Modified: maven/plugins/trunk/maven-clover-plugin/src/main/java/org/apache/maven/plugin/clover/CloverInstrumentInternalMojo.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-clover-plugin/src/main/java/org/apache/maven/plugin/clover/CloverInstrumentInternalMojo.java?rev=390632&r1=390631&r2=390632&view=diff
==============================================================================
--- maven/plugins/trunk/maven-clover-plugin/src/main/java/org/apache/maven/plugin/clover/CloverInstrumentInternalMojo.java
(original)
+++ maven/plugins/trunk/maven-clover-plugin/src/main/java/org/apache/maven/plugin/clover/CloverInstrumentInternalMojo.java
Sat Apr  1 01:57:42 2006
@@ -85,7 +85,7 @@
 
     /**
      * {@inheritDoc}
-     * @see org.apache.maven.plugin.clover.AbstractCloverMojo#execute()  
+     * @see org.apache.maven.plugin.clover.AbstractCloverMojo#execute()
      */
     public void execute()
         throws MojoExecutionException
@@ -202,8 +202,8 @@
                                                  cloverArtifact.getVersion(), Artifact.SCOPE_COMPILE,
                                                  cloverArtifact.getType() );
 
-        // TODO: use addArtifacts
-        Set set = new HashSet( this.project.getDependencyArtifacts() );
+        // TODO: use addArtifacts when it's implemented, see http://jira.codehaus.org/browse/MNG-2197
+        Set set = new HashSet( this.project.getArtifacts() );
         set.add( cloverArtifact );
         this.project.setDependencyArtifacts( set );
     }



Mime
View raw message