Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
9
rated 0 times [  9] [ 0]  / answers: 1 / hits: 26226  / 3 Years ago, fri, november 19, 2021, 7:53:09

The way my Maven packages are configured, something breaks when I have the latest version installed (I think 3.4). On another computer, where I have 3.0.4, the build runs fine. I am looking for a way to install a previous version using apt-get. I followed these instructions and they completed fine but when I ran mvm -v, I got the following error, so something must have been wrong with the tar ball:



[ERROR] Unknown lifecycle phase "–v"


More From » apt

 Answers
4

  1. Download and extract the installation package:



    cd /opt
    wget -O- https://archive.apache.org/dist/maven/maven-3/3.0.4/binaries/apache-maven-3.0.4-bin.tar.gz |
    sudo tar -xzv

  2. Add /opt/apache-maven-3.0.4/bin to your PATH.




See also http://maven.apache.org/download.cgi.


[#25215] Saturday, November 20, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
leddre

Total Points: 180
Total Questions: 113
Total Answers: 108

Location: France
Member since Thu, Oct 27, 2022
2 Years ago
;