Repository: maven-integration-testing Updated Branches: refs/heads/master 31f1e8a1d -> 47d5885eb
[MNG-6200] Some ITs fails if proxy is configured Project: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/repo Commit: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/commit/47d5885e Tree: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/tree/47d5885e Diff: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/diff/47d5885e Branch: refs/heads/master Commit: 47d5885eb81fff13610b2b916655f45be978b638 Parents: 31f1e8a Author: Michael Osipov <micha...@apache.org> Authored: Fri Mar 31 13:21:19 2017 +0200 Committer: Michael Osipov <micha...@apache.org> Committed: Fri Mar 31 13:21:19 2017 +0200 ---------------------------------------------------------------------- .../src/test/resources/mng-3599-mk2/settings-template.xml | 2 +- core-it-suite/src/test/resources/mng-3599/settings-template.xml | 2 +- .../src/main/java/org/apache/maven/its/mng3652/MyMojo.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/maven-integration-testing/blob/47d5885e/core-it-suite/src/test/resources/mng-3599-mk2/settings-template.xml ---------------------------------------------------------------------- diff --git a/core-it-suite/src/test/resources/mng-3599-mk2/settings-template.xml b/core-it-suite/src/test/resources/mng-3599-mk2/settings-template.xml index 257b399..059721c 100644 --- a/core-it-suite/src/test/resources/mng-3599-mk2/settings-template.xml +++ b/core-it-suite/src/test/resources/mng-3599-mk2/settings-template.xml @@ -10,7 +10,7 @@ <proxy> <id>http-proxy</id> <protocol>http</protocol> - <host>127.0.0.1</host> + <host>localhost</host> <port>@port@</port> </proxy> </proxies> http://git-wip-us.apache.org/repos/asf/maven-integration-testing/blob/47d5885e/core-it-suite/src/test/resources/mng-3599/settings-template.xml ---------------------------------------------------------------------- diff --git a/core-it-suite/src/test/resources/mng-3599/settings-template.xml b/core-it-suite/src/test/resources/mng-3599/settings-template.xml index 809db8f..0652b2c 100644 --- a/core-it-suite/src/test/resources/mng-3599/settings-template.xml +++ b/core-it-suite/src/test/resources/mng-3599/settings-template.xml @@ -10,7 +10,7 @@ <proxy> <id>http-proxy</id> <protocol>http</protocol> - <host>127.0.0.1</host> + <host>localhost</host> <port>@port@</port> </proxy> </proxies> http://git-wip-us.apache.org/repos/asf/maven-integration-testing/blob/47d5885e/core-it-suite/src/test/resources/mng-3652/test-plugin/src/main/java/org/apache/maven/its/mng3652/MyMojo.java ---------------------------------------------------------------------- diff --git a/core-it-suite/src/test/resources/mng-3652/test-plugin/src/main/java/org/apache/maven/its/mng3652/MyMojo.java b/core-it-suite/src/test/resources/mng-3652/test-plugin/src/main/java/org/apache/maven/its/mng3652/MyMojo.java index 0d60178..684ff72 100644 --- a/core-it-suite/src/test/resources/mng-3652/test-plugin/src/main/java/org/apache/maven/its/mng3652/MyMojo.java +++ b/core-it-suite/src/test/resources/mng-3652/test-plugin/src/main/java/org/apache/maven/its/mng3652/MyMojo.java @@ -96,7 +96,7 @@ public class MyMojo policy.setEnabled( true ); ArtifactRepository remote = - repositoryFactory.createArtifactRepository( "test", testProtocol + "://127.0.0.1:" + testPort, layout, + repositoryFactory.createArtifactRepository( "test", testProtocol + "://localhost:" + testPort, layout, policy, policy ); Artifact artifact = artifactFactory.createArtifact( "bad.group", "missing-artifact", "1", null, "jar" );