commit | b7e4915001ce1687cbcfeb99ad5dadd0e62af0b1 | [log] [tgz] |
---|---|---|
author | Michael Osipov <michaelo@apache.org> | Fri Dec 25 00:09:13 2020 +0100 |
committer | Michael Osipov <michaelo@apache.org> | Sun Feb 28 19:39:39 2021 +0100 |
tree | f0bc391880b88dcd2d5a87f2bfe3de570a902b00 | |
parent | 1ef778b7517e8d36490b323c97bba89cef5d3241 [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