Release version 1.3.1
[ccsdk/features.git] / sdnr / wt / devicemanager-onap / onf14 / provider / pom.xml
index 32e61bf..569b4e7 100644 (file)
     <parent>
         <groupId>org.onap.ccsdk.parent</groupId>
         <artifactId>binding-parent</artifactId>
-        <version>2.2.1</version>
+        <version>2.3.3</version>
         <relativePath/>
     </parent>
 
     <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
     <artifactId>sdnr-wt-devicemanager-onap-onf14-provider</artifactId>
-    <version>1.2.4-SNAPSHOT</version>
+    <version>1.3.2-SNAPSHOT</version>
     <packaging>bundle</packaging>
 
     <name>ccsdk-features :: ${project.artifactId}</name>
@@ -51,7 +51,7 @@
         <buildtime>${maven.build.timestamp} UTC</buildtime>
         <databaseport>49400</databaseport>
     </properties>
-
+    
     <dependencies>
         <!-- begin for testing -->
         <dependency>
@@ -86,6 +86,7 @@
         <dependency>
             <groupId>org.opendaylight.netconf</groupId>
             <artifactId>sal-netconf-connector</artifactId>
+            <version>2.0.4</version>
             <scope>provided</scope>
         </dependency>
         <dependency>
                 <filtering>true</filtering>
             </resource>
         </resources>
+        <pluginManagement><plugins>
+               <plugin>
+          <groupId>org.opendaylight.yangtools</groupId>
+          <artifactId>yang-maven-plugin</artifactId>
+          <version>7.0.9</version>
+          <executions>
+            <execution>
+              <id>binding</id>
+              <phase>none</phase>
+              <goals>
+                <goal>generate-sources</goal>
+              </goals>
+              <configuration>
+                <inspectDependencies>true</inspectDependencies>
+              </configuration>
+            </execution>
+          </executions>
+          <dependencies>
+            <dependency>
+              <groupId>org.opendaylight.mdsal</groupId>
+              <artifactId>mdsal-binding-java-api-generator</artifactId>
+              <version>8.0.6</version>
+              <scope>compile</scope>
+            </dependency>
+          </dependencies>
+        </plugin>
+             </plugins>
+           </pluginManagement>
         <plugins>
             <plugin>
                 <groupId>org.jacoco</groupId>
                     </excludes>
                 </configuration>
             </plugin>
+                  <plugin>
+        <artifactId>maven-enforcer-plugin</artifactId>
+        <version>3.0.0</version>
+        <executions>
+          <execution>
+            <id>enforce-maven</id>
+            <goals>
+              <goal>enforce</goal>
+            </goals>
+            <configuration>
+              <rules>
+                <requireJavaVersion>
+                  <version>11</version>
+                </requireJavaVersion>
+                <requireMavenVersion>
+                  <version>[3.5.0,)</version>
+                </requireMavenVersion>
+              </rules>
+            </configuration>
+          </execution>
+          <execution>
+            <id>enforce-banned-dependencies</id>
+            <goals>
+              <goal>enforce</goal>
+            </goals>
+            <configuration>
+              <rules>
+                <bannedDependencies>
+                  <message>Please always use mockito-core instead of mockito-all (see https://bugs.opendaylight.org/show_bug.cgi?id=7662), and spotbugs:annotations instead of findbugs:annotations</message>
+                  <excludes>
+                    <exclude>org.mockito:mockito-all</exclude>
+                    <exclude>com.google.code.findbugs:annotations</exclude>
+                  </excludes>
+                </bannedDependencies>
+              </rules>
+              <fail>false</fail>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
         </plugins>
     </build>
 </project>