commit | f4a02132a8995a795a7e4533e882441c734b9f51 | [log] [tgz] |
---|---|---|
author | Tamas Cservenak <tamas@cservenak.net> | Thu Mar 02 14:28:56 2023 +0100 |
committer | GitHub <noreply@github.com> | Thu Mar 02 14:28:56 2023 +0100 |
tree | d73673e18482507fe9d97e3f4bbee4cbf9639417 | |
parent | 57ade7362b5596a87adc1c85fe6956121982c114 [diff] |
[MNG-5181] Improve "missing dependency" message (#249) Related IT change, as the change for this issue made MNG-7128 IT to fail, as it was too eagerly match whole error message string that has now due MNG-5181 changed. To fix it, match only the key parts of the expected error message, that project failed, due transfer failure, as insecure mirror was blocked. This makes IT assert same thing, but is more flexible regarding error text change in MNG-5181. --- https://issues.apache.org/jira/browse/MNG-5185
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