You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2009/08/17 16:58:03 UTC

svn commit: r805000 - /maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-dependency-resolution/src/main/java/org/apache/maven/plugin/coreit/TestMojo.java

Author: bentmann
Date: Mon Aug 17 14:58:03 2009
New Revision: 805000

URL: http://svn.apache.org/viewvc?rev=805000&view=rev
Log:
o Extended plugin to dump dependency artifacts as well

Modified:
    maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-dependency-resolution/src/main/java/org/apache/maven/plugin/coreit/TestMojo.java

Modified: maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-dependency-resolution/src/main/java/org/apache/maven/plugin/coreit/TestMojo.java
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-dependency-resolution/src/main/java/org/apache/maven/plugin/coreit/TestMojo.java?rev=805000&r1=804999&r2=805000&view=diff
==============================================================================
--- maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-dependency-resolution/src/main/java/org/apache/maven/plugin/coreit/TestMojo.java (original)
+++ maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-dependency-resolution/src/main/java/org/apache/maven/plugin/coreit/TestMojo.java Mon Aug 17 14:58:03 2009
@@ -46,6 +46,16 @@
     private String projectArtifacts;
 
     /**
+     * The path to the output file for the direct project artifacts, relative to the project base directory. Each line
+     * of this UTF-8 encoded file specifies an artifact identifier. If not specified, the artifact list will not be
+     * written to disk. Unlike the test artifacts, the collection of direct project artifacts additionally contains
+     * those artifacts that do not contribute to the class path.
+     * 
+     * @parameter expression="${depres.dependencyArtifacts}"
+     */
+    private String dependencyArtifacts;
+
+    /**
      * The path to the output file for the test artifacts, relative to the project base directory. Each line of this
      * UTF-8 encoded file specifies an artifact identifier. If not specified, the artifact list will not be written to
      * disk.
@@ -83,6 +93,7 @@
         try
         {
             writeArtifacts( projectArtifacts, project.getArtifacts() );
+            writeArtifacts( dependencyArtifacts, project.getDependencyArtifacts() );
             writeArtifacts( testArtifacts, project.getTestArtifacts() );
             writeClassPath( testClassPath, project.getTestClasspathElements() );
             writeClassPathChecksums( testClassPathChecksums, project.getTestClasspathElements() );