Maven 3.0.5 Download ((install)) 💯
/path/to/apache-maven-3.0.5/bin/mvn clean install This is perfect for isolated legacy builds. Why pollute your host?
Example – Surefire:
<mirror> <id>insecure-http</id> <url>http://repo.maven.apache.org/maven2</url> <mirrorOf>central</mirrorOf> </mirror> Plugins written for Maven 3.6+ will fail. You’ll need ancient plugin versions.
export M2_HOME=/opt/maven export PATH=$M2_HOME/bin:$PATH Test:
FROM openjdk:7-jdk ADD apache-maven-3.0.5-bin.tar.gz /opt ENV MAVEN_HOME /opt/apache-maven-3.0.5 ENV PATH $MAVEN_HOME/bin:$PATH Build & run:
/path/to/apache-maven-3.0.5/bin/mvn clean install This is perfect for isolated legacy builds. Why pollute your host?
Example – Surefire:
<mirror> <id>insecure-http</id> <url>http://repo.maven.apache.org/maven2</url> <mirrorOf>central</mirrorOf> </mirror> Plugins written for Maven 3.6+ will fail. You’ll need ancient plugin versions.
export M2_HOME=/opt/maven export PATH=$M2_HOME/bin:$PATH Test:
FROM openjdk:7-jdk ADD apache-maven-3.0.5-bin.tar.gz /opt ENV MAVEN_HOME /opt/apache-maven-3.0.5 ENV PATH $MAVEN_HOME/bin:$PATH Build & run: