be2b7f890d
But keep Wagon as default transport. This PR merely includes resolver http and file transport and switches wagon-http to non-shaded one. Changes: * switch to non-shaded wagon-http (as httpClient is now shared) * include resolver http and file transport * override resolver default behaviour (native transport preferred over wagon, when both on classpath) * provide simplistic means to choose transport The chosen transport can be seen in debug (-X) output on line `[DEBUG] Using transporter XXX...` The `-Dmaven.transport` simplistic switch can be used to choose transport: * not set: default, that is Wagon * `wagon`: explicitly sets Wagon * `resolver`: explicitly sets resolver native transports (file and http) * `auto`: relies on resolver "auto discovery" (priorities, etc). This is MUST to keep transport pluggable with 3rd party transports. In fact, this was the default so far in Maven, along with the fact that native resolver transports were not included (as resolver prefers native ones over Wagon). |
||
---|---|---|
.github | ||
.mvn | ||
apache-maven | ||
build | ||
maven-artifact | ||
maven-bom | ||
maven-builder-support | ||
maven-compat | ||
maven-core | ||
maven-embedder | ||
maven-model | ||
maven-model-builder | ||
maven-model-transform | ||
maven-plugin-api | ||
maven-repository-metadata | ||
maven-resolver-provider | ||
maven-settings | ||
maven-settings-builder | ||
maven-slf4j-provider | ||
maven-slf4j-wrapper | ||
maven-toolchain-builder | ||
maven-toolchain-model | ||
src/site | ||
.asf.yaml | ||
.gitattributes | ||
.gitignore | ||
CONTRIBUTING.md | ||
Jenkinsfile | ||
Jenkinsfile.its | ||
LICENSE | ||
NOTICE | ||
README.md | ||
deploySite.sh | ||
doap_Maven.rdf | ||
pom.xml |
README.md
Apache Maven
Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information.
If you think you have found a bug, please file an issue in the Maven Issue Tracker.
Documentation
More information can be found on Apache Maven Homepage. Questions related to the usage of Maven should be posted on the Maven User List.
Where can I get the latest release?
You can download the release source from our download page.
Contributing
If you are interested in the development of Maven, please consult the documentation first and afterward you are welcome to join the developers mailing list to ask questions or discuss new ideas/features/bugs etc.
Take a look into the contribution guidelines.
License
This code is under the Apache License, Version 2.0, January 2004.
See the NOTICE
file for required notices and attributions.
Donations
Do you like Apache Maven? Then donate back to the ASF to support the development.
Quick Build
If you want to bootstrap Maven, you'll need:
- Java 8+
- Maven 3.0.5 or later
- Run Maven, specifying a location into which the completed Maven distro should be installed:
mvn -DdistributionTargetDir="$HOME/app/maven/apache-maven-4.0.x-SNAPSHOT" clean package