Skip to content

Commit

Permalink
SHRINKRES-218: Have the test output directory available through org.j…
Browse files Browse the repository at this point in the history
…boss.shrinkwrap.resolver.api.maven.pom.ParsedPomFile
  • Loading branch information
johnpoth authored and kpiwko committed Mar 16, 2015
1 parent 5ff762e commit 58edf67
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,13 @@ public interface ParsedPomFile {
*/
File getTestSourceDirectory();

/**
* Returns a directory where project test output is stored. Might be {@code null}.
*
* @return
*/
File getTestOutputDirectory();

/**
* Returns
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,9 @@ public File getTestSourceDirectory() {
return new File(model.getBuild().getTestSourceDirectory());
}

@Override
public File getTestOutputDirectory() { return new File(model.getBuild().getTestOutputDirectory()); }

@Override
public Set<MavenDependency> getDependencyManagement() {

Expand Down

0 comments on commit 58edf67

Please sign in to comment.