Doesn't work with latest Maven release

Issue #8 resolved
Andrew S created an issue

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)

  1. Andrew S 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.

  2. Matthew McMahon 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 :)

  3. Log in to comment