slachiewicz opened a new pull request, #502: URL: https://github.com/apache/maven-install-plugin/pull/502
Part of #501, following the closed #497. Replaces the six `install-file-minstall-121*` integration tests with one parameterized JUnit 5 test. Each case supplies `file`, `pomFile`, `packaging` and the expected extension, and asserts the exact installed artifact and POM paths, the `maven-metadata-local.xml` path, continued existence of the source files, and that the installed POM matches the supplied one byte for byte. All six cases are preserved: `maven-plugin`, `bundle`, `java-source`, `maven-archetype`, `tar.gz`/`war` and `war`. Also removes two exact duplicates: - `install-file-missing-file` — added `fileDoesNotExists` asserting `MojoFailureException` with the "does not exist" message and that nothing is installed. - `local-repo-override` — already covered by `installFileToLocalRepositoryOverrideDoesNotCreateChecksums`. Unit tests went from 38 to 45; all pass. Added `junit-jupiter-params` in test scope. No production code changed, no Plexus Utils added. Verification (JDK 21, Maven 3.9.16): `mvn -o -B test spotless:check` → 45/45 green, 0 Checkstyle violations. The deleted ITs were not run separately; their assertions are covered by the new unit test and the existing duplicate. -- 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]
