maven/its
Michael Osipov 864723989e [MNG-7045] Align test project name with rest 2021-12-25 19:50:18 +01:00
..
core-it-suite [MNG-7045] Align test project name with rest 2021-12-25 19:50:18 +01:00
core-it-support [MNG-7231] Fix Javadoc errors 2021-09-05 21:18:50 +02:00
environments [MNG-6377] switch from Git-WIP to Gitbox 2018-03-19 23:24:31 +01:00
src/site clarify Core ITs vs Core IT Support vs Core ITs Suite 2019-08-23 23:42:19 +02:00
.asf.yaml updated GitHub repository description 2019-12-07 10:56:31 +01:00
.gitattributes [MNG-5728] Switch the default checksum policy from "warn" to "fail" 2020-11-30 20:21:11 +01:00
.gitignore Add new ignores 2021-07-03 11:13:55 +02:00
README.md fix typo on profile id 2020-06-01 16:32:58 +10:00
pom.xml Trim trailing whitespace 2020-12-24 00:31:14 +01:00
run-its.bat [MNG-6914] update wrapper distro directory, now apache-maven-wrapper 2021-10-11 23:48:07 +02:00
run-its.sh [MNG-6914] update wrapper distro directory, now apache-maven-wrapper 2021-10-11 23:48:07 +02:00

README.md

Maven Core Integration Tests

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