You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[MWRAPPER-134] Provide a reliable way to determine the Maven Wrapper version #249
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
Nils Breunese
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.
Activity
jira-importer commentedon May 6, 2024
Damiano Albani commented
Do you have information to share about the change in Renovate Bot to support this new "wrapperVersion"?
I couldn't find anything relevant on https://github.com/renovatebot/renovate/.
jira-importer commentedon May 6, 2024
Nils Breunese commented
Damiano Albani See here: renovatebot/renovate#28648. A colleague of mine is willing to work on this, but hasn't found the time for it yet.