[ https://issues.apache.org/jira/browse/MWRAPPER-44?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17481940#comment-17481940 ]
ASF GitHub Bot commented on MWRAPPER-44: ---------------------------------------- nhojpatrick commented on pull request #15: URL: https://github.com/apache/maven-wrapper/pull/15#issuecomment-1020935232 Okay change of plan, original patch was wrong as didn't understand apache's maven wrapper introduced distributionType. This patch now MavenWrapperDownloader.class before installing maven wrapper, and if distributionType is not 'source' it will as delete MavenWrapperDownloader.java. -- 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: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org > 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)