This is an automated email from the ASF dual-hosted git repository. khmarbaise pushed a commit to branch MRRESOURCES-104 in repository https://gitbox.apache.org/repos/asf/maven-remote-resources-plugin.git
commit b5d6fe74c6b1d443d322364b6df6679fdfc52377 Author: Karl Heinz Marbaise <[email protected]> AuthorDate: Sun Apr 8 00:38:36 2018 +0200 WIP - Try to fix code. --- src/it/resources/run-only-at-execution-root/resource-projects/pom.xml | 4 ++++ .../run-only-at-execution-root/resource-projects/snapshot/pom.xml | 4 ++++ .../maven/plugin/resources/remote/it/IT_RunOnlyAtExecutionRoot.java | 1 + 3 files changed, 9 insertions(+) diff --git a/src/it/resources/run-only-at-execution-root/resource-projects/pom.xml b/src/it/resources/run-only-at-execution-root/resource-projects/pom.xml index 2c52a6e..6a9ed12 100644 --- a/src/it/resources/run-only-at-execution-root/resource-projects/pom.xml +++ b/src/it/resources/run-only-at-execution-root/resource-projects/pom.xml @@ -35,5 +35,9 @@ under the License. <id>it-remote</id> <url>file:${remoteRepository}</url> </repository> + <snapshotRepository> + <id>it-remote</id> + <url>file:${remoteRepository}</url> + </snapshotRepository> </distributionManagement> </project> diff --git a/src/it/resources/run-only-at-execution-root/resource-projects/snapshot/pom.xml b/src/it/resources/run-only-at-execution-root/resource-projects/snapshot/pom.xml index 038ff93..ae02ea7 100644 --- a/src/it/resources/run-only-at-execution-root/resource-projects/snapshot/pom.xml +++ b/src/it/resources/run-only-at-execution-root/resource-projects/snapshot/pom.xml @@ -39,6 +39,10 @@ under the License. </repositories> <distributionManagement> + <snapshotRepository> + <id>it-remote</id> + <url>file:${remoteRepository}</url> + </snapshotRepository> <repository> <id>it-remote</id> <url>file:${remoteRepository}</url> diff --git a/src/test/java/org/apache/maven/plugin/resources/remote/it/IT_RunOnlyAtExecutionRoot.java b/src/test/java/org/apache/maven/plugin/resources/remote/it/IT_RunOnlyAtExecutionRoot.java index cec6660..f35bb5e 100644 --- a/src/test/java/org/apache/maven/plugin/resources/remote/it/IT_RunOnlyAtExecutionRoot.java +++ b/src/test/java/org/apache/maven/plugin/resources/remote/it/IT_RunOnlyAtExecutionRoot.java @@ -45,6 +45,7 @@ public class IT_RunOnlyAtExecutionRoot verifier = TestUtils.newVerifier( new File( dir, "resource-projects" ) ); verifier.executeGoal( "deploy" ); verifier.verifyErrorFreeLog(); + verifier.setLogFileName( "deploy.log" ); verifier.resetStreams(); verifier = TestUtils.newVerifier( dir );
