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:
Jason van Zyl 2006-06-15 03:54:50 +00:00
parent bc577a44eb
commit 369ed5bd43
2 changed files with 6 additions and 1 deletions

View File

@ -24,7 +24,7 @@ import java.util.Iterator;
import java.util.List;
/**
*
* @plexus.component role-hint="default"
*/
public class DefaultArtifactReporter
implements ArtifactReporter

View File

@ -71,6 +71,11 @@ public class DuplicateArtifactFileReportProcessor
//@todo remove hard-coded value; current value enables tests to pass!
File indexPath = new File( "target/.index" );
if ( !indexPath.exists() )
{
indexPath.mkdirs();
}
RepositoryIndex index;
try
{