Make sure re-enabled Neutron follows checkstyle 72/41572/1
authorLorand Jakab <lojakab@cisco.com>
Fri, 8 Jul 2016 17:46:47 +0000 (12:46 -0500)
committerLorand Jakab <lojakab@cisco.com>
Fri, 8 Jul 2016 17:46:47 +0000 (12:46 -0500)
Neutron is now disabled in the build, but when it is ready to be
re-enabled, it should follow and enforce odlparent checkstyle rules.

Change-Id: I8efc8e2e75c2fe4c24d6ecb16c43cf6dd8fa0fbe
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
mappingservice/neutron/pom.xml

index 4ff5a6c36d54635ddf4b6d570f273a7c5db06300..68078c128a42c1cd3513fd14051ab688f8a2b412 100644 (file)
   </dependencies>
 
   <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <!-- Enforce odlparent checkstyle -->
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-checkstyle-plugin</artifactId>
+          <configuration>
+            <includeTestSourceDirectory>true</includeTestSourceDirectory>
+            <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
     <plugins>
       <plugin>
         <groupId>org.apache.felix</groupId>