-
Notifications
You must be signed in to change notification settings - Fork 70
Description
Nils Breunese opened MWRAPPER-134 and commented
I use Renovate to automatically keep dependencies up-to-date and I noticed that the upgrade to Maven Wrapper 3.3.0 removed the wrapperUrl line from {}.mvn/wrapper/maven-wrapper.properties{}. I guess that is related to MWRAPPER-120.
A couple of my colleagues implemented the support for keeping Maven Wrapper up-to-date in Renovate, and I believe Renovate currently determines the version of Maven Wrapper based on the wrapperUrl property, so I think that logic may need to be updated after this change. Without the wrapperUrl property, I think currently the only option to determine the Maven Wrapper version is parsing the mvnw / mvnw.cmd scripts themselves, but that sounds like a clunky and unreliable way.
In a discussion on the maven-users mailinglist, the idea was posted to add a dedicated property for this (e.g. {}wrapperVersion{}), which can be read by external tools.
Affects: 3.3.0
Issue Links:
-
MWRAPPER-120 Maven wrapper plugin should not create wrapperUrl property for script-only mode
-
MWRAPPER-135 Provide a reliable way to determine the Maven Wrapper type
Remote Links: