commit | 3acdb6252bb88cf52e8a5575cbb87a8a34202ae1 | [log] [tgz] |
---|---|---|
author | Tamas Cservenak <tamas@cservenak.net> | Wed Apr 05 14:20:37 2023 +0200 |
committer | GitHub <noreply@github.com> | Wed Apr 05 14:20:37 2023 +0200 |
tree | fad54db6ab7a9134f1a1cffbd0c2d5ae57edb2bf | |
parent | e1afa774eef843f945afbc897acc298ec24263e5 [diff] |
[MNG-7754] Improve plugin validation (#256) Fixed ITs to not fail: - assert only for content, neglect and possible indentation - do not assert what is NOT warn logged, as later we may log more (IT would be not future proof) Tested with 3.9.1 and 3.9.2-SNAPSHOT w/ https://github.com/apache/maven/pull/1079 Both passes OK MNG-7754 changes how plugin validation errors are reported (at end and as a dense report), so ITs needs a bit of lax re formatting and indentation and such. --- https://issues.apache.org/jira/browse/MNG-7754
https://maven.apache.org/core-its/
If you want to run the integration tests against a custom build of Maven use the following command:
mvn clean install -Prun-its -Dmaven.repo.local=`pwd`/repo -DmavenDistro=/path/to/apache-maven-dist.zip
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