- changed title to Doesn't work with latest Maven release
Doesn't work with latest Maven release
Issue #8
resolved
I've used mvnvm with Maven 3.2.1, but when I tried 3.2.2, I got this:
andrews:jira-development-status aswan$ mvn -version
[MVNVM] Using maven: 3.2.2
[MVNVM] downloading: http://archive.apache.org/dist/maven/binaries/apache-maven-3.2.2-bin.zip
[MVNVM] to: /Users/aswan/.mvnvm/apache-maven-3.2.2-bin.zip
[MVNVM] extracting: /Users/aswan/.mvnvm/apache-maven-3.2.2
unzip: cannot find or open /Users/aswan/.mvnvm/apache-maven-3.2.2-bin.zip, /Users/aswan/.mvnvm/apache-maven-3.2.2-bin.zip.zip or /Users/aswan/.mvnvm/apache-maven-3.2.2-bin.zip.ZIP.
/Users/aswan/bin/mvn: line 75: /Users/aswan/.mvnvm/apache-maven-3.2.2/bin/mvn: No such file or directory
/Users/aswan/bin/mvn: line 75: exec: /Users/aswan/.mvnvm/apache-maven-3.2.2/bin/mvn: cannot execute: No such file or directory
Maven 3.2.2 was released on 25 June 2014.
Comments (6)
-
Account Deactivated reporter -
Account Deactivated reporter In fact it seems that mvnvm will never download the current release, only archived releases:
declare -r default_mvn_uri=archive.apache.org/dist/maven/binaries
I've updated the bug summary to reflect that it's not about Maven 3.2.2 in particular.
-
https://bitbucket.org/mjensen/mvnvm/pull-request/3/fall-back-to-the-archive-for-older-mavens/diff was an attempt to try both -- main site and then fall back to archive.
-
Account Deactivated Can this PR be merged, after conflicts addressed? Would be good if can get it to work with 3.2.2
NB: It's merged :)
-
Account Deactivated This should be fixed now
-
repo owner - changed status to resolved
Fixed
- Log in to comment