blob: bbd644848e2c4aaf489a34968bc47c90ae5ac52f [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 -->
Ravi Pendurty05fe1142021-04-19 12:46:16 +020025<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>
Dan Timoney122ea412023-03-30 20:34:47 -040031 <version>2.5.4</version>
Ravi Pendurty05fe1142021-04-19 12:46:16 +020032 <relativePath/>
33 </parent>
34
35 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
36 <artifactId>sdnr-wt-devicemanager-onap-onf14-provider</artifactId>
Dan Timoney37a05722023-06-06 06:55:17 -040037 <version>1.6.0-SNAPSHOT</version>
Ravi Pendurty05fe1142021-04-19 12:46:16 +020038 <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>
Michael DÜrreeb2a7c92022-03-10 10:39:16 +010054
Ravi Pendurty05fe1142021-04-19 12:46:16 +020055 <dependencies>
Ravi Pendurty05fe1142021-04-19 12:46:16 +020056 <dependency>
57 <groupId>${project.groupId}</groupId>
58 <artifactId>sdnr-wt-devicemanager-onap-onf14-model</artifactId>
59 <version>${project.version}</version>
60 </dependency>
61 <dependency>
Ravi Pendurty6b0b73e2021-08-18 21:02:36 +053062 <groupId>${project.groupId}</groupId>
Ravi Pendurty05fe1142021-04-19 12:46:16 +020063 <artifactId>sdnr-wt-devicemanager-core-model</artifactId>
64 <version>${project.version}</version>
65 <scope>provided</scope>
Michael Dürre25423c52022-07-20 09:32:50 +020066 </dependency>
67 <dependency>
68 <groupId>${project.groupId}</groupId>
69 <artifactId>sdnr-wt-websocketmanager-model</artifactId>
70 <version>${project.version}</version>
71 <scope>provided</scope>
Ravi Pendurty05fe1142021-04-19 12:46:16 +020072 </dependency>
73 <dependency>
Michael Dürre25423c52022-07-20 09:32:50 +020074 <groupId>${project.groupId}</groupId>
75 <artifactId>sdnr-wt-data-provider-model</artifactId>
76 <version>${project.version}</version>
77 <scope>provided</scope>
78 </dependency>
79 <dependency>
80 <groupId>${project.groupId}</groupId>
81 <artifactId>sdnr-wt-common</artifactId>
82 <version>${project.version}</version>
83 <scope>provided</scope>
84 </dependency>
85 <dependency>
Ravi Pendurty05fe1142021-04-19 12:46:16 +020086 <groupId>org.opendaylight.mdsal</groupId>
87 <artifactId>mdsal-binding-dom-codec-api</artifactId>
88 <scope>provided</scope>
89 </dependency>
90 <dependency>
91 <groupId>${project.groupId}</groupId>
92 <artifactId>sdnr-wt-netconfnode-state-service-model</artifactId>
93 <version>${project.version}</version>
94 <scope>provided</scope>
95 </dependency>
96 <dependency>
97 <groupId>org.opendaylight.netconf</groupId>
98 <artifactId>sal-netconf-connector</artifactId>
99 <scope>provided</scope>
100 </dependency>
101 <dependency>
102 <groupId>org.opendaylight.mdsal</groupId>
103 <artifactId>mdsal-singleton-common-api</artifactId>
104 <scope>provided</scope>
105 </dependency>
106 <dependency>
107 <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
108 <artifactId>rfc6991-ietf-yang-types</artifactId>
109 <scope>provided</scope>
110 </dependency>
Michael Dürre25423c52022-07-20 09:32:50 +0200111 <!-- begin for testing -->
112 <dependency>
113 <groupId>org.mockito</groupId>
114 <artifactId>mockito-core</artifactId>
115 <scope>test</scope>
116 </dependency>
117 <!-- end for testing -->
Ravi Pendurty05fe1142021-04-19 12:46:16 +0200118 </dependencies>
119
120 <build>
121 <resources>
122 <resource>
123 <directory>src/main/resources</directory>
124 <filtering>true</filtering>
125 </resource>
126 </resources>
Michael DÜrreeb2a7c92022-03-10 10:39:16 +0100127 <pluginManagement><plugins>
128 <plugin>
129 <groupId>org.opendaylight.yangtools</groupId>
130 <artifactId>yang-maven-plugin</artifactId>
Michael Dürre25423c52022-07-20 09:32:50 +0200131 <version>7.0.9</version>
Michael DÜrreeb2a7c92022-03-10 10:39:16 +0100132 <executions>
133 <execution>
134 <id>binding</id>
135 <phase>none</phase>
136 <goals>
137 <goal>generate-sources</goal>
138 </goals>
139 <configuration>
140 <inspectDependencies>true</inspectDependencies>
141 </configuration>
142 </execution>
143 </executions>
144 <dependencies>
145 <dependency>
146 <groupId>org.opendaylight.mdsal</groupId>
147 <artifactId>mdsal-binding-java-api-generator</artifactId>
148 <version>8.0.6</version>
149 <scope>compile</scope>
150 </dependency>
151 </dependencies>
152 </plugin>
153 </plugins>
154 </pluginManagement>
Ravi Pendurty05fe1142021-04-19 12:46:16 +0200155 <plugins>
156 <plugin>
157 <groupId>org.jacoco</groupId>
158 <artifactId>jacoco-maven-plugin</artifactId>
159 <configuration>
160 <excludes>
161 <exclude>**/gen/**</exclude>
162 <exclude>**/generated-sources/**</exclude>
163 <exclude>**/yang-gen-sal/**</exclude>
164 <exclude>**/pax/**</exclude>
165 </excludes>
166 </configuration>
167 </plugin>
Michael DÜrreeb2a7c92022-03-10 10:39:16 +0100168 <plugin>
169 <artifactId>maven-enforcer-plugin</artifactId>
170 <version>3.0.0</version>
171 <executions>
172 <execution>
173 <id>enforce-maven</id>
174 <goals>
175 <goal>enforce</goal>
176 </goals>
177 <configuration>
178 <rules>
179 <requireJavaVersion>
180 <version>11</version>
181 </requireJavaVersion>
182 <requireMavenVersion>
183 <version>[3.5.0,)</version>
184 </requireMavenVersion>
185 </rules>
186 </configuration>
187 </execution>
188 <execution>
189 <id>enforce-banned-dependencies</id>
190 <goals>
191 <goal>enforce</goal>
192 </goals>
193 <configuration>
194 <rules>
195 <bannedDependencies>
196 <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>
197 <excludes>
198 <exclude>org.mockito:mockito-all</exclude>
199 <exclude>com.google.code.findbugs:annotations</exclude>
200 </excludes>
201 </bannedDependencies>
202 </rules>
203 <fail>false</fail>
204 </configuration>
205 </execution>
206 </executions>
207 </plugin>
Ravi Pendurty05fe1142021-04-19 12:46:16 +0200208 </plugins>
209 </build>
210</project>