blob: 4714fe94c896ba3b96476e5dc48b7a4816f98442 [file] [log] [blame]
Ravi Pendurty05fe1142021-04-19 12:46:16 +02001<?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 -->
Michael Dürre25423c52022-07-20 09:32:50 +020025
Ravi Pendurty05fe1142021-04-19 12:46:16 +020026<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">
27 <modelVersion>4.0.0</modelVersion>
28
29 <parent>
30 <groupId>org.onap.ccsdk.parent</groupId>
31 <artifactId>binding-parent</artifactId>
Michael Dürre25423c52022-07-20 09:32:50 +020032 <version>2.4.1-SNAPSHOT</version>
Ravi Pendurty05fe1142021-04-19 12:46:16 +020033 <relativePath/>
34 </parent>
35
36 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
37 <artifactId>sdnr-wt-devicemanager-onap-onf14-provider</artifactId>
Dan Timoneyd9e14352022-04-01 09:09:45 -040038 <version>1.4.0-SNAPSHOT</version>
Ravi Pendurty05fe1142021-04-19 12:46:16 +020039 <packaging>bundle</packaging>
40
41 <name>ccsdk-features :: ${project.artifactId}</name>
42 <licenses>
43 <license>
44 <name>Apache License, Version 2.0</name>
45 <url>http://www.apache.org/licenses/LICENSE-2.0</url>
46 </license>
47 </licenses>
48
49 <properties>
50 <maven.javadoc.skip>true</maven.javadoc.skip>
51 <maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
52 <buildtime>${maven.build.timestamp} UTC</buildtime>
53 <databaseport>49400</databaseport>
54 </properties>
Michael DÜrreeb2a7c92022-03-10 10:39:16 +010055
Ravi Pendurty05fe1142021-04-19 12:46:16 +020056 <dependencies>
Ravi Pendurty05fe1142021-04-19 12:46:16 +020057 <dependency>
58 <groupId>${project.groupId}</groupId>
59 <artifactId>sdnr-wt-devicemanager-onap-onf14-model</artifactId>
60 <version>${project.version}</version>
61 </dependency>
62 <dependency>
Ravi Pendurty6b0b73e2021-08-18 21:02:36 +053063 <groupId>${project.groupId}</groupId>
Ravi Pendurty05fe1142021-04-19 12:46:16 +020064 <artifactId>sdnr-wt-devicemanager-core-model</artifactId>
65 <version>${project.version}</version>
66 <scope>provided</scope>
Michael Dürre25423c52022-07-20 09:32:50 +020067 </dependency>
68 <dependency>
69 <groupId>${project.groupId}</groupId>
70 <artifactId>sdnr-wt-websocketmanager-model</artifactId>
71 <version>${project.version}</version>
72 <scope>provided</scope>
Ravi Pendurty05fe1142021-04-19 12:46:16 +020073 </dependency>
74 <dependency>
Michael Dürre25423c52022-07-20 09:32:50 +020075 <groupId>${project.groupId}</groupId>
76 <artifactId>sdnr-wt-data-provider-model</artifactId>
77 <version>${project.version}</version>
78 <scope>provided</scope>
79 </dependency>
80 <dependency>
81 <groupId>${project.groupId}</groupId>
82 <artifactId>sdnr-wt-common</artifactId>
83 <version>${project.version}</version>
84 <scope>provided</scope>
85 </dependency>
86 <dependency>
Ravi Pendurty05fe1142021-04-19 12:46:16 +020087 <groupId>org.opendaylight.mdsal</groupId>
88 <artifactId>mdsal-binding-dom-codec-api</artifactId>
89 <scope>provided</scope>
90 </dependency>
91 <dependency>
92 <groupId>${project.groupId}</groupId>
93 <artifactId>sdnr-wt-netconfnode-state-service-model</artifactId>
94 <version>${project.version}</version>
95 <scope>provided</scope>
96 </dependency>
97 <dependency>
98 <groupId>org.opendaylight.netconf</groupId>
99 <artifactId>sal-netconf-connector</artifactId>
100 <scope>provided</scope>
101 </dependency>
102 <dependency>
103 <groupId>org.opendaylight.mdsal</groupId>
104 <artifactId>mdsal-singleton-common-api</artifactId>
105 <scope>provided</scope>
106 </dependency>
107 <dependency>
108 <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
109 <artifactId>rfc6991-ietf-yang-types</artifactId>
110 <scope>provided</scope>
111 </dependency>
Michael Dürre25423c52022-07-20 09:32:50 +0200112 <!-- begin for testing -->
113 <dependency>
114 <groupId>org.mockito</groupId>
115 <artifactId>mockito-core</artifactId>
116 <scope>test</scope>
117 </dependency>
118 <!-- end for testing -->
Ravi Pendurty05fe1142021-04-19 12:46:16 +0200119 </dependencies>
120
121 <build>
122 <resources>
123 <resource>
124 <directory>src/main/resources</directory>
125 <filtering>true</filtering>
126 </resource>
127 </resources>
Michael DÜrreeb2a7c92022-03-10 10:39:16 +0100128 <pluginManagement><plugins>
129 <plugin>
130 <groupId>org.opendaylight.yangtools</groupId>
131 <artifactId>yang-maven-plugin</artifactId>
Michael Dürre25423c52022-07-20 09:32:50 +0200132 <version>7.0.9</version>
Michael DÜrreeb2a7c92022-03-10 10:39:16 +0100133 <executions>
134 <execution>
135 <id>binding</id>
136 <phase>none</phase>
137 <goals>
138 <goal>generate-sources</goal>
139 </goals>
140 <configuration>
141 <inspectDependencies>true</inspectDependencies>
142 </configuration>
143 </execution>
144 </executions>
145 <dependencies>
146 <dependency>
147 <groupId>org.opendaylight.mdsal</groupId>
148 <artifactId>mdsal-binding-java-api-generator</artifactId>
149 <version>8.0.6</version>
150 <scope>compile</scope>
151 </dependency>
152 </dependencies>
153 </plugin>
154 </plugins>
155 </pluginManagement>
Ravi Pendurty05fe1142021-04-19 12:46:16 +0200156 <plugins>
157 <plugin>
158 <groupId>org.jacoco</groupId>
159 <artifactId>jacoco-maven-plugin</artifactId>
160 <configuration>
161 <excludes>
162 <exclude>**/gen/**</exclude>
163 <exclude>**/generated-sources/**</exclude>
164 <exclude>**/yang-gen-sal/**</exclude>
165 <exclude>**/pax/**</exclude>
166 </excludes>
167 </configuration>
168 </plugin>
Michael DÜrreeb2a7c92022-03-10 10:39:16 +0100169 <plugin>
170 <artifactId>maven-enforcer-plugin</artifactId>
171 <version>3.0.0</version>
172 <executions>
173 <execution>
174 <id>enforce-maven</id>
175 <goals>
176 <goal>enforce</goal>
177 </goals>
178 <configuration>
179 <rules>
180 <requireJavaVersion>
181 <version>11</version>
182 </requireJavaVersion>
183 <requireMavenVersion>
184 <version>[3.5.0,)</version>
185 </requireMavenVersion>
186 </rules>
187 </configuration>
188 </execution>
189 <execution>
190 <id>enforce-banned-dependencies</id>
191 <goals>
192 <goal>enforce</goal>
193 </goals>
194 <configuration>
195 <rules>
196 <bannedDependencies>
197 <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>
198 <excludes>
199 <exclude>org.mockito:mockito-all</exclude>
200 <exclude>com.google.code.findbugs:annotations</exclude>
201 </excludes>
202 </bannedDependencies>
203 </rules>
204 <fail>false</fail>
205 </configuration>
206 </execution>
207 </executions>
208 </plugin>
Ravi Pendurty05fe1142021-04-19 12:46:16 +0200209 </plugins>
210 </build>
211</project>