maven/its
olivier lamy 0a666f3050 fix script with the file path separator :)
Signed-off-by: olivier lamy <olamy@apache.org>
2020-06-01 12:19:44 +10:00
..
core-it-suite [MNG-6919] test maven-wrapper with spaced paths 2020-05-27 22:55:50 +02:00
core-it-support [5937] Maven-Wrapper for unified project environments 2020-05-22 22:33:01 +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 o i believe the settings were initially setup wrong and the content for the *.pom files have window line endings, a normal checkout for someone on unix yields a massive number of line ending changes. this change prevents that, but happy if we want to realign the content to be normalized with unix line endings and have git do the auto conversion 2013-03-15 06:29:19 -07:00
.gitignore [MNG-5669] same pom.xml is read multiple times 2020-01-29 21:14:26 +01:00
README.md fix script with the file path separator :) 2020-06-01 12:19:44 +10:00
pom.xml [5937] Maven-Wrapper for unified project environments 2020-05-22 22:33:01 +02:00
run-its.bat Update documentation on how to run ITs including tests for maven-wrapper 2020-05-26 20:14:01 +02:00
run-its.sh fix script with the file path separator :) 2020-06-01 12:19:44 +10: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,embdedded -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