Enable checkstyle in mdsal-binding-spec-util 72/76872/2
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 11 Oct 2018 12:13:39 +0000 (14:13 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 11 Oct 2018 12:32:11 +0000 (14:32 +0200)
This flips enforcement on.

Change-Id: I8e3db62a29d21fe727b1c31b0c3982b42eb58444
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-spec-util/pom.xml

index 857f2ad0c3bec2dfc6d60849d05de005ba9481e5..e3547c1937f376e761f9421a4ea4933a88381a81 100644 (file)
             <groupId>org.opendaylight.mdsal</groupId>
             <artifactId>yang-binding</artifactId>
         </dependency>
-
-        <dependency>
-            <groupId>org.mockito</groupId>
-            <artifactId>mockito-core</artifactId>
-            <scope>test</scope>
-        </dependency>
     </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-checkstyle-plugin</artifactId>
+                <configuration>
+                    <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
     <scm>
         <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>