Folks,

I am trying to investigate an issue with MINSTALL 3.0.0-M1 for MNG-6556 where the GroupRepositoryMetadata file is simply not written to disk, thus the IT for MNG-3372 is failing.

As far as I can see everything in Maven 2 for this task has been moved to Maven Artifact Transfer, Maven31ArtifactInstaller.

I do see in
for ( ArtifactMetadata metadata : mavenArtifact.getMetadataList() )
everything I need is there, but the instanceof tests simply ignore this kind of metadata and it is never persisted to disk. I am a bit lost because it looks like a several issue in our codebase. Is the IT flawed and should exclude the Maven version which will include MNG-6556 or am I just too stupid to see the obvious?

Here is a simple reproducer:
* Clone MINSTALL
* Open pom.xml and add MINSTALL 3.0.0-M1 to override from parent
* Delete org/apache/maven/plugins from your local repo
* Use Maven 3.6.1 to install MINSTALL 3.0.0-M2-SNAPSHOT

maven-metadata-local.xml will *not* be generated, remove change in pom.xml and repeat, metadata file is there.

Would be nice if someone can confirm this.

Michael


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to