Clean up pom of mdsal-binding-test-model a bit 46/78046/1
authorJie Han <han.jie@zte.com.cn>
Thu, 22 Nov 2018 11:51:37 +0000 (19:51 +0800)
committerJie Han <han.jie@zte.com.cn>
Thu, 22 Nov 2018 11:55:56 +0000 (19:55 +0800)
- Remove duplicated dependecy and exclution.
- Enable spotbugs

Change-Id: I9bcd76d7fcf1ae1447bbf4f0b698f6f24bc24279
Signed-off-by: Jie Han <han.jie@zte.com.cn>
binding/mdsal-binding-test-model/pom.xml

index 6bfc81de26eabdab7030f77a65757818522a4e5b..76f81fb01a9cb5ad9a9e4d6efc5339b50a33c5c4 100644 (file)
     <description>${project.artifactId}</description>
 
     <dependencies>
-        <dependency>
-            <groupId>org.opendaylight.mdsal</groupId>
-            <artifactId>yang-binding</artifactId>
-        </dependency>
         <dependency>
             <groupId>org.opendaylight.mdsal.model</groupId>
             <artifactId>yang-ext</artifactId>
-            <exclusions>
-                <exclusion>
-                    <groupId>org.opendaylight.mdsal</groupId>
-                    <artifactId>yang-binding</artifactId>
-                </exclusion>
-            </exclusions>
         </dependency>
     </dependencies>
 
                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>com.github.spotbugs</groupId>
+                <artifactId>spotbugs-maven-plugin</artifactId>
+                <configuration>
+                    <failOnError>true</failOnError>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 </project>