Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a newer version of the mvnw script available? #421

Open
DavidWhitlock opened this issue Jul 7, 2022 · 4 comments
Open

Is there a newer version of the mvnw script available? #421

DavidWhitlock opened this issue Jul 7, 2022 · 4 comments

Comments

@DavidWhitlock
Copy link
Collaborator

I just noticed that I was able to run mvnw on a Windows machine without it running into a problem with curl like a student saw. I wonder if we're using an old version of the mvnw script.

@DavidWhitlock
Copy link
Collaborator Author

It looks like there is also mvnwDebug script that can be added, too:

https://maven.apache.org/wrapper/maven-wrapper-plugin/usage.html

@DavidWhitlock
Copy link
Collaborator Author

See also #335.

@DavidWhitlock
Copy link
Collaborator Author

It looks like we're using the latest takari Maven Wrapper: https://mvnrepository.com/artifact/io.takari/maven-wrapper

The official Apache one still only works with Maven 4 and that still isn't available yet.

@kiwi-oss
Copy link

The official Apache wrapper works fine with Maven 3, see one of my Maven wrapper properties files:

distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.6/apache-maven-3.8.6-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.1/maven-wrapper-3.1.1.jar

You just have to set it up as described here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants