commit | 672728a363c8b3503250589504efbfbea152e7e9 | [log] [tgz] |
---|---|---|
author | Michael Osipov <michaelo@apache.org> | Sat Jan 02 00:25:44 2021 +0100 |
committer | Michael Osipov <michaelo@apache.org> | Sat Jan 02 01:49:34 2021 +0100 |
tree | 9b53f707c13dffebb66a926f4edb8826663a65f0 | |
parent | ac581fdbbf27958da66d1625d28e28ed672cad85 [diff] |
Correct last remaining incorrect checksums Notes: Some checksums are intentionally incorrect for testing purposes. Broken checksums can be found by: $ algo=...; for checksum_file in $(find . -name \*.$algo); do \ expected_checksum=$(cat $checksum_file); \ file="$(dirname $checksum_file)/$(basename $checksum_file .$algo)"; \ actual_checksum=$($algo -q $file); \ if [[ "$actual_checksum" != "$expected_checksum" ]] ; \ then echo "$file: $expected_checksum != $actual_checksum"; fi; \ done | sort
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