If you run

   mvn wrapper:3.2.0:wrapper -Dmvnd=1.0-m6-m39 -Dtype=only-script


the plugin will create the wrapper, you'd have to change the
.mvn/wrapper/maven-wrapper.properties file and modify the distributionUrl to
point to the correct location, i.e.


https://dist.apache.org/repos/dist/dev/maven/mvnd/1.0-m6/maven-mvnd-1.0-m6-m39-bin.zip

There are two issues:
 * the url points to the distribution area while mvnd is still under vote,
so it won't be able to find it
 * the wrapper plugin does not support the new mvnd distributions with m39
/ m40 qualifiers, please raise a JIRA issue for that


Le jeu. 23 mars 2023 à 14:46, Delany <delany.middle...@gmail.com> a écrit :

> What should URL can I use for
>
> https://maven.apache.org/wrapper/maven-wrapper-plugin/wrapper-mojo.html#mvndversion
> ?
>
> The github link is broken.
>
> Kind regards,
> Delany
>
> On Thu, 23 Mar 2023 at 12:22, Guillaume Nodet <gno...@apache.org> wrote:
>
> > I've staged a candidate release at
> >     https://dist.apache.org/repos/dist/dev/maven/mvnd/1.0-m6/
> >
> > This release provides distributions based on Maven 3.9.1 and
> 4.0.0-alpha-4
> > releases.
> > The release notes are available at :
> >
> >
> >
> https://github.com/apache/maven-mvnd/releases/tag/untagged-659daa4af1d963db7430
> >
> > Please review and vote !
> >
> > Cheers
> > Guillaume Nodet
> >
>


-- 
------------------------
Guillaume Nodet

Reply via email to