BGPCEP-712: Set Checkstyle with warn violationSeverity level 95/70095/3
authorClaudio D. Gasparini <claudio.gasparini@pantheon.tech>
Mon, 26 Mar 2018 07:10:46 +0000 (09:10 +0200)
committerClaudio David Gasparini <claudio.gasparini@pantheon.tech>
Tue, 27 Mar 2018 16:15:54 +0000 (16:15 +0000)
under specific modules. Until checkstyle issues
are fixed. Therefore we can enforce on top parent
the checkstyle for the rest.

Change-Id: I70cb6e540e4d6e9fa07aabe0f52527896ba228d1
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
bgp/flowspec/pom.xml
bgp/labeled-unicast/pom.xml
bgp/linkstate/pom.xml
bgp/parser-impl/pom.xml
bgp/parser-spi/pom.xml
bgp/rib-impl/pom.xml
pcep/base-parser/pom.xml
pcep/ietf-stateful07/pom.xml
pcep/impl/pom.xml
pcep/segment-routing/pom.xml
pcep/spi/pom.xml

index 31eaa5b69a25221c86a52a6a3312fb4412e16191..d841f36fb184325643f90ebe05aa619460894dca 100644 (file)
         </dependency>
     </dependencies>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-checkstyle-plugin</artifactId>
+                <configuration>
+                    <violationSeverity>warn</violationSeverity>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
     <scm>
         <connection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</connection>
         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</developerConnection>
index bf24053afc8785d8e51780887450c58ef8de8249..e1895438b3e61aba73f8d73c10bb1f7f7c40a279 100644 (file)
         </dependency>
     </dependencies>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-checkstyle-plugin</artifactId>
+                <configuration>
+                    <violationSeverity>warn</violationSeverity>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
     <scm>
         <connection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</connection>
         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</developerConnection>
index 8713d8538ec6e57b810983d7f649c011d1d05348..1ddd6cf48dbab6c18a8a7237262283ba54f03c68 100644 (file)
         </dependency>
     </dependencies>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-checkstyle-plugin</artifactId>
+                <configuration>
+                    <violationSeverity>warn</violationSeverity>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
     <scm>
         <connection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</connection>
         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</developerConnection>
index c973cbaf0c83a41b5abeca8d97f16fe023223e64..2668a469428c29e481914736d7f9633b23df2a71 100644 (file)
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-checkstyle-plugin</artifactId>
+                <configuration>
+                    <violationSeverity>warn</violationSeverity>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 
index d4ec9b9af8d59df9144e33ce821bece4ac91b806..2f18d22b999bc333352028b79ad4c9c26603762e 100644 (file)
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-checkstyle-plugin</artifactId>
+                <configuration>
+                    <violationSeverity>warn</violationSeverity>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 
index a5998ce8c205797c07935f7c362ea12faea773f6..50082167b4aa24e3cb2e0697b14282dd4e7495ae 100644 (file)
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-checkstyle-plugin</artifactId>
+                <configuration>
+                    <violationSeverity>warn</violationSeverity>
+                </configuration>
+            </plugin>
             <!-- Disable offline link detection which breaks the build here -->
             <plugin>
                 <artifactId>maven-javadoc-plugin</artifactId>
index 18c7699449dbe243c5e8c45960a413df26e2245d..35f4a2df11be5304cd991fefb589fb5d9b3caa80 100644 (file)
         </dependency>
     </dependencies>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-checkstyle-plugin</artifactId>
+                <configuration>
+                    <violationSeverity>warn</violationSeverity>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
     <scm>
         <connection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</connection>
         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</developerConnection>
index 68adc22dfdaf0b8b229c1d6a6f606270bcd8ece2..8b7a2ab87930f7057d0b8c9c935fea5e7c80a7d6 100644 (file)
         </dependency>
     </dependencies>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-checkstyle-plugin</artifactId>
+                <configuration>
+                    <violationSeverity>warn</violationSeverity>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
     <scm>
         <connection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</connection>
         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</developerConnection>
index 3548b423e9ee4b5fcc86e017843ffa2e96c825fb..4ee7c337126122e300e491902cc8186d21b9654e 100644 (file)
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-checkstyle-plugin</artifactId>
+                <configuration>
+                    <violationSeverity>warn</violationSeverity>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 
index b799e207597ac61efc92af70c5f277c0d082d23f..21dbe0fb65e4e69a8c732cf021d4ab58ed59b47f 100644 (file)
         </dependency>
     </dependencies>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-checkstyle-plugin</artifactId>
+                <configuration>
+                    <violationSeverity>warn</violationSeverity>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
     <scm>
         <connection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</connection>
         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</developerConnection>
index 8027a85e978600af68600281cc5897ba419bf2ba..cda41d2dc27c30d5a253f3fbb8a3d408aea2f4e7 100644 (file)
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-checkstyle-plugin</artifactId>
+                <configuration>
+                    <violationSeverity>warn</violationSeverity>
+                </configuration>
+            </plugin>
         </plugins>
     </build>