rfscholte commented on a change in pull request #286: [MNG-6656] Introduce base
for build/consumer process
URL: https://github.com/apache/maven/pull/286#discussion_r386045562
##########
File path:
maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
##########
@@ -140,7 +121,11 @@ protected static File getFileForClasspathResource( String
resource )
protected ArtifactRepository getLocalRepository()
throws Exception
{
- return repositorySystem.createLocalRepository(
getLocalRepositoryPath() );
+ ArtifactRepositoryLayout repoLayout = lookup(
ArtifactRepositoryLayout.class, "legacy" );
+
+ ArtifactRepository r = repositorySystem.createArtifactRepository(
"local", "file://" + getLocalRepositoryPath().getAbsolutePath(), repoLayout,
null, null );
Review comment:
I restored the unittest, so now it is back in its original state with the
bad createArtifactRepository.
Let's fix that in a separate issue, this one is already too big.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services