MaxonT opened a new pull request, #1367: URL: https://github.com/apache/maven-site-plugin/pull/1367
Looking at the Maven 3 deprecation list for this plugin, one class turned out to be unused, so this takes it out; tell me if you would rather have it ported instead. Issue #1366 lists three deprecated Maven 3 types still used in this repository: `AbstractArtifactMetadata`, `ArtifactMetadata` and `ArtifactRepository`. All three appear in one file, `SiteDescriptorArtifactMetadata.java`. Nothing else refers to that class. I grepped the text-complete checkout (every text file, no history) for `SiteDescriptorArtifactMetadata` and for `ArtifactMetadata`, and the only hits were the class itself. It has no component descriptor or resource entry either, and the plugin descriptor is generated from the Mojo annotations. So instead of porting the class to Resolver's `Metadata`, which would mean writing an implementation nobody calls, this removes it. That takes all three deprecated usages out in one step and changes no Mojo, parameter or behaviour. If you would rather keep the class and port it to `org.eclipse.aether.metadata.Metadata`, I am happy to do that instead, just say so. Closes #1366. ### How was this tested? - `mvn -B verify -Prun-its` on this head with Maven 3.9.9 and OpenJDK 25: exit code 0. The surefire reports show 17 unit tests, 0 failures and 0 errors, and the 65 invoker reports under `target/invoker-reports` contain no failure or error element. - Not run: other JDK versions and the Maven 4 build profile. CI will cover whatever matrix the repository runs. -- 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]
