commit | c65bc95fbbcb27759b39e446634334735f0bfa9a | [log] [tgz] |
---|---|---|
author | Michael Osipov <michaelo@apache.org> | Fri Dec 25 00:09:13 2020 +0100 |
committer | Michael Osipov <michaelo@apache.org> | Thu Feb 04 16:19:52 2021 +0100 |
tree | adc57e438ad9aa07a7bc6947f06554c2b559b86b | |
parent | 46fbd48777db99a339668b67c43bf4fce33cd824 [diff] |
[MNG-6114] Elements from the global settings should be ordered before elements from the user settings Central from global settings with 'file:' comes first and is ignored by the mirrorOf definition. The next central definition is ignored too due to MNG-7018/MNG-5984. As long as these issues aren't resolved we need to mirror even local repos to make the IT work as intended. This closes #92
https://maven.apache.org/core-its/
If you want to run the integration tests against a custom build of Maven use the following command:
export MAVENCODEBASE=<path-to-maven-codebase>
You can choose to build the maven project from here with:
mvn verify -P local-it -f "$MAVENCODEBASE"
Now run (don't forget to update the versions!)
mvn clean install -Prun-its,embedded -Dmaven.repo.local=`pwd`/repo -DmavenDistro="$MAVENCODEBASE/apache-maven/target/apache-maven-<VERSION>-bin.zip" -DwrapperDistroDir="$MAVENCODEBASE/apache-maven/target" -DmavenWrapper="$MAVENCODEBASE/maven-wrapper/target/maven-wrapper.jar"
or if behind a proxy
mvn clean install -Prun-its -Dmaven.repo.local=`pwd`/repo -DmavenDistro=/path/to/apache-maven-dist.zip -Dproxy.active=true -Dproxy.type=http -Dproxy.host=... -Dproxy.port=... -Dproxy.user=... -Dproxy.pass=...
Using the script
Build Maven core with the profile -PversionlessMavenDist
Now Run the script: sh ./run-its.sh
Maven Developers List: dev@maven.apache.org