commit | 71178c5d0307601665e9d4e3662101890266f6a5 | [log] [tgz] |
---|---|---|
author | Stephen Connolly <stephen.alan.connolly@gmail.com> | Fri Nov 22 15:46:35 2019 +0000 |
committer | Stephen Connolly <stephenc@apache.org> | Wed Mar 18 13:06:51 2020 +0000 |
tree | 0d2dd66adc084f9ee1a6676f6f90c62b6787fdc0 | |
parent | b5401e6595960f7411b8d9cd7367598ce2412018 [diff] |
[MNG-5668] Add a feature experiments framework to allow for opt-in Users get to turn on all experiments (no partial activation) by adding the experiments extension to `.mvn/extensions.xml`, e.g. <?xml version="1.0" encoding="UTF-8"?> <extensions xmlns="http://maven.apache.org/EXTENSIONS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/EXTENSIONS/1.0.0 http://maven.apache.org/xsd/core-extensions-1.0.0.xsd"> <extension> <groupId>org.apache.maven</groupId> <artifactId>maven-experiments</artifactId> <version>3.7.0-SNAPSHOT</version> </extension> </extensions> Without the extension, the dynamic phases feature is disabled With the extension the feature is enabled, e.g. [INFO] Enabling experimental features of Maven 3.7.0-SNAPSHOT [INFO] Experimental features enabled: [INFO] * dynamic-phases [INFO] Scanning for projects... Attempts to build the project with a different (newer) version of Maven will fail, e.g. [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 Attempts to build the project with a different (older) version of Maven will blow up due to class not found (I'd like to determine how to lazy resolve from Plexus/Sisu to avoid that)
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