o Extended plugin to dump dependency artifacts as well

git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@805000 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-08-17 14:58:03 +00:00
parent 0dc945b22d
commit e71f2bcb58
1 changed files with 11 additions and 0 deletions

View File

@ -45,6 +45,16 @@ public class TestMojo
*/
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
@ -83,6 +93,7 @@ public class TestMojo
try
{
writeArtifacts( projectArtifacts, project.getArtifacts() );
writeArtifacts( dependencyArtifacts, project.getDependencyArtifacts() );
writeArtifacts( testArtifacts, project.getTestArtifacts() );
writeClassPath( testClassPath, project.getTestClasspathElements() );
writeClassPathChecksums( testClassPathChecksums, project.getTestClasspathElements() );