You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2015/01/18 22:48:37 UTC

svn commit: r1652861 - in /maven/plugins/trunk/maven-checkstyle-plugin/src/it: MCHECKSTYLE-169/pom.xml check-fail/pom.xml turbine-checks/pom.xml

Author: hboutemy
Date: Sun Jan 18 21:48:36 2015
New Revision: 1652861

URL: http://svn.apache.org/r1652861
Log:
[MCHECKSTYLE-249] updated ITs to not fail when distribution created on Unix and ITs run on Windows

Modified:
    maven/plugins/trunk/maven-checkstyle-plugin/src/it/MCHECKSTYLE-169/pom.xml
    maven/plugins/trunk/maven-checkstyle-plugin/src/it/check-fail/pom.xml
    maven/plugins/trunk/maven-checkstyle-plugin/src/it/turbine-checks/pom.xml

Modified: maven/plugins/trunk/maven-checkstyle-plugin/src/it/MCHECKSTYLE-169/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/it/MCHECKSTYLE-169/pom.xml?rev=1652861&r1=1652860&r2=1652861&view=diff
==============================================================================
--- maven/plugins/trunk/maven-checkstyle-plugin/src/it/MCHECKSTYLE-169/pom.xml (original)
+++ maven/plugins/trunk/maven-checkstyle-plugin/src/it/MCHECKSTYLE-169/pom.xml Sun Jan 18 21:48:36 2015
@@ -21,16 +21,20 @@ 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">
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
+
   <groupId>com.company</groupId>
   <artifactId>parent</artifactId>
   <packaging>pom</packaging>
   <version>1.0.0</version>
+
   <properties>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <checkstyleVersion>@project.version@</checkstyleVersion>
+    <checkstyle.violation.ignore>NewlineAtEndOfFile</checkstyle.violation.ignore>
   </properties>
+
   <build>
     <pluginManagement>
       <plugins>

Modified: maven/plugins/trunk/maven-checkstyle-plugin/src/it/check-fail/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/it/check-fail/pom.xml?rev=1652861&r1=1652860&r2=1652861&view=diff
==============================================================================
--- maven/plugins/trunk/maven-checkstyle-plugin/src/it/check-fail/pom.xml (original)
+++ maven/plugins/trunk/maven-checkstyle-plugin/src/it/check-fail/pom.xml Sun Jan 18 21:48:36 2015
@@ -32,6 +32,7 @@
 
   <properties>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <checkstyle.violation.ignore>NewlineAtEndOfFile</checkstyle.violation.ignore>
   </properties>
 
   <build>

Modified: maven/plugins/trunk/maven-checkstyle-plugin/src/it/turbine-checks/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/it/turbine-checks/pom.xml?rev=1652861&r1=1652860&r2=1652861&view=diff
==============================================================================
--- maven/plugins/trunk/maven-checkstyle-plugin/src/it/turbine-checks/pom.xml (original)
+++ maven/plugins/trunk/maven-checkstyle-plugin/src/it/turbine-checks/pom.xml Sun Jan 18 21:48:36 2015
@@ -20,7 +20,7 @@
 
 <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">
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
 
   <groupId>org.apache.maven.plugins.checkstyle</groupId>
@@ -32,6 +32,7 @@
 
   <properties>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <checkstyle.violation.ignore>NewlineAtEndOfFile</checkstyle.violation.ignore>
   </properties>
 
   <build>



Re: svn commit: r1652861 - in /maven/plugins/trunk/maven-checkstyle-plugin/src/it: MCHECKSTYLE-169/pom.xml check-fail/pom.xml turbine-checks/pom.xml

Posted by Robert Scholte <rf...@apache.org>.
I really like this solution

Robert

Op Sun, 18 Jan 2015 22:48:37 +0100 schreef <hb...@apache.org>:

> Author: hboutemy
> Date: Sun Jan 18 21:48:36 2015
> New Revision: 1652861
>
> URL: http://svn.apache.org/r1652861
> Log:
> [MCHECKSTYLE-249] updated ITs to not fail when distribution created on  
> Unix and ITs run on Windows
>
> Modified:
>     maven/plugins/trunk/maven-checkstyle-plugin/src/it/MCHECKSTYLE-169/pom.xml
>     maven/plugins/trunk/maven-checkstyle-plugin/src/it/check-fail/pom.xml
>     maven/plugins/trunk/maven-checkstyle-plugin/src/it/turbine-checks/pom.xml
>
> Modified:  
> maven/plugins/trunk/maven-checkstyle-plugin/src/it/MCHECKSTYLE-169/pom.xml
> URL:  
> http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/it/MCHECKSTYLE-169/pom.xml?rev=1652861&r1=1652860&r2=1652861&view=diff
> ==============================================================================
> ---  
> maven/plugins/trunk/maven-checkstyle-plugin/src/it/MCHECKSTYLE-169/pom.xml  
> (original)
> +++  
> maven/plugins/trunk/maven-checkstyle-plugin/src/it/MCHECKSTYLE-169/pom.xml  
> Sun Jan 18 21:48:36 2015
> @@ -21,16 +21,20 @@ 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">
> +         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0  
> http://maven.apache.org/xsd/maven-4.0.0.xsd">
>    <modelVersion>4.0.0</modelVersion>
> +
>    <groupId>com.company</groupId>
>    <artifactId>parent</artifactId>
>    <packaging>pom</packaging>
>    <version>1.0.0</version>
> +
>    <properties>
>      <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
>      <checkstyleVersion>@project.version@</checkstyleVersion>
> +     
> <checkstyle.violation.ignore>NewlineAtEndOfFile</checkstyle.violation.ignore>
>    </properties>
> +
>    <build>
>      <pluginManagement>
>        <plugins>
>
> Modified:  
> maven/plugins/trunk/maven-checkstyle-plugin/src/it/check-fail/pom.xml
> URL:  
> http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/it/check-fail/pom.xml?rev=1652861&r1=1652860&r2=1652861&view=diff
> ==============================================================================
> ---  
> maven/plugins/trunk/maven-checkstyle-plugin/src/it/check-fail/pom.xml  
> (original)
> +++  
> maven/plugins/trunk/maven-checkstyle-plugin/src/it/check-fail/pom.xml  
> Sun Jan 18 21:48:36 2015
> @@ -32,6 +32,7 @@
>   <properties>
>      <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
> +     
> <checkstyle.violation.ignore>NewlineAtEndOfFile</checkstyle.violation.ignore>
>    </properties>
>   <build>
>
> Modified:  
> maven/plugins/trunk/maven-checkstyle-plugin/src/it/turbine-checks/pom.xml
> URL:  
> http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/it/turbine-checks/pom.xml?rev=1652861&r1=1652860&r2=1652861&view=diff
> ==============================================================================
> ---  
> maven/plugins/trunk/maven-checkstyle-plugin/src/it/turbine-checks/pom.xml  
> (original)
> +++  
> maven/plugins/trunk/maven-checkstyle-plugin/src/it/turbine-checks/pom.xml  
> Sun Jan 18 21:48:36 2015
> @@ -20,7 +20,7 @@
> <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">
> +         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0  
> http://maven.apache.org/xsd/maven-4.0.0.xsd">
>    <modelVersion>4.0.0</modelVersion>
>   <groupId>org.apache.maven.plugins.checkstyle</groupId>
> @@ -32,6 +32,7 @@
>   <properties>
>      <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
> +     
> <checkstyle.violation.ignore>NewlineAtEndOfFile</checkstyle.violation.ignore>
>    </properties>
>   <build>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org