Release version 1.3.1
[ccsdk/features.git] / sdnr / wt / devicemanager-onap / onf14 / provider / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ ============LICENSE_START=======================================================
4   ~ ONAP : ccsdk features
5   ~ ================================================================================
6   ~ Copyright (C) 2020 highstreet technologies GmbH Intellectual Property.
7   ~ All rights reserved.
8   ~ ================================================================================
9   ~ Update Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
10   ~ ================================================================================
11   ~ Licensed under the Apache License, Version 2.0 (the "License");
12   ~ you may not use this file except in compliance with the License.
13   ~ You may obtain a copy of the License at
14   ~
15   ~     http://www.apache.org/licenses/LICENSE-2.0
16   ~
17   ~ Unless required by applicable law or agreed to in writing, software
18   ~ distributed under the License is distributed on an "AS IS" BASIS,
19   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20   ~ See the License for the specific language governing permissions and
21   ~ limitations under the License.
22   ~ ============LICENSE_END=======================================================
23   ~
24   -->
25 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
26     <modelVersion>4.0.0</modelVersion>
27
28     <parent>
29         <groupId>org.onap.ccsdk.parent</groupId>
30         <artifactId>binding-parent</artifactId>
31         <version>2.3.3</version>
32         <relativePath/>
33     </parent>
34
35     <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
36     <artifactId>sdnr-wt-devicemanager-onap-onf14-provider</artifactId>
37     <version>1.3.2-SNAPSHOT</version>
38     <packaging>bundle</packaging>
39
40     <name>ccsdk-features :: ${project.artifactId}</name>
41     <licenses>
42         <license>
43             <name>Apache License, Version 2.0</name>
44             <url>http://www.apache.org/licenses/LICENSE-2.0</url>
45         </license>
46     </licenses>
47
48     <properties>
49         <maven.javadoc.skip>true</maven.javadoc.skip>
50         <maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
51         <buildtime>${maven.build.timestamp} UTC</buildtime>
52         <databaseport>49400</databaseport>
53     </properties>
54     
55     <dependencies>
56         <!-- begin for testing -->
57         <dependency>
58             <groupId>org.mockito</groupId>
59             <artifactId>mockito-core</artifactId>
60             <scope>test</scope>
61         </dependency>
62
63         <!-- end for testing -->
64         <dependency>
65             <groupId>${project.groupId}</groupId>
66             <artifactId>sdnr-wt-devicemanager-onap-onf14-model</artifactId>
67             <version>${project.version}</version>
68         </dependency>
69         <dependency>
70             <groupId>${project.groupId}</groupId>
71             <artifactId>sdnr-wt-devicemanager-core-model</artifactId>
72             <version>${project.version}</version>
73             <scope>provided</scope>
74         </dependency>
75         <dependency>
76             <groupId>org.opendaylight.mdsal</groupId>
77             <artifactId>mdsal-binding-dom-codec-api</artifactId>
78             <scope>provided</scope>
79         </dependency>
80         <dependency>
81             <groupId>${project.groupId}</groupId>
82             <artifactId>sdnr-wt-netconfnode-state-service-model</artifactId>
83             <version>${project.version}</version>
84             <scope>provided</scope>
85         </dependency>
86         <dependency>
87             <groupId>org.opendaylight.netconf</groupId>
88             <artifactId>sal-netconf-connector</artifactId>
89             <version>2.0.4</version>
90             <scope>provided</scope>
91         </dependency>
92         <dependency>
93             <groupId>org.opendaylight.mdsal</groupId>
94             <artifactId>mdsal-singleton-common-api</artifactId>
95             <scope>provided</scope>
96         </dependency>
97         <dependency>
98             <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
99             <artifactId>rfc6991-ietf-yang-types</artifactId>
100             <scope>provided</scope>
101         </dependency>
102     </dependencies>
103
104     <build>
105         <resources>
106             <resource>
107                 <directory>src/main/resources</directory>
108                 <filtering>true</filtering>
109             </resource>
110         </resources>
111         <pluginManagement><plugins>
112                 <plugin>
113           <groupId>org.opendaylight.yangtools</groupId>
114           <artifactId>yang-maven-plugin</artifactId>
115           <version>7.0.9</version>
116           <executions>
117             <execution>
118               <id>binding</id>
119               <phase>none</phase>
120               <goals>
121                 <goal>generate-sources</goal>
122               </goals>
123               <configuration>
124                 <inspectDependencies>true</inspectDependencies>
125               </configuration>
126             </execution>
127           </executions>
128           <dependencies>
129             <dependency>
130               <groupId>org.opendaylight.mdsal</groupId>
131               <artifactId>mdsal-binding-java-api-generator</artifactId>
132               <version>8.0.6</version>
133               <scope>compile</scope>
134             </dependency>
135           </dependencies>
136         </plugin>
137               </plugins>
138             </pluginManagement>
139         <plugins>
140             <plugin>
141                 <groupId>org.jacoco</groupId>
142                 <artifactId>jacoco-maven-plugin</artifactId>
143                 <configuration>
144                     <excludes>
145                         <exclude>**/gen/**</exclude>
146                         <exclude>**/generated-sources/**</exclude>
147                         <exclude>**/yang-gen-sal/**</exclude>
148                         <exclude>**/pax/**</exclude>
149                     </excludes>
150                 </configuration>
151             </plugin>
152                   <plugin>
153         <artifactId>maven-enforcer-plugin</artifactId>
154         <version>3.0.0</version>
155         <executions>
156           <execution>
157             <id>enforce-maven</id>
158             <goals>
159               <goal>enforce</goal>
160             </goals>
161             <configuration>
162               <rules>
163                 <requireJavaVersion>
164                   <version>11</version>
165                 </requireJavaVersion>
166                 <requireMavenVersion>
167                   <version>[3.5.0,)</version>
168                 </requireMavenVersion>
169               </rules>
170             </configuration>
171           </execution>
172           <execution>
173             <id>enforce-banned-dependencies</id>
174             <goals>
175               <goal>enforce</goal>
176             </goals>
177             <configuration>
178               <rules>
179                 <bannedDependencies>
180                   <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>
181                   <excludes>
182                     <exclude>org.mockito:mockito-all</exclude>
183                     <exclude>com.google.code.findbugs:annotations</exclude>
184                   </excludes>
185                 </bannedDependencies>
186               </rules>
187               <fail>false</fail>
188             </configuration>
189           </execution>
190         </executions>
191       </plugin>
192         </plugins>
193     </build>
194 </project>