You are viewing a plain text version of this content. The canonical link for it is here.
Posted to announce@maven.apache.org by Tamás Cservenák <cs...@apache.org> on 2024/04/20 09:11:01 UTC
[ANN] Apache Maven Wrapper 3.3.0 Released
The Apache Maven team is pleased to announce the release of the Apache
Maven Wrapper, version 3.3.0
The Maven Wrapper is an easy way to ensure a user of your Maven build has
everything necessary to run your Maven build.
See https://maven.apache.org/wrapper/ for instructions on how to use Maven
Wrapper.
You can download the appropriate sources etc. from the download page:
https://maven.apache.org/wrapper/download.html
Release Notes - Maven Wrapper - Version 3.3.0
** Bug
* [MWRAPPER-86] - Trim trailing slash in Repo URL
* [MWRAPPER-103] - Failed to validate Maven Wrapper SHA-256 on Windows
* [MWRAPPER-108] - mvnw script fails silently when download fails
* [MWRAPPER-112] - Detection of JAVA_HOME fails due to bad quoting
* [MWRAPPER-113] - Error and warning output goes to standard output and
intermingles with Maven output
* [MWRAPPER-120] - Maven wrapper plugin should not create wrapperUrl
property for script-only mode
* [MWRAPPER-123] - only-mvnw fails on ksh printf implementations
* [MWRAPPER-131] - Downloader downloads directly into target file
** Improvement
* [MWRAPPER-70] - Don't require a pom.xml
* [MWRAPPER-104] - Add prettier config for shell scripts
* [MWRAPPER-124] - MavenWrapperDownloader uses new URL(String), which
is deprecated in Java 21
* [MWRAPPER-125] - Make "only-script" the default wrapper
** Task
* [MWRAPPER-128] - Remove legacy
* [MWRAPPER-129] - Set plugin prerequisite to Maven 3.6.3
** Dependency upgrade
* [MWRAPPER-100] - Declare needed dependencies
* [MWRAPPER-115] - Bump org.codehaus.plexus:plexus-archiver from 4.6.2
to 4.9.1
* [MWRAPPER-118] - Bump org.codehaus.mojo:mrm-maven-plugin from 1.5.0
to 1.6.0
* [MWRAPPER-119] - Upgrade Parent to 41
* [MWRAPPER-126] - Upgrade org.codehaus.plexus:plexus-archiver to 4.9.2
* [MWRAPPER-127] - Bump commons-io:commons-io from 2.16.0 to 2.16.1
* [MWRAPPER-130] - Use Maven parent 42
Enjoy,
-The Apache Maven team
Re: [ANN] Apache Maven Wrapper 3.3.0 Released
Posted by Slawomir Jaranowski <s....@gmail.com>.
Hi,
Looks like adding new property like "wrapperVersion" to
"maven-wrapper.prproperties" will be the best option.
External tools simply can read it instead of parsing from other values.
pon., 22 kwi 2024 o 11:49 Nils Breunese <ni...@breun.nl> napisał(a):
> I use Renovate [0] to automatically keep dependencies up-to-date. 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 https://issues.apache.org/jira/browse/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. Is parsing the `mvnw`
> / `./mvnw.bat` scripts themselves the only way to determine the Maven
> Wrapper version after this change?
>
> Nils.
>
> [0] https://github.com/renovatebot/renovate
>
> > Op 20 apr 2024, om 11:11 heeft Tamás Cservenák <cs...@apache.org> het
> volgende geschreven:
> >
> > The Apache Maven team is pleased to announce the release of the Apache
> > Maven Wrapper, version 3.3.0
> >
> > The Maven Wrapper is an easy way to ensure a user of your Maven build has
> > everything necessary to run your Maven build.
> >
> > See https://maven.apache.org/wrapper/ for instructions on how to use
> Maven
> > Wrapper.
> >
> > You can download the appropriate sources etc. from the download page:
> >
> > https://maven.apache.org/wrapper/download.html
> >
> > Release Notes - Maven Wrapper - Version 3.3.0
> >
> > ** Bug
> > * [MWRAPPER-86] - Trim trailing slash in Repo URL
> > * [MWRAPPER-103] - Failed to validate Maven Wrapper SHA-256 on Windows
> > * [MWRAPPER-108] - mvnw script fails silently when download fails
> > * [MWRAPPER-112] - Detection of JAVA_HOME fails due to bad quoting
> > * [MWRAPPER-113] - Error and warning output goes to standard output
> and
> > intermingles with Maven output
> > * [MWRAPPER-120] - Maven wrapper plugin should not create wrapperUrl
> > property for script-only mode
> > * [MWRAPPER-123] - only-mvnw fails on ksh printf implementations
> > * [MWRAPPER-131] - Downloader downloads directly into target file
> > ** Improvement
> > * [MWRAPPER-70] - Don't require a pom.xml
> > * [MWRAPPER-104] - Add prettier config for shell scripts
> > * [MWRAPPER-124] - MavenWrapperDownloader uses new URL(String), which
> > is deprecated in Java 21
> > * [MWRAPPER-125] - Make "only-script" the default wrapper
> > ** Task
> > * [MWRAPPER-128] - Remove legacy
> > * [MWRAPPER-129] - Set plugin prerequisite to Maven 3.6.3
> > ** Dependency upgrade
> > * [MWRAPPER-100] - Declare needed dependencies
> > * [MWRAPPER-115] - Bump org.codehaus.plexus:plexus-archiver from 4.6.2
> > to 4.9.1
> > * [MWRAPPER-118] - Bump org.codehaus.mojo:mrm-maven-plugin from 1.5.0
> > to 1.6.0
> > * [MWRAPPER-119] - Upgrade Parent to 41
> > * [MWRAPPER-126] - Upgrade org.codehaus.plexus:plexus-archiver to
> 4.9.2
> > * [MWRAPPER-127] - Bump commons-io:commons-io from 2.16.0 to 2.16.1
> > * [MWRAPPER-130] - Use Maven parent 42
> >
> > Enjoy,
> > -The Apache Maven team
>
>
--
Sławomir Jaranowski
Re: [ANN] Apache Maven Wrapper 3.3.0 Released
Posted by Nils Breunese <ni...@breun.nl>.
I’ve created a ticket for this: https://issues.apache.org/jira/browse/MWRAPPER-134
Nils.
> Op 22 apr 2024, om 12:30 heeft Tamás Cservenák <ta...@cservenak.net> het volgende geschreven:
>
> Agreed!
>
> On Mon, Apr 22, 2024 at 12:27 PM Slawomir Jaranowski <s....@gmail.com>
> wrote:
>
>> I would like to not add something which must be parsed in a magical way ...
>> we can add a property that can be simply used.
>>
>> pon., 22 kwi 2024 o 12:06 Tamás Cservenák <ta...@cservenak.net>
>> napisał(a):
>>
>>> Good call...
>>>
>>> seems so... maybe we need to add some (clearly visible/parsable) value
>> into
>>> script, probably interpolated during build?
>>>
>>> T
>>>
>>> On Mon, Apr 22, 2024 at 11:46 AM Nils Breunese <ni...@breun.nl> wrote:
>>>
>>>> I use Renovate [0] to automatically keep dependencies up-to-date. 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 https://issues.apache.org/jira/browse/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. Is parsing the
>>> `mvnw`
>>>> / `./mvnw.bat` scripts themselves the only way to determine the Maven
>>>> Wrapper version after this change?
>>>>
>>>> Nils.
>>>>
>>>> [0] https://github.com/renovatebot/renovate
>>>>
>>>>> Op 20 apr 2024, om 11:11 heeft Tamás Cservenák <cs...@apache.org>
>>> het
>>>> volgende geschreven:
>>>>>
>>>>> The Apache Maven team is pleased to announce the release of the
>> Apache
>>>>> Maven Wrapper, version 3.3.0
>>>>>
>>>>> The Maven Wrapper is an easy way to ensure a user of your Maven build
>>> has
>>>>> everything necessary to run your Maven build.
>>>>>
>>>>> See https://maven.apache.org/wrapper/ for instructions on how to use
>>>> Maven
>>>>> Wrapper.
>>>>>
>>>>> You can download the appropriate sources etc. from the download page:
>>>>>
>>>>> https://maven.apache.org/wrapper/download.html
>>>>>
>>>>> Release Notes - Maven Wrapper - Version 3.3.0
>>>>>
>>>>> ** Bug
>>>>> * [MWRAPPER-86] - Trim trailing slash in Repo URL
>>>>> * [MWRAPPER-103] - Failed to validate Maven Wrapper SHA-256 on
>>> Windows
>>>>> * [MWRAPPER-108] - mvnw script fails silently when download fails
>>>>> * [MWRAPPER-112] - Detection of JAVA_HOME fails due to bad quoting
>>>>> * [MWRAPPER-113] - Error and warning output goes to standard
>> output
>>>> and
>>>>> intermingles with Maven output
>>>>> * [MWRAPPER-120] - Maven wrapper plugin should not create
>> wrapperUrl
>>>>> property for script-only mode
>>>>> * [MWRAPPER-123] - only-mvnw fails on ksh printf implementations
>>>>> * [MWRAPPER-131] - Downloader downloads directly into target file
>>>>> ** Improvement
>>>>> * [MWRAPPER-70] - Don't require a pom.xml
>>>>> * [MWRAPPER-104] - Add prettier config for shell scripts
>>>>> * [MWRAPPER-124] - MavenWrapperDownloader uses new URL(String),
>>> which
>>>>> is deprecated in Java 21
>>>>> * [MWRAPPER-125] - Make "only-script" the default wrapper
>>>>> ** Task
>>>>> * [MWRAPPER-128] - Remove legacy
>>>>> * [MWRAPPER-129] - Set plugin prerequisite to Maven 3.6.3
>>>>> ** Dependency upgrade
>>>>> * [MWRAPPER-100] - Declare needed dependencies
>>>>> * [MWRAPPER-115] - Bump org.codehaus.plexus:plexus-archiver from
>>> 4.6.2
>>>>> to 4.9.1
>>>>> * [MWRAPPER-118] - Bump org.codehaus.mojo:mrm-maven-plugin from
>>> 1.5.0
>>>>> to 1.6.0
>>>>> * [MWRAPPER-119] - Upgrade Parent to 41
>>>>> * [MWRAPPER-126] - Upgrade org.codehaus.plexus:plexus-archiver to
>>>> 4.9.2
>>>>> * [MWRAPPER-127] - Bump commons-io:commons-io from 2.16.0 to
>> 2.16.1
>>>>> * [MWRAPPER-130] - Use Maven parent 42
>>>>>
>>>>> Enjoy,
>>>>> -The Apache Maven team
>>>>
>>>>
>>>
>>
>>
>> --
>> Sławomir Jaranowski
>>
Re: [ANN] Apache Maven Wrapper 3.3.0 Released
Posted by Tamás Cservenák <ta...@cservenak.net>.
Agreed!
On Mon, Apr 22, 2024 at 12:27 PM Slawomir Jaranowski <s....@gmail.com>
wrote:
> I would like to not add something which must be parsed in a magical way ...
> we can add a property that can be simply used.
>
> pon., 22 kwi 2024 o 12:06 Tamás Cservenák <ta...@cservenak.net>
> napisał(a):
>
> > Good call...
> >
> > seems so... maybe we need to add some (clearly visible/parsable) value
> into
> > script, probably interpolated during build?
> >
> > T
> >
> > On Mon, Apr 22, 2024 at 11:46 AM Nils Breunese <ni...@breun.nl> wrote:
> >
> > > I use Renovate [0] to automatically keep dependencies up-to-date. 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 https://issues.apache.org/jira/browse/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. Is parsing the
> > `mvnw`
> > > / `./mvnw.bat` scripts themselves the only way to determine the Maven
> > > Wrapper version after this change?
> > >
> > > Nils.
> > >
> > > [0] https://github.com/renovatebot/renovate
> > >
> > > > Op 20 apr 2024, om 11:11 heeft Tamás Cservenák <cs...@apache.org>
> > het
> > > volgende geschreven:
> > > >
> > > > The Apache Maven team is pleased to announce the release of the
> Apache
> > > > Maven Wrapper, version 3.3.0
> > > >
> > > > The Maven Wrapper is an easy way to ensure a user of your Maven build
> > has
> > > > everything necessary to run your Maven build.
> > > >
> > > > See https://maven.apache.org/wrapper/ for instructions on how to use
> > > Maven
> > > > Wrapper.
> > > >
> > > > You can download the appropriate sources etc. from the download page:
> > > >
> > > > https://maven.apache.org/wrapper/download.html
> > > >
> > > > Release Notes - Maven Wrapper - Version 3.3.0
> > > >
> > > > ** Bug
> > > > * [MWRAPPER-86] - Trim trailing slash in Repo URL
> > > > * [MWRAPPER-103] - Failed to validate Maven Wrapper SHA-256 on
> > Windows
> > > > * [MWRAPPER-108] - mvnw script fails silently when download fails
> > > > * [MWRAPPER-112] - Detection of JAVA_HOME fails due to bad quoting
> > > > * [MWRAPPER-113] - Error and warning output goes to standard
> output
> > > and
> > > > intermingles with Maven output
> > > > * [MWRAPPER-120] - Maven wrapper plugin should not create
> wrapperUrl
> > > > property for script-only mode
> > > > * [MWRAPPER-123] - only-mvnw fails on ksh printf implementations
> > > > * [MWRAPPER-131] - Downloader downloads directly into target file
> > > > ** Improvement
> > > > * [MWRAPPER-70] - Don't require a pom.xml
> > > > * [MWRAPPER-104] - Add prettier config for shell scripts
> > > > * [MWRAPPER-124] - MavenWrapperDownloader uses new URL(String),
> > which
> > > > is deprecated in Java 21
> > > > * [MWRAPPER-125] - Make "only-script" the default wrapper
> > > > ** Task
> > > > * [MWRAPPER-128] - Remove legacy
> > > > * [MWRAPPER-129] - Set plugin prerequisite to Maven 3.6.3
> > > > ** Dependency upgrade
> > > > * [MWRAPPER-100] - Declare needed dependencies
> > > > * [MWRAPPER-115] - Bump org.codehaus.plexus:plexus-archiver from
> > 4.6.2
> > > > to 4.9.1
> > > > * [MWRAPPER-118] - Bump org.codehaus.mojo:mrm-maven-plugin from
> > 1.5.0
> > > > to 1.6.0
> > > > * [MWRAPPER-119] - Upgrade Parent to 41
> > > > * [MWRAPPER-126] - Upgrade org.codehaus.plexus:plexus-archiver to
> > > 4.9.2
> > > > * [MWRAPPER-127] - Bump commons-io:commons-io from 2.16.0 to
> 2.16.1
> > > > * [MWRAPPER-130] - Use Maven parent 42
> > > >
> > > > Enjoy,
> > > > -The Apache Maven team
> > >
> > >
> >
>
>
> --
> Sławomir Jaranowski
>
Re: [ANN] Apache Maven Wrapper 3.3.0 Released
Posted by Slawomir Jaranowski <s....@gmail.com>.
I would like to not add something which must be parsed in a magical way ...
we can add a property that can be simply used.
pon., 22 kwi 2024 o 12:06 Tamás Cservenák <ta...@cservenak.net> napisał(a):
> Good call...
>
> seems so... maybe we need to add some (clearly visible/parsable) value into
> script, probably interpolated during build?
>
> T
>
> On Mon, Apr 22, 2024 at 11:46 AM Nils Breunese <ni...@breun.nl> wrote:
>
> > I use Renovate [0] to automatically keep dependencies up-to-date. 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 https://issues.apache.org/jira/browse/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. Is parsing the
> `mvnw`
> > / `./mvnw.bat` scripts themselves the only way to determine the Maven
> > Wrapper version after this change?
> >
> > Nils.
> >
> > [0] https://github.com/renovatebot/renovate
> >
> > > Op 20 apr 2024, om 11:11 heeft Tamás Cservenák <cs...@apache.org>
> het
> > volgende geschreven:
> > >
> > > The Apache Maven team is pleased to announce the release of the Apache
> > > Maven Wrapper, version 3.3.0
> > >
> > > The Maven Wrapper is an easy way to ensure a user of your Maven build
> has
> > > everything necessary to run your Maven build.
> > >
> > > See https://maven.apache.org/wrapper/ for instructions on how to use
> > Maven
> > > Wrapper.
> > >
> > > You can download the appropriate sources etc. from the download page:
> > >
> > > https://maven.apache.org/wrapper/download.html
> > >
> > > Release Notes - Maven Wrapper - Version 3.3.0
> > >
> > > ** Bug
> > > * [MWRAPPER-86] - Trim trailing slash in Repo URL
> > > * [MWRAPPER-103] - Failed to validate Maven Wrapper SHA-256 on
> Windows
> > > * [MWRAPPER-108] - mvnw script fails silently when download fails
> > > * [MWRAPPER-112] - Detection of JAVA_HOME fails due to bad quoting
> > > * [MWRAPPER-113] - Error and warning output goes to standard output
> > and
> > > intermingles with Maven output
> > > * [MWRAPPER-120] - Maven wrapper plugin should not create wrapperUrl
> > > property for script-only mode
> > > * [MWRAPPER-123] - only-mvnw fails on ksh printf implementations
> > > * [MWRAPPER-131] - Downloader downloads directly into target file
> > > ** Improvement
> > > * [MWRAPPER-70] - Don't require a pom.xml
> > > * [MWRAPPER-104] - Add prettier config for shell scripts
> > > * [MWRAPPER-124] - MavenWrapperDownloader uses new URL(String),
> which
> > > is deprecated in Java 21
> > > * [MWRAPPER-125] - Make "only-script" the default wrapper
> > > ** Task
> > > * [MWRAPPER-128] - Remove legacy
> > > * [MWRAPPER-129] - Set plugin prerequisite to Maven 3.6.3
> > > ** Dependency upgrade
> > > * [MWRAPPER-100] - Declare needed dependencies
> > > * [MWRAPPER-115] - Bump org.codehaus.plexus:plexus-archiver from
> 4.6.2
> > > to 4.9.1
> > > * [MWRAPPER-118] - Bump org.codehaus.mojo:mrm-maven-plugin from
> 1.5.0
> > > to 1.6.0
> > > * [MWRAPPER-119] - Upgrade Parent to 41
> > > * [MWRAPPER-126] - Upgrade org.codehaus.plexus:plexus-archiver to
> > 4.9.2
> > > * [MWRAPPER-127] - Bump commons-io:commons-io from 2.16.0 to 2.16.1
> > > * [MWRAPPER-130] - Use Maven parent 42
> > >
> > > Enjoy,
> > > -The Apache Maven team
> >
> >
>
--
Sławomir Jaranowski
Re: [ANN] Apache Maven Wrapper 3.3.0 Released
Posted by Tamás Cservenák <ta...@cservenak.net>.
Good call...
seems so... maybe we need to add some (clearly visible/parsable) value into
script, probably interpolated during build?
T
On Mon, Apr 22, 2024 at 11:46 AM Nils Breunese <ni...@breun.nl> wrote:
> I use Renovate [0] to automatically keep dependencies up-to-date. 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 https://issues.apache.org/jira/browse/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. Is parsing the `mvnw`
> / `./mvnw.bat` scripts themselves the only way to determine the Maven
> Wrapper version after this change?
>
> Nils.
>
> [0] https://github.com/renovatebot/renovate
>
> > Op 20 apr 2024, om 11:11 heeft Tamás Cservenák <cs...@apache.org> het
> volgende geschreven:
> >
> > The Apache Maven team is pleased to announce the release of the Apache
> > Maven Wrapper, version 3.3.0
> >
> > The Maven Wrapper is an easy way to ensure a user of your Maven build has
> > everything necessary to run your Maven build.
> >
> > See https://maven.apache.org/wrapper/ for instructions on how to use
> Maven
> > Wrapper.
> >
> > You can download the appropriate sources etc. from the download page:
> >
> > https://maven.apache.org/wrapper/download.html
> >
> > Release Notes - Maven Wrapper - Version 3.3.0
> >
> > ** Bug
> > * [MWRAPPER-86] - Trim trailing slash in Repo URL
> > * [MWRAPPER-103] - Failed to validate Maven Wrapper SHA-256 on Windows
> > * [MWRAPPER-108] - mvnw script fails silently when download fails
> > * [MWRAPPER-112] - Detection of JAVA_HOME fails due to bad quoting
> > * [MWRAPPER-113] - Error and warning output goes to standard output
> and
> > intermingles with Maven output
> > * [MWRAPPER-120] - Maven wrapper plugin should not create wrapperUrl
> > property for script-only mode
> > * [MWRAPPER-123] - only-mvnw fails on ksh printf implementations
> > * [MWRAPPER-131] - Downloader downloads directly into target file
> > ** Improvement
> > * [MWRAPPER-70] - Don't require a pom.xml
> > * [MWRAPPER-104] - Add prettier config for shell scripts
> > * [MWRAPPER-124] - MavenWrapperDownloader uses new URL(String), which
> > is deprecated in Java 21
> > * [MWRAPPER-125] - Make "only-script" the default wrapper
> > ** Task
> > * [MWRAPPER-128] - Remove legacy
> > * [MWRAPPER-129] - Set plugin prerequisite to Maven 3.6.3
> > ** Dependency upgrade
> > * [MWRAPPER-100] - Declare needed dependencies
> > * [MWRAPPER-115] - Bump org.codehaus.plexus:plexus-archiver from 4.6.2
> > to 4.9.1
> > * [MWRAPPER-118] - Bump org.codehaus.mojo:mrm-maven-plugin from 1.5.0
> > to 1.6.0
> > * [MWRAPPER-119] - Upgrade Parent to 41
> > * [MWRAPPER-126] - Upgrade org.codehaus.plexus:plexus-archiver to
> 4.9.2
> > * [MWRAPPER-127] - Bump commons-io:commons-io from 2.16.0 to 2.16.1
> > * [MWRAPPER-130] - Use Maven parent 42
> >
> > Enjoy,
> > -The Apache Maven team
>
>
Re: [ANN] Apache Maven Wrapper 3.3.0 Released
Posted by Nils Breunese <ni...@breun.nl>.
I use Renovate [0] to automatically keep dependencies up-to-date. 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 https://issues.apache.org/jira/browse/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. Is parsing the `mvnw` / `./mvnw.bat` scripts themselves the only way to determine the Maven Wrapper version after this change?
Nils.
[0] https://github.com/renovatebot/renovate
> Op 20 apr 2024, om 11:11 heeft Tamás Cservenák <cs...@apache.org> het volgende geschreven:
>
> The Apache Maven team is pleased to announce the release of the Apache
> Maven Wrapper, version 3.3.0
>
> The Maven Wrapper is an easy way to ensure a user of your Maven build has
> everything necessary to run your Maven build.
>
> See https://maven.apache.org/wrapper/ for instructions on how to use Maven
> Wrapper.
>
> You can download the appropriate sources etc. from the download page:
>
> https://maven.apache.org/wrapper/download.html
>
> Release Notes - Maven Wrapper - Version 3.3.0
>
> ** Bug
> * [MWRAPPER-86] - Trim trailing slash in Repo URL
> * [MWRAPPER-103] - Failed to validate Maven Wrapper SHA-256 on Windows
> * [MWRAPPER-108] - mvnw script fails silently when download fails
> * [MWRAPPER-112] - Detection of JAVA_HOME fails due to bad quoting
> * [MWRAPPER-113] - Error and warning output goes to standard output and
> intermingles with Maven output
> * [MWRAPPER-120] - Maven wrapper plugin should not create wrapperUrl
> property for script-only mode
> * [MWRAPPER-123] - only-mvnw fails on ksh printf implementations
> * [MWRAPPER-131] - Downloader downloads directly into target file
> ** Improvement
> * [MWRAPPER-70] - Don't require a pom.xml
> * [MWRAPPER-104] - Add prettier config for shell scripts
> * [MWRAPPER-124] - MavenWrapperDownloader uses new URL(String), which
> is deprecated in Java 21
> * [MWRAPPER-125] - Make "only-script" the default wrapper
> ** Task
> * [MWRAPPER-128] - Remove legacy
> * [MWRAPPER-129] - Set plugin prerequisite to Maven 3.6.3
> ** Dependency upgrade
> * [MWRAPPER-100] - Declare needed dependencies
> * [MWRAPPER-115] - Bump org.codehaus.plexus:plexus-archiver from 4.6.2
> to 4.9.1
> * [MWRAPPER-118] - Bump org.codehaus.mojo:mrm-maven-plugin from 1.5.0
> to 1.6.0
> * [MWRAPPER-119] - Upgrade Parent to 41
> * [MWRAPPER-126] - Upgrade org.codehaus.plexus:plexus-archiver to 4.9.2
> * [MWRAPPER-127] - Bump commons-io:commons-io from 2.16.0 to 2.16.1
> * [MWRAPPER-130] - Use Maven parent 42
>
> Enjoy,
> -The Apache Maven team
AW: [ANN] Apache Maven Wrapper 3.3.0 Released
Posted by Sven Nguyen Van <s....@optadata-gruppe.de.INVALID>.
Ah, this Issue looks like it does indeed describe why the jenkins pipelines fail; I do not consciously use MAVEN_CONFIG, but i expect we use the jenkins-maven-plugin
________________________________
Von: Tamás Cservenák <ta...@cservenak.net>
Gesendet: Donnerstag, 25. April 2024 12:22
An: Maven Users List <us...@maven.apache.org>
Betreff: Re: [ANN] Apache Maven Wrapper 3.3.0 Released
Achtung! Diese Nachricht wurde von außerhalb Ihres Unternehmens gesendet.
Do you maybe use MAVEN_CONFIG?
See https://eu-central-1.protection.sophos.com?d=apache.org&u=aHR0cHM6Ly9pc3N1ZXMuYXBhY2hlLm9yZy9qaXJhL2Jyb3dzZS9NV1JBUFBFUi0xMzM=&i=NjQ2YjRjOTk2ZDQ0YmIwMWRkMGU1NjA2&t=cmUvTHh1SmdmZDBDblRwaVliVngrUWxkUmhNbXlLbGxrbU9hNUNabDl3OD0=&h=16231b057d2f424a8d0fffc442b23c1c&s=AVNPUEhUT0NFTkNSWVBUSVZsqfYen6WmDXdJr8XbWh0utllfZ8URKZ71vpK2QjhtavM7iUacXimJZAeAcI534tVXwdpINpiFGBSPQ617rcKGQ0QMqmXmCspzebHjlnpSBA
Thanks
T
On Thu, Apr 25, 2024 at 12:10 PM Sven Nguyen Van
<s....@optadata-gruppe.de.invalid> wrote:
> Hi,
>
> sadly, this update made several Jenkins-Pipelines fail here.
>
> RenovateBot tried to update the maven-wrapper in several of our projects,
> and during this update maven wrapper apparently switches to the new
> "only-script" default.
>
> Somehow this results in getting a
> > Failed to execute goal
> org.apache.maven.plugins:maven-deploy-plugin:3.1.1:deploy (default-deploy)
> on project [..]: Failed to deploy artifacts: Could not transfer artifact
> [..](https://[..]): status code: 401, reason phrase: Unauthorized (401)
> -> [Help 1]
>
> Manually switching back to `-Dtype=bin` installs a different `mvnw`
> script, with which our `mvnw deploy` succeeds again. Of course, it would be
> better if the "only-script" mode would not disrupt maven-deploy, though i
> have no idea how this happens.
>
> Not just because of this, but also because of authentication and firewall
> hassles during dynamic downloads, it would be nice if i could configure
> (maybe in the maven-wrapper.properties) that it should keep using the
> bin-style.
>
>
> -- Sven Nguyen Van
>
> opta data Finance GmbH
> Berthold-Beitz-Boulevard 461, 45141 Essen, Tel.: +49 201 3196-0
> service@optadata-gruppe.de<ma...@optadata-gruppe.de>
> Geschäftsführer: Marcel Priester, Benedikt Steffen
> Amtsgericht Essen HRA B1995
> https://www.optadata-gruppe.de
>
> [opta data]
>
> Servicezeiten: Mo. - Fr. 07:00 bis 19:00 Uhr
>
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
> Informationen.
> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
> erhalten
> haben, informieren Sie bitte sofort den Absender und vernichten Sie diese
> E-Mail.
> Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail sind
> nicht gestattet.
> [Logoleiste]
>
opta data Finance GmbH
Berthold-Beitz-Boulevard 461, 45141 Essen, Tel.: +49 201 3196-0
service@optadata-gruppe.de<ma...@optadata-gruppe.de>
Geschäftsführer: Marcel Priester, Benedikt Steffen
Amtsgericht Essen HRA B1995
https://www.optadata-gruppe.de
[opta data]
Servicezeiten: Mo. - Fr. 07:00 bis 19:00 Uhr
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail sind nicht gestattet.
[Logoleiste]
Re: [ANN] Apache Maven Wrapper 3.3.0 Released
Posted by Tamás Cservenák <ta...@cservenak.net>.
Do you maybe use MAVEN_CONFIG?
See https://issues.apache.org/jira/browse/MWRAPPER-133
Thanks
T
On Thu, Apr 25, 2024 at 12:10 PM Sven Nguyen Van
<s....@optadata-gruppe.de.invalid> wrote:
> Hi,
>
> sadly, this update made several Jenkins-Pipelines fail here.
>
> RenovateBot tried to update the maven-wrapper in several of our projects,
> and during this update maven wrapper apparently switches to the new
> "only-script" default.
>
> Somehow this results in getting a
> > Failed to execute goal
> org.apache.maven.plugins:maven-deploy-plugin:3.1.1:deploy (default-deploy)
> on project [..]: Failed to deploy artifacts: Could not transfer artifact
> [..](https://[..]): status code: 401, reason phrase: Unauthorized (401)
> -> [Help 1]
>
> Manually switching back to `-Dtype=bin` installs a different `mvnw`
> script, with which our `mvnw deploy` succeeds again. Of course, it would be
> better if the "only-script" mode would not disrupt maven-deploy, though i
> have no idea how this happens.
>
> Not just because of this, but also because of authentication and firewall
> hassles during dynamic downloads, it would be nice if i could configure
> (maybe in the maven-wrapper.properties) that it should keep using the
> bin-style.
>
>
> -- Sven Nguyen Van
>
> opta data Finance GmbH
> Berthold-Beitz-Boulevard 461, 45141 Essen, Tel.: +49 201 3196-0
> service@optadata-gruppe.de<ma...@optadata-gruppe.de>
> Geschäftsführer: Marcel Priester, Benedikt Steffen
> Amtsgericht Essen HRA B1995
> https://www.optadata-gruppe.de
>
> [opta data]
>
> Servicezeiten: Mo. - Fr. 07:00 bis 19:00 Uhr
>
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
> Informationen.
> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
> erhalten
> haben, informieren Sie bitte sofort den Absender und vernichten Sie diese
> E-Mail.
> Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail sind
> nicht gestattet.
> [Logoleiste]
>
AW: [ANN] Apache Maven Wrapper 3.3.0 Released
Posted by Sven Nguyen Van <s....@optadata-gruppe.de.INVALID>.
Hi,
sadly, this update made several Jenkins-Pipelines fail here.
RenovateBot tried to update the maven-wrapper in several of our projects, and during this update maven wrapper apparently switches to the new "only-script" default.
Somehow this results in getting a
> Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.1.1:deploy (default-deploy) on project [..]: Failed to deploy artifacts: Could not transfer artifact [..](https://[..]): status code: 401, reason phrase: Unauthorized (401) -> [Help 1]
Manually switching back to `-Dtype=bin` installs a different `mvnw` script, with which our `mvnw deploy` succeeds again. Of course, it would be better if the "only-script" mode would not disrupt maven-deploy, though i have no idea how this happens.
Not just because of this, but also because of authentication and firewall hassles during dynamic downloads, it would be nice if i could configure (maybe in the maven-wrapper.properties) that it should keep using the bin-style.
-- Sven Nguyen Van
opta data Finance GmbH
Berthold-Beitz-Boulevard 461, 45141 Essen, Tel.: +49 201 3196-0
service@optadata-gruppe.de<ma...@optadata-gruppe.de>
Geschäftsführer: Marcel Priester, Benedikt Steffen
Amtsgericht Essen HRA B1995
https://www.optadata-gruppe.de
[opta data]
Servicezeiten: Mo. - Fr. 07:00 bis 19:00 Uhr
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail sind nicht gestattet.
[Logoleiste]