olingo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject git commit: Set checkstyle line length to 120
Date Wed, 04 Sep 2013 09:10:17 GMT
Updated Branches:
  refs/heads/master 33834d2be -> d343d3f21


Set checkstyle line length to 120


Project: http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/commit/d343d3f2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/tree/d343d3f2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/diff/d343d3f2

Branch: refs/heads/master
Commit: d343d3f21cfa9e51de4c6758899c6c9e75a617ba
Parents: 33834d2
Author: Michael Bolz <mibo@apache.org>
Authored: Wed Sep 4 11:10:11 2013 +0200
Committer: Michael Bolz <mibo@apache.org>
Committed: Wed Sep 4 11:10:11 2013 +0200

----------------------------------------------------------------------
 pom.xml                   | 31 +++++++++++++++++++++----------
 src/checkstyle/config.xml |  3 +++
 2 files changed, 24 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/blob/d343d3f2/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 90d808a..7a8a01d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -239,6 +239,26 @@
                     </execution>
                 </executions>
             </plugin>
+          <plugin>
+            <artifactId>maven-checkstyle-plugin</artifactId>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>check</goal>
+                </goals>
+              </execution>
+            </executions>
+            <configuration>
+              <outputFileFormat>xml</outputFileFormat>
+              <consoleOutput>true</consoleOutput>
+              <enableRSS>false</enableRSS>
+              <linkXRef>false</linkXRef>
+              <configLocation>src/checkstyle/config.xml</configLocation>
+              <sourceDirectory>${basedir}/src</sourceDirectory>
+              <encoding>UTF-8</encoding>
+              <failOnViolation>false</failOnViolation>
+            </configuration>
+          </plugin>
         </plugins>
     </build>
 
@@ -289,19 +309,10 @@
                         <artifactId>maven-checkstyle-plugin</artifactId>
                         <executions>
                             <execution>
-                                <goals>
-                                    <goal>check</goal>
-                                </goals>
+                              <phase>package</phase>
                             </execution>
                         </executions>
                         <configuration>
-                            <outputFileFormat>xml</outputFileFormat>
-                            <consoleOutput>true</consoleOutput>
-                            <enableRSS>false</enableRSS>
-                            <linkXRef>false</linkXRef>
-                            <configLocation>src/checkstyle/config.xml</configLocation>
-                            <sourceDirectory>${basedir}/src</sourceDirectory>
-                            <encoding>UTF-8</encoding>
                             <failOnViolation>true</failOnViolation>
                             <violationSeverity>error</violationSeverity>
                         </configuration>

http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/blob/d343d3f2/src/checkstyle/config.xml
----------------------------------------------------------------------
diff --git a/src/checkstyle/config.xml b/src/checkstyle/config.xml
index 4dccc74..2d4e169 100644
--- a/src/checkstyle/config.xml
+++ b/src/checkstyle/config.xml
@@ -66,6 +66,9 @@
     <module name="RightCurly">
       <property name="severity" value="warning"/>
     </module>
+    <module name="LineLength">
+      <property name="max" value="120"/>
+    </module>
   </module>
   <module name="SuppressionCommentFilter"/>
 </module>


Mime
View raw message