mirror of https://github.com/apache/archiva.git
o make sure directory exists to keep tests from failing
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@414450 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bc577a44eb
commit
369ed5bd43
|
@ -24,7 +24,7 @@ import java.util.Iterator;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
* @plexus.component role-hint="default"
|
||||||
*/
|
*/
|
||||||
public class DefaultArtifactReporter
|
public class DefaultArtifactReporter
|
||||||
implements ArtifactReporter
|
implements ArtifactReporter
|
||||||
|
|
|
@ -71,6 +71,11 @@ public class DuplicateArtifactFileReportProcessor
|
||||||
//@todo remove hard-coded value; current value enables tests to pass!
|
//@todo remove hard-coded value; current value enables tests to pass!
|
||||||
File indexPath = new File( "target/.index" );
|
File indexPath = new File( "target/.index" );
|
||||||
|
|
||||||
|
if ( !indexPath.exists() )
|
||||||
|
{
|
||||||
|
indexPath.mkdirs();
|
||||||
|
}
|
||||||
|
|
||||||
RepositoryIndex index;
|
RepositoryIndex index;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue