Howdy,

In general looks ok (aside the plugin artifactId, that is a valid concern),
but here are few remarks:
* get rid org.apache.maven.shared.dependency.graph.DependencyGraphBuilder
(maven-dependency-tree). While not officially deprecated (yet), this
suffers from same issues as all other legacy/maven2 things (MAT for
example), (mis)uses project building request everywhere, uses deprecated
classes (ArtifactRepository), etc
* while not a problem per se, I find use of mojo-executor problematic,
especially in cases where the plugin invokes itself (RunMojo)? (the other
use is dependency:tree that could be replaced with that refactoring above)
* I'd avoid the use of mrm plugin. You already pull Jetty, simplest (and
most straightforward and least error prone) is to just fire up Jetty to
serve files from somewhere as "remote repository" as in that case you are
100% in control of what is being served, while with MRM you are not.

HTH
Tamas


On Fri, Jun 23, 2023 at 5:20 PM Basil Crow <[email protected]> wrote:

> I recently attempted to modernize the HPI plugin used in the Jenkins
> project:
>
> https://github.com/jenkinsci/maven-hpi-plugin
>
> This plugin has a Maven baseline of 3.8.1. I think I migrated all
> usages away from deprecated functionality and onto the recommended
> modern Maven functionality.
>
> If a Maven developer could audit this plugin and let me know if
> anything else should be updated, I would be grateful.
>
> Thanks,
> Basil
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to