commit | 482756ec1ff4b80c233bda949d187d7953144d47 | [log] [tgz] |
---|---|---|
author | tibordigana <tibordigana@apache.org> | Thu Aug 08 00:53:55 2019 +0200 |
committer | tibordigana <tibordigana@apache.org> | Thu Aug 08 00:53:55 2019 +0200 |
tree | ea0dde687caf950bf51fc1ae2137fc170773518c | |
parent | b6b593d2cf52ae5761c848092dd6f45e82f9da95 [diff] |
fixed the IT 4554 as LocalPort is -1 if Jetty connector is not open. Error message in logs: [WARNING] Could not transfer metadata org.apache.maven.its.mng4554/maven-metadata.xml from/to central (http://localhost:-1/repo-1): Connect to localhost:80 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect
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=...
Maven Developers List: dev@maven.apache.org