IIRC subversion has some issues with special characters.
Together with Olivier we came to the conclusion that it is better to create these kind of files and folders during setup of the IT.

So if someone hits such an issue you know how to fix it.

Robert

Op Sat, 14 Mar 2015 19:39:43 +0100 schreef <[email protected]>:

Author: khmarbaise
Date: Sat Mar 14 18:39:43 2015
New Revision: 1666722

URL: http://svn.apache.org/r1666722
Log:
[MINVOKER-183] IT failing when path contains accents
 Added an IT with accents etc. in path name.

Added:
    
maven/plugins/trunk/maven-invoker-plugin/src/it/accénts-ñ-èê-should-work/
    
maven/plugins/trunk/maven-invoker-plugin/src/it/accénts-ñ-èê-should-work/pom.xml
    
maven/plugins/trunk/maven-invoker-plugin/src/it/accénts-ñ-èê-should-work/src/
    
maven/plugins/trunk/maven-invoker-plugin/src/it/accénts-ñ-èê-should-work/src/it/
    
maven/plugins/trunk/maven-invoker-plugin/src/it/accénts-ñ-èê-should-work/src/it/minvoker-142/
    
maven/plugins/trunk/maven-invoker-plugin/src/it/accénts-ñ-èê-should-work/src/it/minvoker-142/invoker.properties
    
maven/plugins/trunk/maven-invoker-plugin/src/it/accénts-ñ-èê-should-work/src/it/minvoker-142/pom.xml
    
maven/plugins/trunk/maven-invoker-plugin/src/it/accénts-ñ-èê-should-work/src/it/minvoker-142/verify.groovy

Added: maven/plugins/trunk/maven-invoker-plugin/src/it/accénts-ñ-èê-should-work/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/acce%CC%81nts-n%CC%83-e%CC%80e%CC%82-should-work/pom.xml?rev=1666722&view=auto
==============================================================================
--- maven/plugins/trunk/maven-invoker-plugin/src/it/accénts-ñ-èê-should-work/pom.xml (added) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/accénts-ñ-èê-should-work/pom.xml Sat Mar 14 18:39:43 2015
@@ -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>accents-debug</artifactId>
+  <version>1.0-SNAPSHOT</version>
+  <packaging>pom</packaging>
+
+  <description>
+    Test to check for usage of accents 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>
+          <debug>false</debug>
+          <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/accénts-ñ-èê-should-work/src/it/minvoker-142/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/acce%CC%81nts-n%CC%83-e%CC%80e%CC%82-should-work/src/it/minvoker-142/invoker.properties?rev=1666722&view=auto
==============================================================================
--- maven/plugins/trunk/maven-invoker-plugin/src/it/accénts-ñ-èê-should-work/src/it/minvoker-142/invoker.properties (added) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/accénts-ñ-èê-should-work/src/it/minvoker-142/invoker.properties Sat Mar 14 18:39:43 2015
@@ -0,0 +1,18 @@
+# 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

Added: maven/plugins/trunk/maven-invoker-plugin/src/it/accénts-ñ-èê-should-work/src/it/minvoker-142/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/acce%CC%81nts-n%CC%83-e%CC%80e%CC%82-should-work/src/it/minvoker-142/pom.xml?rev=1666722&view=auto
==============================================================================
--- maven/plugins/trunk/maven-invoker-plugin/src/it/accénts-ñ-èê-should-work/src/it/minvoker-142/pom.xml (added) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/accénts-ñ-èê-should-work/src/it/minvoker-142/pom.xml Sat Mar 14 18:39:43 2015
@@ -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/accénts-ñ-èê-should-work/src/it/minvoker-142/verify.groovy URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/acce%CC%81nts-n%CC%83-e%CC%80e%CC%82-should-work/src/it/minvoker-142/verify.groovy?rev=1666722&view=auto
==============================================================================
--- maven/plugins/trunk/maven-invoker-plugin/src/it/accénts-ñ-èê-should-work/src/it/minvoker-142/verify.groovy (added) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/accénts-ñ-èê-should-work/src/it/minvoker-142/verify.groovy Sat Mar 14 18:39:43 2015
@@ -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.
+ */
+File buildLog = new File( basedir, 'build.log' )
+assert buildLog.text.contains( '[DEBUG] Executing rule: org.apache.maven.plugins.enforcer.AlwaysPass' )
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to