Fixing a unit test.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@593694 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
John Dennis Casey 2007-11-09 23:35:24 +00:00
parent 7fcf47aa8c
commit cc47645398

View File

@ -533,7 +533,14 @@ public void testReadPOMWithParentInOtherLocalFileWithBadRelativePath()
writeModel( current, currentPOM ); writeModel( current, currentPOM );
// 7. build the lineage. // 7. build the lineage.
ModelLineage lineage = modelLineageBuilder.buildModelLineage( currentPOM, null, File localRepoRootDirectory = createTempDir( "localRepoRootDir" );
ArtifactRepository localRepository = new DefaultArtifactRepository(
"local",
localRepoRootDirectory.toURL()
.toExternalForm(),
defaultLayout );
ModelLineage lineage = modelLineageBuilder.buildModelLineage( currentPOM, localRepository,
Collections.EMPTY_LIST, null, Collections.EMPTY_LIST, null,
false, true ); false, true );