Skip SpotBugs for generated code
[mdsal.git] / binding / binding-parent / pom.xml
index 482b0b9ddc92acd017c6f0fa594cf99b84fb57e6..1ed2a3b2c5e61176d0912d2da3dfea80e4d6b1d8 100644 (file)
@@ -12,7 +12,7 @@
     <parent>
         <groupId>org.opendaylight.mdsal</groupId>
         <artifactId>dom-parent</artifactId>
-        <version>12.0.0-SNAPSHOT</version>
+        <version>13.0.0-SNAPSHOT</version>
         <relativePath>../../dom/dom-parent</relativePath>
     </parent>
 
     <artifactId>binding-parent</artifactId>
     <packaging>pom</packaging>
 
+    <properties>
+        <spotbugs.onlyAnalyze>!org.opendaylight.yang.gen.-</spotbugs.onlyAnalyze>
+    </properties>
+
     <build>
         <!-- https://bugs.opendaylight.org/show_bug.cgi?id=6252 -->
         <resources>
                 </file>
             </activation>
             <dependencies>
+                <dependency>
+                    <groupId>com.google.guava</groupId>
+                    <artifactId>guava</artifactId>
+                </dependency>
+                <dependency>
+                    <groupId>org.eclipse.jdt</groupId>
+                    <artifactId>org.eclipse.jdt.annotation</artifactId>
+                </dependency>
                 <dependency>
                     <groupId>org.opendaylight.mdsal</groupId>
                     <artifactId>yang-binding</artifactId>
                 </dependency>
                 <dependency>
-                    <groupId>com.github.spotbugs</groupId>
-                    <artifactId>spotbugs-annotations</artifactId>
-                    <optional>true</optional>
+                    <groupId>org.opendaylight.yangtools</groupId>
+                    <artifactId>yang-common</artifactId>
                 </dependency>
             </dependencies>
             <build>
                         <plugin>
                             <groupId>org.opendaylight.yangtools</groupId>
                             <artifactId>yang-maven-plugin</artifactId>
-                            <version>11.0.0</version>
+                            <version>11.0.5</version>
                             <dependencies>
                                 <dependency>
                                     <groupId>org.opendaylight.mdsal</groupId>
                                     <artifactId>mdsal-binding-java-api-generator</artifactId>
-                                    <version>12.0.0-SNAPSHOT</version>
+                                    <version>13.0.0-SNAPSHOT</version>
                                 </dependency>
                             </dependencies>
                             <executions>