[
https://issues.apache.org/jira/browse/MWRAPPER-44?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17480637#comment-17480637
]
ASF GitHub Bot commented on MWRAPPER-44:
----------------------------------------
nhojpatrick commented on pull request #15:
URL: https://github.com/apache/maven-wrapper/pull/15#issuecomment-1019496232
So reading more documentation and have just discovered `-Dtype`. Should
multiple mvnw[Debug][.cmd] be created, otherwise if you do `mvn wrapper:wrapper
-Dtype=bin` it might try and execute MavenWrapperDownloader.class as a backup.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
> 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)