This is an automated email from the ASF dual-hosted git repository. slachiewicz pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-integration-testing.git
The following commit(s) were added to refs/heads/master by this push: new 3991f4c [MNG-6481] Fix Wagon sample plugin to pass tests with Java 11 3991f4c is described below commit 3991f4c50c29795832501015702bec138d7321ee Author: Sylwester Lachiewicz <slachiew...@apache.org> AuthorDate: Sat Nov 10 02:27:45 2018 +0100 [MNG-6481] Fix Wagon sample plugin to pass tests with Java 11 Current working directory was different between 8 and 11 --- .../main/java/org/apache/maven/wagon/providers/coreit/CoreItWagon.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core-it-support/core-it-wagon/src/main/java/org/apache/maven/wagon/providers/coreit/CoreItWagon.java b/core-it-support/core-it-wagon/src/main/java/org/apache/maven/wagon/providers/coreit/CoreItWagon.java index f355493..985f036 100644 --- a/core-it-support/core-it-wagon/src/main/java/org/apache/maven/wagon/providers/coreit/CoreItWagon.java +++ b/core-it-support/core-it-wagon/src/main/java/org/apache/maven/wagon/providers/coreit/CoreItWagon.java @@ -162,7 +162,7 @@ public class CoreItWagon try { - File file = new File( "target/wagon.properties" ).getAbsoluteFile(); + File file = new File( System.getProperty( "user.dir" ), "target/wagon.properties" ).getAbsoluteFile(); file.getParentFile().mkdirs(); try ( OutputStream os = new FileOutputStream( file ) )