Enable checkstyle for neutronvpn
[netvirt.git] / vpnservice / neutronvpn / neutronvpn-impl / pom.xml
index 6b663b5fb430bbfb8d7174dab2543773c1724317..a1c95de9f4864cf03a29985274b6524f6c4828f3 100644 (file)
@@ -114,6 +114,13 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
   </distributionManagement>
   <build>
     <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+        <configuration>
+          <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
+        </configuration>
+      </plugin>
       <plugin>
         <groupId>org.apache.felix</groupId>
         <artifactId>maven-bundle-plugin</artifactId>