jira-importer
jira-importer
**[Niels Basjes](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=nielsbasjes)** commented I suspect this to be the root cause: In 3.1.1 this line is used to calculate the download Url https://github.com/apache/maven-wrapper/blame/94ec7993ca749908a0a5bbf0ab69abbf365d95fc/maven-wrapper/src/main/java/org/apache/maven/wrapper/Installer.java#L74 ```java distributionUrl = new URI( mvnwRepoUrl ).resolve(...
**[Niels Basjes](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=nielsbasjes)** commented This can be closed as it is a duplicate of MWRAPPER-68
**[Slawomir Jaranowski](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=slawekjaranowski)** commented Another proposition MWRAPPER-59 - inline `MavenWrapperDownloader.java` into `mvnw` script.
**[Peter Palaga](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=ppalaga)** commented Hm... the question is what is the correct URL actually? There is plenty of platform specific distros. Setting the distributionUrl in .mvn/wrapper/maven-wrapper.properties manually to e.g. distributionUrl=https://downloads.apache.org/maven/mvnd/1.0-m6/maven-mvnd-1.0-m6-m39-linux-amd64.zip would...
**[Michael Osipov](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=michael-o)** commented POSIX shell provides only one array -- that is `$@`.
**[Piotr Karwasz](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=pkarwasz)** commented I guess that ```sh "$(dirname "$0")/.mvn/wrapper/maven-wrapper.properties" ``` should be used instead of the variable expansion. It is POSIX-2008, so it should work in all environments.
**[Michael Osipov](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=michael-o)** commented [Tamas Cservenak](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=cstamas), I can't stop laughing because I knew that this Maven Wrapper will just cause work for very little benefit...
**[Benjamin Marwell](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=mampf86)** commented [Alexander Schwartz](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=ahus1) do you, by chance, know which scripts are affected? We have multiple wrappers, the "most modern" option at the moment being only-mvnw, See the "without...
**[Alexander Schwartz](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=ahus1)** commented Hi, at that time, we used mvnw with the script that then downloaded the JAR file of the wrapper as we didn't commit that to our repo....
**[Zhang Xiaoyu](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=zxy152324)** commented We met the same problem with version 3.0.1. Currently we are using locally compiled plugin with below code change, which can work normally: ```java private FileSet getUnpackagedFileSet(...