Use released 2.4.0 parent poms
[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.4.0</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.4.0-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           <executions>
116             <execution>
117               <id>binding</id>
118               <phase>none</phase>
119               <goals>
120                 <goal>generate-sources</goal>
121               </goals>
122               <configuration>
123                 <inspectDependencies>true</inspectDependencies>
124               </configuration>
125             </execution>
126           </executions>
127           <dependencies>
128             <dependency>
129               <groupId>org.opendaylight.mdsal</groupId>
130               <artifactId>mdsal-binding-java-api-generator</artifactId>
131               <version>8.0.6</version>
132               <scope>compile</scope>
133             </dependency>
134           </dependencies>
135         </plugin>
136               </plugins>
137             </pluginManagement>
138         <plugins>
139             <plugin>
140                 <groupId>org.jacoco</groupId>
141                 <artifactId>jacoco-maven-plugin</artifactId>
142                 <configuration>
143                     <excludes>
144                         <exclude>**/gen/**</exclude>
145                         <exclude>**/generated-sources/**</exclude>
146                         <exclude>**/yang-gen-sal/**</exclude>
147                         <exclude>**/pax/**</exclude>
148                     </excludes>
149                 </configuration>
150             </plugin>
151                   <plugin>
152         <artifactId>maven-enforcer-plugin</artifactId>
153         <version>3.0.0</version>
154         <executions>
155           <execution>
156             <id>enforce-maven</id>
157             <goals>
158               <goal>enforce</goal>
159             </goals>
160             <configuration>
161               <rules>
162                 <requireJavaVersion>
163                   <version>11</version>
164                 </requireJavaVersion>
165                 <requireMavenVersion>
166                   <version>[3.5.0,)</version>
167                 </requireMavenVersion>
168               </rules>
169             </configuration>
170           </execution>
171           <execution>
172             <id>enforce-banned-dependencies</id>
173             <goals>
174               <goal>enforce</goal>
175             </goals>
176             <configuration>
177               <rules>
178                 <bannedDependencies>
179                   <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>
180                   <excludes>
181                     <exclude>org.mockito:mockito-all</exclude>
182                     <exclude>com.google.code.findbugs:annotations</exclude>
183                   </excludes>
184                 </bannedDependencies>
185               </rules>
186               <fail>false</fail>
187             </configuration>
188           </execution>
189         </executions>
190       </plugin>
191         </plugins>
192     </build>
193 </project>