checkstyle: add check style 96/66696/1
authorIsaku Yamahata <isaku.yamahata@intel.com>
Thu, 21 Dec 2017 05:17:10 +0000 (21:17 -0800)
committerIsaku Yamahata <isaku.yamahata@intel.com>
Thu, 21 Dec 2017 06:06:56 +0000 (22:06 -0800)
some modules are missing check style.
Enable checkstyle enforcement for them.

Change-Id: I43c32675519cf56b4df96597c8d1be0b6a7b068a
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
neutron-logger/pom.xml
neutron-spi/pom.xml
northbound-api/pom.xml

index 90536df0609e2d194edf1b263cf5247656a733a8..0ae04bbf1044ca3d2b686425777e8f19dfff8649 100644 (file)
   </dependencies>
   <build>
     <plugins>
+         <plugin>
+          <artifactId>maven-checkstyle-plugin</artifactId>
+          <configuration>
+            <excludes>org/opendaylight/yang/gen/**,**/yang/**</excludes>
+            <consoleOutput>true</consoleOutput>
+            <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
+          </configuration>
+          <executions>
+            <execution>
+              <goals>
+                <goal>check</goal>
+              </goals>
+              <phase>process-sources</phase>
+            </execution>
+          </executions>
+        </plugin>
       <plugin>
         <groupId>org.apache.felix</groupId>
         <artifactId>maven-bundle-plugin</artifactId>
index 25e45e498d69c2f7e2796ff30ac4717c253a96c0..c6e4d23ef30b02e9d8182b341eb5ba1666c03830 100644 (file)
   </dependencies>
   <build>
     <plugins>
+      <plugin>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+        <configuration>
+          <excludes>org/opendaylight/yang/gen/**,**/yang/**</excludes>
+          <consoleOutput>true</consoleOutput>
+          <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
+        </configuration>
+        <executions>
+          <execution>
+            <goals>
+              <goal>check</goal>
+            </goals>
+            <phase>process-sources</phase>
+          </execution>
+        </executions>
+      </plugin>
       <plugin>
         <groupId>org.apache.felix</groupId>
         <artifactId>maven-bundle-plugin</artifactId>
index 703f1f1c3ad2f5022c397c06ee8f80b2ff381b14..1f595c446675d56bb0a239bd83e1eaf1a1dc5a0b 100644 (file)
   </dependencies>
   <build>
     <plugins>
+      <plugin>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+        <configuration>
+          <excludes>org/opendaylight/yang/gen/**,**/yang/**</excludes>
+          <consoleOutput>true</consoleOutput>
+          <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
+        </configuration>
+        <executions>
+          <execution>
+            <goals>
+              <goal>check</goal>
+            </goals>
+            <phase>process-sources</phase>
+          </execution>
+        </executions>
+      </plugin>
       <plugin>
         <groupId>org.apache.felix</groupId>
         <artifactId>maven-bundle-plugin</artifactId>