mirror of
https://github.com/apache/maven.git
synced 2025-02-28 21:59:13 +00:00
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:
parent
7fcf47aa8c
commit
cc47645398
@ -533,7 +533,14 @@ public void testReadPOMWithParentInOtherLocalFileWithBadRelativePath()
|
||||
writeModel( current, currentPOM );
|
||||
|
||||
// 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,
|
||||
false, true );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user