Author: rfscholte
Date: Tue Jan 17 11:10:35 2017
New Revision: 1779169

URL: http://svn.apache.org/viewvc?rev=1779169&view=rev
Log:
[MINVOKER-209] ITs fail (on Windows 10) when working directory contains space
Split ITs since there's no multi-criteria support yet

Added:
    
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/
    
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/invoker.properties
    
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/pom.xml
    
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/setup.groovy
    
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/src/
    
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/src/it/
    
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/src/it/minvoker-test/
    
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/src/it/minvoker-test/invoker.properties
    
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/src/it/minvoker-test/pom.xml
    
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/src/it/minvoker-test/verify.groovy
    maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/
    
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/invoker.properties
    
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/pom.xml
    
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/setup.groovy
    
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/src/
    
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/src/it/
    
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/src/it/minvoker-test/
    
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/src/it/minvoker-test/invoker.properties
    
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/src/it/minvoker-test/pom.xml
    
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/src/it/minvoker-test/verify.groovy
Modified:
    
maven/plugins/trunk/maven-invoker-plugin/src/it/special-characters-should-work/setup.groovy

Added: 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/invoker.properties
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/invoker.properties?rev=1779169&view=auto
==============================================================================
--- 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/invoker.properties
 (added)
+++ 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/invoker.properties
 Tue Jan 17 11:10:35 2017
@@ -0,0 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+invoker.goals = clean verify
+invoker.os.family = !windows
\ No newline at end of file

Added: 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/pom.xml?rev=1779169&view=auto
==============================================================================
--- 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/pom.xml
 (added)
+++ 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/pom.xml
 Tue Jan 17 11:10:35 2017
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>org.apache.maven.plugins.invoker.its</groupId>
+  <artifactId>basedir-with-spaces</artifactId>
+  <version>1.0-SNAPSHOT</version>
+  <packaging>pom</packaging>
+
+  <!-- MERGE PROJECTS ONCE MINVOKER-214 IS AVAILABLE -->
+  <description>
+    Test to check for usage of spaces in folder names.
+  </description>
+
+  <properties>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+  </properties>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-invoker-plugin</artifactId>
+        <version>@project.version@</version>
+        <configuration>
+          <goals>
+            <goal>validate</goal>
+          </goals>
+          <postBuildHookScript>verify</postBuildHookScript>
+        </configuration>
+        <executions>
+          <execution>
+            <id>integration-test</id>
+            <phase>initialize</phase>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
+</project>

Added: 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/setup.groovy
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/setup.groovy?rev=1779169&view=auto
==============================================================================
--- 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/setup.groovy
 (added)
+++ 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/setup.groovy
 Tue Jan 17 11:10:35 2017
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import java.io.*
+import java.util.*
+import java.util.regex.*
+import org.apache.commons.io.FileUtils
+
+File srcIt = new File (basedir, "src/it");
+File originalFolder = new File (srcIt, "minvoker-test");
+File destinationFolder = new File(srcIt, "test-\u00c9\u00e9\u00ea- & 
-\u00c9\u00e9\u00ea-test");
+FileUtils.deleteQuietly(destinationFolder);
+// rename old one into new one with special characters.
+if (!originalFolder.renameTo(destinationFolder)) {
+  throw new IOException("Rename didn't work.")
+}

Added: 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/src/it/minvoker-test/invoker.properties
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/src/it/minvoker-test/invoker.properties?rev=1779169&view=auto
==============================================================================
--- 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/src/it/minvoker-test/invoker.properties
 (added)
+++ 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/src/it/minvoker-test/invoker.properties
 Tue Jan 17 11:10:35 2017
@@ -0,0 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+invoker.debug = true
+invoker.goals = clean verify

Added: 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/src/it/minvoker-test/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/src/it/minvoker-test/pom.xml?rev=1779169&view=auto
==============================================================================
--- 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/src/it/minvoker-test/pom.xml
 (added)
+++ 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/src/it/minvoker-test/pom.xml
 Tue Jan 17 11:10:35 2017
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.maven.plugins.invoker.its</groupId>
+  <artifactId>minvoker-142</artifactId>
+  <version>0.1-SNAPSHOT</version>
+  <packaging>pom</packaging>
+
+  <properties>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+  </properties>
+  
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-enforcer-plugin</artifactId>
+        <version>1.1.1</version>
+        <executions>
+          <execution>
+            <goals>
+              <goal>enforce</goal>
+            </goals>
+            <configuration>
+              <rules>
+                <AlwaysPass/>
+              </rules>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Added: 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/src/it/minvoker-test/verify.groovy
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/src/it/minvoker-test/verify.groovy?rev=1779169&view=auto
==============================================================================
--- 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/src/it/minvoker-test/verify.groovy
 (added)
+++ 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_non-windows/src/it/minvoker-test/verify.groovy
 Tue Jan 17 11:10:35 2017
@@ -0,0 +1,26 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+File buildLog = new File( basedir, 'build.log' )
+
+// if one of criteria matches
+if( buildLog.exists() )
+{
+  assert buildLog.text.contains( '[DEBUG] Executing rule: 
org.apache.maven.plugins.enforcer.AlwaysPass' )  
+}
+

Added: 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/invoker.properties
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/invoker.properties?rev=1779169&view=auto
==============================================================================
--- 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/invoker.properties
 (added)
+++ 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/invoker.properties
 Tue Jan 17 11:10:35 2017
@@ -0,0 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+invoker.goals = clean verify
+invoker.os.family = windows
+invoker.maven.version = 3.5.0+ 
\ No newline at end of file

Added: 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/pom.xml?rev=1779169&view=auto
==============================================================================
--- 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/pom.xml
 (added)
+++ 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/pom.xml
 Tue Jan 17 11:10:35 2017
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>org.apache.maven.plugins.invoker.its</groupId>
+  <artifactId>basedir-with-spaces</artifactId>
+  <version>1.0-SNAPSHOT</version>
+  <packaging>pom</packaging>
+
+  <!-- MERGE PROJECTS ONCE MINVOKER-214 IS AVAILABLE -->
+  <description>
+    Test to check for usage of spaces in folder names.
+  </description>
+
+  <properties>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+  </properties>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-invoker-plugin</artifactId>
+        <version>@project.version@</version>
+        <configuration>
+          <goals>
+            <goal>validate</goal>
+          </goals>
+          <postBuildHookScript>verify</postBuildHookScript>
+        </configuration>
+        <executions>
+          <execution>
+            <id>integration-test</id>
+            <phase>initialize</phase>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
+</project>

Added: 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/setup.groovy
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/setup.groovy?rev=1779169&view=auto
==============================================================================
--- 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/setup.groovy
 (added)
+++ 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/setup.groovy
 Tue Jan 17 11:10:35 2017
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import java.io.*
+import java.util.*
+import java.util.regex.*
+import org.apache.commons.io.FileUtils
+
+File srcIt = new File (basedir, "src/it");
+File originalFolder = new File (srcIt, "minvoker-test");
+File destinationFolder = new File(srcIt, "test-\u00c9\u00e9\u00ea- & 
-\u00c9\u00e9\u00ea-test");
+FileUtils.deleteQuietly(destinationFolder);
+// rename old one into new one with special characters.
+if (!originalFolder.renameTo(destinationFolder)) {
+  throw new IOException("Rename didn't work.")
+}

Added: 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/src/it/minvoker-test/invoker.properties
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/src/it/minvoker-test/invoker.properties?rev=1779169&view=auto
==============================================================================
--- 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/src/it/minvoker-test/invoker.properties
 (added)
+++ 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/src/it/minvoker-test/invoker.properties
 Tue Jan 17 11:10:35 2017
@@ -0,0 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+invoker.debug = true
+invoker.goals = clean verify

Added: 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/src/it/minvoker-test/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/src/it/minvoker-test/pom.xml?rev=1779169&view=auto
==============================================================================
--- 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/src/it/minvoker-test/pom.xml
 (added)
+++ 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/src/it/minvoker-test/pom.xml
 Tue Jan 17 11:10:35 2017
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.maven.plugins.invoker.its</groupId>
+  <artifactId>minvoker-142</artifactId>
+  <version>0.1-SNAPSHOT</version>
+  <packaging>pom</packaging>
+
+  <properties>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+  </properties>
+  
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-enforcer-plugin</artifactId>
+        <version>1.1.1</version>
+        <executions>
+          <execution>
+            <goals>
+              <goal>enforce</goal>
+            </goals>
+            <configuration>
+              <rules>
+                <AlwaysPass/>
+              </rules>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Added: 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/src/it/minvoker-test/verify.groovy
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/src/it/minvoker-test/verify.groovy?rev=1779169&view=auto
==============================================================================
--- 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/src/it/minvoker-test/verify.groovy
 (added)
+++ 
maven/plugins/trunk/maven-invoker-plugin/src/it/spaces-should-work_windows/src/it/minvoker-test/verify.groovy
 Tue Jan 17 11:10:35 2017
@@ -0,0 +1,26 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+File buildLog = new File( basedir, 'build.log' )
+
+// if one of criteria matches
+if( buildLog.exists() )
+{
+  assert buildLog.text.contains( '[DEBUG] Executing rule: 
org.apache.maven.plugins.enforcer.AlwaysPass' )  
+}
+

Modified: 
maven/plugins/trunk/maven-invoker-plugin/src/it/special-characters-should-work/setup.groovy
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/special-characters-should-work/setup.groovy?rev=1779169&r1=1779168&r2=1779169&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-invoker-plugin/src/it/special-characters-should-work/setup.groovy
 (original)
+++ 
maven/plugins/trunk/maven-invoker-plugin/src/it/special-characters-should-work/setup.groovy
 Tue Jan 17 11:10:35 2017
@@ -24,7 +24,7 @@ import org.apache.commons.io.FileUtils
 
 File srcIt = new File (basedir, "src/it");
 File originalFolder = new File (srcIt, "minvoker-test");
-File destinationFolder = new File(srcIt, "test-\u00c9\u00e9\u00ea- & 
-\u00c9\u00e9\u00ea-test");
+File destinationFolder = new File(srcIt, 
"test-\u00c9\u00e9\u00ea-more-\u00c9\u00e9\u00ea-test");
 FileUtils.deleteQuietly(destinationFolder);
 // rename old one into new one with special characters.
 if (!originalFolder.renameTo(destinationFolder)) {


Reply via email to