takari / maven-wrapper

The easiest way to integrate Maven into your project!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The Maven Wrapper version 0.4.2 has been successfully setup for your project.

jnorthrup opened this issue · comments

image

...

image

nobody likes old pre 3.6 maven dude, what gives?

You are using completely invalid syntax. Do not specify the wrapper version. Please check out the docs for actual correct usage.

https://github.com/takari/maven-wrapper/

The default Maven version used is 3.6.0 fyi.

i run ubuntu. ubuntu ant, maven, tomcat, etc. installs are plainly stupid solutions to getting the desired tools.

i used a copy of mvnw from a diffferent project to run

../otherproject/mvnw -N io.takari:maven:wrapper

when i run mvn -N io.takari:maven:wrapper i see the string

"The Maven Wrapper version 0.4.2 has been successfully setup for your project."

@mosabua Maybe the problem only exists for projects with an existing maven wrapper. I tried to update maven wrapper with mvn -N io.takari:maven:wrapper but got the same "old" version as @jnorthrup .

Then I used mvn -N io.takari:maven:0.7.4:wrapper as proposed under https://github.com/takari/maven-wrapper/#developing-and-releasing (for development) and it worked for the latest version.

My environment: Git BASH for Windows

The version used by the wrapper mojo will be depending on your local repo config and proxy config. It should look for latest and use that. Specifying the version as suggested by @sepe81 can force the usage of that version and is a reasonable workaround. Let me add that to the docs.