commit | 389b1ec3230449964222ffb5ef70cb02d05f1fa1 | [log] [tgz] |
---|---|---|
author | tibordigana <tibordigana@apache.org> | Fri Aug 09 10:38:27 2019 +0200 |
committer | tibordigana <tibordigana@apache.org> | Fri Aug 09 10:38:27 2019 +0200 |
tree | f820b7f63cd994b0936e3643f29f099ab15d2884 | |
parent | 2e3c13a0a34304c866f8b8533090ab2cd6ecd1b4 [diff] |
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