https://maven.apache.org/download.cgi
wget http://mirror.cogentco.com/pub/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz tar xzvf apache-maven-3.3.9-bin.tar.gz mvn clean install // Skip all unittests -DskipTests
[ERROR] Failed to execute goal on project common-auth: Could not resolve dependencies for project com.hortonworks.registries:common-auth:jar:0.5.4-SNAPSHOT: Failed to collect dependencies at com.nimbusds:nimbus-jose-jwt:jar:4.41.1 -> net.minidev:json-smart:jar:2.3-SNAPSHOT: Failed to read artifact descriptor for net.minidev:json-smart:jar:2.3-SNAPSHOT: Could not transfer artifact net.minidev:json-smart:pom:2.3-SNAPSHOT from/to clojars (https://repository.apache.org/content/repositories/snapshots/): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
解决PKIX:unable to find valid certification path to requested target 的问题
Apache Maven 3.3.9 is the latest release and recommended version for all users.
The currently selected download mirror is http://mirror.cogentco.com/pub/apache/. If you encounter a problem with this mirror, please select another mirror. If all mirrors are failing, there are backup mirrors (at the end of the mirrors list) that should be available. You may also consult the complete list of mirrors.
System Requirements
Java Development Kit (JDK) | Maven 3.3 requires JDK 1.7 or above to execute – it still allows you to build against 1.3 and other JDK versions by Using Toolchains |
Memory | No minimum requirement |
Disk | Approximately 10MB is required for the Maven installation itself. In addition to that, additional disk space will be used for your local Maven repository. The size of your local repository will vary depending on usage but expect at least 500MB. |
Operating System | No minimum requirement. Start up scripts are included as shell scripts and Windows batch files. |
Files
Maven is distributed in several formats for your convenience. Simply pick a ready-made binary distribution archive and follow the installation instructions. Use a source archive if you intend to build Maven yourself.
In order to guard against corrupted downloads/installations, it is highly recommended to verify the signature of the release bundles against the public KEYSused by the Apache Maven developers.
Link | Checksum | Signature | |
---|---|---|---|
Binary tar.gz archive | apache-maven-3.3.9-bin.tar.gz | apache-maven-3.3.9-bin.tar.gz.md5 | apache-maven-3.3.9-bin.tar.gz.asc |
Binary zip archive | apache-maven-3.3.9-bin.zip | apache-maven-3.3.9-bin.zip.md5 | apache-maven-3.3.9-bin.zip.asc |
Source tar.gz archive | apache-maven-3.3.9-src.tar.gz | apache-maven-3.3.9-src.tar.gz.md5 | apache-maven-3.3.9-src.tar.gz.asc |
Source zip archive | apache-maven-3.3.9-src.zip | apache-maven-3.3.9-src.zip.md5 | apache-maven-3.3.9-src.zip.asc |
Previous Releases
It is strongly recommended to use the latest release version of Apache Maven to take advantage of newest features and bug fixes.
If you still want to use an old version you can find more information in the Maven Releases History and can download files from the archives for versions 3.0.4+ and legacy archives for earlier releases.