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

John Patrick commented on MWRAPPER-44:
--------------------------------------

I believe technically maven-wrapper v3.1.0 doesn't actually install/update 
MavenWrapperDownloader.java.

Try the following example to see if MavenWrapperDownloader.java is recreated;
```console
rm -rf ./.mvn/wrapper && mvn 
org.apache.maven.plugins:maven-wrapper-plugin:3.1.0:wrapper
```

Should be fixed with https://github.com/apache/maven-wrapper/pull/15

> maven-wrapper may use outdated MavenWrapperDownloader.class
> -----------------------------------------------------------
>
>                 Key: MWRAPPER-44
>                 URL: https://issues.apache.org/jira/browse/MWRAPPER-44
>             Project: Maven Wrapper
>          Issue Type: Bug
>          Components: Maven Wrapper Scripts
>    Affects Versions: 3.1.0
>            Reporter: Jeremy Norris
>            Priority: Major
>
> When the mvnw script falls back to using MavenWrapperDownloader, it will use 
> an existing copy of MavenWrapperDownloader.class that may have originated 
> from compiling with an older version of MavenWrapperDownloader.java instead 
> of the current release version that is checked into the repository.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to