You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Damiano Albani (Jira)" <ji...@apache.org> on 2024/05/06 09:06:00 UTC

[jira] [Commented] (MWRAPPER-134) Provide a reliable way to determine the Maven Wrapper version

    [ https://issues.apache.org/jira/browse/MWRAPPER-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17843686#comment-17843686 ] 

Damiano Albani commented on MWRAPPER-134:
-----------------------------------------

{quote}[~breun] 
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.
{quote}
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/.

> Provide a reliable way to determine the Maven Wrapper version
> -------------------------------------------------------------
>
>                 Key: MWRAPPER-134
>                 URL: https://issues.apache.org/jira/browse/MWRAPPER-134
>             Project: Maven Wrapper
>          Issue Type: Improvement
>          Components: Maven Wrapper Plugin
>    Affects Versions: 3.3.0
>            Reporter: Nils Breunese
>            Assignee: Tamas Cservenak
>            Priority: Normal
>             Fix For: 3.3.1
>
>
> I use [Renovate|https://github.com/renovatebot/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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)