Author: michaelo Date: Fri Nov 4 23:06:15 2016 New Revision: 1768121 URL: http://svn.apache.org/viewvc?rev=1768121&view=rev Log: [MINVOKER-209] ITs fail (on Windows 10) when working directory contains space
Submitted by: Alix Lourme <alix.lou...@gmail.com> Modified: maven/plugins/trunk/maven-invoker-plugin/pom.xml Modified: maven/plugins/trunk/maven-invoker-plugin/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/pom.xml?rev=1768121&r1=1768120&r2=1768121&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/pom.xml (original) +++ maven/plugins/trunk/maven-invoker-plugin/pom.xml Fri Nov 4 23:06:15 2016 @@ -127,7 +127,7 @@ under the License. <artifactId>maven-script-interpreter</artifactId> <version>1.1</version> </dependency> - + <dependency> <groupId>org.apache.maven.shared</groupId> <artifactId>maven-artifact-transfer</artifactId> @@ -309,7 +309,29 @@ under the License. </plugin> </plugins> </pluginManagement> - + </build> + </profile> + <profile> + <!-- MINVOKER-209 workaround, until sustainable fix for MNG-4559 --> + <!-- Unix vs Windows quote resolution in MAVEN_OPTS --> + <id>windows-its</id> + <activation> + <os> + <family>windows</family> + </os> + </activation> + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-invoker-plugin</artifactId> + <configuration> + <mavenOpts>-Djava.io.tmpdir="${project.build.directory}"</mavenOpts> + </configuration> + </plugin> + </plugins> + </pluginManagement> </build> </profile> <profile>