scala-steward
scala-steward copied to clipboard
Maven build plugin versions do not get updated
It seems that a version referenced in a <project> <build> <plugins> <plugin> <version> path never gets updated.
For example, scala-maven-plugin never gets updated.
Checking the source code, it looks like the dependency:list Maven command does not list plugin dependencies.
Maybe similar to https://github.com/scala-steward-org/scala-steward/issues/2099
Compared to #2099, it looks like Scala Steward does not detect the update at all, let alone try to update the version.
There is no log related to any Maven plugin version update.
I think one possibility for Scala Steward to retrieve the build plugins too would be to call mvn help:effective-pom in MavenAlg and to extract the plugins from that.
In a second step the effective POM could also be used instead of list:dependencies and list:repositories to also retrieve dependencies and their resolvers. Advantages of that would be that we would call mvn only once and could use a plain XML parser for parsing the effective POM.