slachiewicz opened a new pull request, #505:
URL: https://github.com/apache/maven-install-plugin/pull/505

   Part of #501, following #502/#503. Companion to #504 on the 3.x line. This 
branch remains Maven 4 only.
   
   Converts all seven remaining file-existence ITs into focused JUnit 5 tests 
with descriptive names: release jar, release jar with attached sources, release 
POM, snapshot jar, snapshot POM, install-file with inherited coordinates and a 
preserved source POM, and install-file with sources/javadoc attachments. Each 
preserves the exact installed artifact set and repository paths, all 
no-checksum assertions, and both group- and version-level metadata paths for 
snapshots.
   
   `InstallTestHelper` gains helpers for the metadata paths. As before, the 
Maven 4 `@MojoTest` harness mocks the real `ArtifactInstaller`, so metadata 
existence is asserted through the coordinate-derived paths from 
`Session.getPathForLocalArtifact(...)`; this is documented in Javadoc rather 
than silently dropped.
   
   Unit tests went from 51 to 58; all pass. No production code changed, no 
Plexus Utils added, no JIRA ids in test names.
   
   Verification (JDK 21, Maven 4.0.0-rc-7): `mvn -o -B clean test 
spotless:check` → 58/58 green, 0 Checkstyle violations.
   
   Only reactor/parallel/`-f`/embedded-POM/setup ITs remain.


-- 
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]

Reply via email to