mirror of https://github.com/apache/maven.git
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:
parent
0dc945b22d
commit
e71f2bcb58
|
@ -45,6 +45,16 @@ public class TestMojo
|
||||||
*/
|
*/
|
||||||
private String projectArtifacts;
|
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
|
* 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
|
* 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
|
try
|
||||||
{
|
{
|
||||||
writeArtifacts( projectArtifacts, project.getArtifacts() );
|
writeArtifacts( projectArtifacts, project.getArtifacts() );
|
||||||
|
writeArtifacts( dependencyArtifacts, project.getDependencyArtifacts() );
|
||||||
writeArtifacts( testArtifacts, project.getTestArtifacts() );
|
writeArtifacts( testArtifacts, project.getTestArtifacts() );
|
||||||
writeClassPath( testClassPath, project.getTestClasspathElements() );
|
writeClassPath( testClassPath, project.getTestClasspathElements() );
|
||||||
writeClassPathChecksums( testClassPathChecksums, project.getTestClasspathElements() );
|
writeClassPathChecksums( testClassPathChecksums, project.getTestClasspathElements() );
|
||||||
|
|
Loading…
Reference in New Issue