gnodet opened a new pull request, #456: URL: https://github.com/apache/maven-install-plugin/pull/456
## Problem When `jar:jar` is run on a `pom`-packaged project followed by `install:install`, the JAR produced by `jar:jar` gets installed at the POM coordinates instead of the actual POM file. See [MINSTALL-315](https://issues.apache.org/jira/browse/MINSTALL-315). ## Fix The root cause is in `DefaultArtifactManager.getPath()` in Maven core — see apache/maven#13256. ## This PR Adds a regression IT (`minstall-315-pom-packaged-jar-jar`) that: 1. Runs `jar:jar install:install` on a `pom`-packaged project 2. Verifies the installed file at the POM coordinates is an XML file (not a ZIP/JAR) 3. Verifies no `.jar` was installed under the POM coordinates The IT requires the Maven core fix (apache/maven#13256) to pass. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
