commit | 5ed7700b52610e3e242e269fe11ed3ef427aad97 | [log] [tgz] |
---|---|---|
author | Stephen Connolly <stephen.alan.connolly@gmail.com> | Sat Nov 23 10:47:46 2019 +0000 |
committer | Stephen Connolly <stephenc@apache.org> | Wed Mar 18 13:06:51 2020 +0000 |
tree | 2243265d19d06ed175b2625175712b5395dc5588 | |
parent | 71178c5d0307601665e9d4e3662101890266f6a5 [diff] |
[MNG-5668] Dynamic component resolution to allow older Maven versions to fail gracefully Example on a project that has the experimental features enabled: $ mvn -version Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T19:33:14+01:00) Maven home: /usr/local/Cellar/maven/3.5.4/libexec Java version: 1.8.0_152, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre Default locale: en_IE, platform encoding: UTF-8 OS name: "mac os x", version: "10.14.6", arch: "x86_64", family: "mac" $ mvn validate [ERROR] The project uses experimental features that require exactly Maven 3.7.0-SNAPSHOT -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException
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.
More information can be found on Apache Maven Homepage. Questions related to the usage of Maven should be posted on the Maven User List.
You can download release source from our download page.
If you are interested in the development of Maven, please consult the documentation first and afterwards you are welcome to join the developers mailing list to ask question or discuss new ideas / features / bugs etc.
Take a look into the contribution guidelines.
This code is under the Apache License, Version 2.0, January 2004.
See the NOTICE
file for required notices and attributions.
You like Apache Maven? Then donate back to the ASF to support the development.
If you want to bootstrap Maven, you'll need:
mvn -DdistributionTargetDir="$HOME/app/maven/apache-maven-3.7.x-SNAPSHOT" clean package