blob: f55690f5ca7d7e6e1cb0247fdfa67f6a662ede13 [file] [log] [blame]
herbertd77d01b2020-01-30 10:15:11 +01001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -05003 ~ ============LICENSE_START=======================================================
4 ~ ONAP : ccsdk features
5 ~ ================================================================================
6 ~ Copyright (C) 2019 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 -->
Dan Timoneybccf4502024-08-08 15:57:35 -040025
herbertd77d01b2020-01-30 10:15:11 +010026<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>
Dan Timoneybccf4502024-08-08 15:57:35 -040032 <version>2.8.0-SNAPSHOT</version>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050033 <relativePath/>
herbertd77d01b2020-01-30 10:15:11 +010034 </parent>
35
Ravi Pendurtycbac4382021-02-03 16:19:39 +010036 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
herbertd77d01b2020-01-30 10:15:11 +010037 <artifactId>sdnr-wt-data-provider-provider</artifactId>
Dan Timoneybccf4502024-08-08 15:57:35 -040038 <version>1.8.0-SNAPSHOT</version>
herbertd77d01b2020-01-30 10:15:11 +010039 <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>
herbertd77d01b2020-01-30 10:15:11 +010050 <maven.javadoc.skip>true</maven.javadoc.skip>
Michael DÜrre6ae7e8a2021-04-09 08:01:19 +020051 <databaseport>49402</databaseport>
52 <initdb>${basedir}/../setup/target/sdnr-wt-data-provider-setup-${project.version}.jar</initdb>
herbertd77d01b2020-01-30 10:15:11 +010053 </properties>
54
55 <dependencies>
56 <dependency>
57 <groupId>org.mockito</groupId>
58 <artifactId>mockito-core</artifactId>
59 <scope>test</scope>
60 </dependency>
herbert4eed58b2020-02-28 13:51:00 +010061 <dependency>
Michael Dürreeab84092020-09-03 11:05:35 +020062 <groupId>org.apache.karaf.bundle</groupId>
63 <artifactId>org.apache.karaf.bundle.core</artifactId>
Michael Dürre25423c52022-07-20 09:32:50 +020064 <scope>provided</scope>
Michael Dürreeab84092020-09-03 11:05:35 +020065 </dependency>
66 <dependency>
Michael Dürreee75b192020-02-26 06:41:50 +010067 <groupId>${project.groupId}</groupId>
68 <artifactId>sdnr-wt-data-provider-setup</artifactId>
69 <version>${project.version}</version>
70 <scope>test</scope>
71 </dependency>
herbertd77d01b2020-01-30 10:15:11 +010072 <dependency>
73 <groupId>${project.groupId}</groupId>
74 <artifactId>sdnr-wt-common</artifactId>
75 <version>${project.version}</version>
76 </dependency>
77 <dependency>
78 <groupId>${project.groupId}</groupId>
Michael DÜrre24cac212021-04-06 10:33:41 +020079 <artifactId>sdnr-wt-yang-utils</artifactId>
80 <version>${project.version}</version>
81 </dependency>
82 <dependency>
83 <groupId>${project.groupId}</groupId>
herbertd77d01b2020-01-30 10:15:11 +010084 <artifactId>sdnr-wt-data-provider-model</artifactId>
85 <version>${project.version}</version>
86 </dependency>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050087 <dependency>
Ravi Pendurty01653672021-07-26 12:42:00 +053088 <groupId>${project.groupId}</groupId>
89 <artifactId>sdnr-wt-data-provider-dblib</artifactId>
90 <version>${project.version}</version>
91 </dependency>
92 <dependency>
Ravi Pendurty6b8e4f12023-03-02 12:06:07 +053093 <groupId>jakarta.servlet</groupId>
94 <artifactId>jakarta.servlet-api</artifactId>
Michael Dürre25423c52022-07-20 09:32:50 +020095 <scope>provided</scope>
herbertd77d01b2020-01-30 10:15:11 +010096 </dependency>
97 <dependency>
98 <groupId>org.osgi</groupId>
99 <artifactId>org.osgi.core</artifactId>
100 <scope>provided</scope>
101 </dependency>
Ravi Pendurty80ebbf52021-02-03 13:56:31 +0100102 <dependency>
103 <groupId>com.fasterxml.jackson.core</groupId>
104 <artifactId>jackson-annotations</artifactId>
Michael Dürre25423c52022-07-20 09:32:50 +0200105 <scope>provided</scope>
Ravi Pendurty80ebbf52021-02-03 13:56:31 +0100106 </dependency>
107 <dependency>
108 <groupId>com.fasterxml.jackson.core</groupId>
109 <artifactId>jackson-databind</artifactId>
Michael Dürre25423c52022-07-20 09:32:50 +0200110 <scope>provided</scope>
Ravi Pendurty80ebbf52021-02-03 13:56:31 +0100111 </dependency>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -0500112 <dependency>
herbertd77d01b2020-01-30 10:15:11 +0100113 <groupId>org.apache.karaf.shell</groupId>
114 <artifactId>org.apache.karaf.shell.core</artifactId>
115 <scope>provided</scope>
116 </dependency>
117 <dependency>
118 <groupId>org.opendaylight.netconf</groupId>
Michael Dürre7964e8a2024-08-15 10:04:54 +0200119 <artifactId>netconf-client-mdsal</artifactId>
herbertd77d01b2020-01-30 10:15:11 +0100120 </dependency>
121 <dependency>
122 <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
123 <artifactId>rfc6991-ietf-yang-types</artifactId>
124 <scope>provided</scope>
125 </dependency>
126 <dependency>
127 <groupId>org.opendaylight.mdsal</groupId>
128 <artifactId>yang-binding</artifactId>
129 <scope>provided</scope>
130 </dependency>
131 <dependency>
132 <groupId>org.opendaylight.mdsal</groupId>
Michael Dürre7964e8a2024-08-15 10:04:54 +0200133 <artifactId>mdsal-binding-api</artifactId>
134 <scope>provided</scope>
135 </dependency>
136 <dependency>
137 <groupId>org.opendaylight.mdsal</groupId>
herbertd77d01b2020-01-30 10:15:11 +0100138 <artifactId>mdsal-singleton-common-api</artifactId>
139 <scope>provided</scope>
140 </dependency>
141 <dependency>
142 <groupId>org.json</groupId>
143 <artifactId>json</artifactId>
144 <scope>provided</scope>
145 </dependency>
Ravi Pendurty01653672021-07-26 12:42:00 +0530146 <!-- MariaDB beginn -->
147 <dependency>
148 <groupId>ch.vorburger.mariaDB4j</groupId>
149 <artifactId>mariaDB4j</artifactId>
150 <scope>test</scope>
151 </dependency>
Ravi Pendurty6b8e4f12023-03-02 12:06:07 +0530152 <dependency>
Dan Timoneyc35ad792023-06-28 11:38:33 -0400153 <groupId>org.opendaylight.netconf</groupId>
154 <artifactId>netconf-topology</artifactId>
155 <scope>test</scope>
156 </dependency>
157 <dependency>
Ravi Pendurty6b8e4f12023-03-02 12:06:07 +0530158 <groupId>org.osgi</groupId>
159 <artifactId>osgi.cmpn</artifactId>
160 <version>7.0.0</version>
161 <scope>compile</scope>
162 </dependency>
Ravi Pendurty01653672021-07-26 12:42:00 +0530163 <!-- MariaDB end -->
herbertd77d01b2020-01-30 10:15:11 +0100164 </dependencies>
165
166 <build>
167 <plugins>
168 <plugin>
169 <groupId>org.jacoco</groupId>
170 <artifactId>jacoco-maven-plugin</artifactId>
171 <configuration>
172 <excludes>
173 <exclude>**/gen/**</exclude>
174 <exclude>**/generated-sources/**</exclude>
175 <exclude>**/yang-gen-sal/**</exclude>
176 <exclude>**/pax/**</exclude>
177 </excludes>
178 </configuration>
179 </plugin>
180 <plugin>
181 <groupId>org.codehaus.mojo</groupId>
182 <artifactId>exec-maven-plugin</artifactId>
183 <executions>
184 <execution>
185 <id>generateDTOs</id>
186 <phase>generate-sources</phase>
187 <goals>
188 <goal>exec</goal>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -0500189 </goals>
190 <configuration>
Ravi Pendurty80ebbf52021-02-03 13:56:31 +0100191 <executable>${basedir}/java.sh</executable>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -0500192 <arguments>
Michael Dürreee75b192020-02-26 06:41:50 +0100193 <argument>-jar</argument>
Michael DÜrre24cac212021-04-06 10:33:41 +0200194 <argument>${initdb}</argument>
Michael Dürreee75b192020-02-26 06:41:50 +0100195 <argument>-c</argument>
196 <argument>pluginfile</argument>
197 <argument>-of</argument>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -0500198 <argument>${project.build.directory}/EsInit.script</argument>
199 </arguments>
200 </configuration>
herbertd77d01b2020-01-30 10:15:11 +0100201 </execution>
202 </executions>
203 </plugin>
204 <plugin>
205 <groupId>com.github.alexcojocaru</groupId>
206 <artifactId>elasticsearch-maven-plugin</artifactId>
herbertd77d01b2020-01-30 10:15:11 +0100207 <configuration>
208 <skip>${skipTests}</skip>
209 <clusterName>testCluster</clusterName>
210 <transportPort>9500</transportPort>
211 <httpPort>${databaseport}</httpPort>
Michael DÜrref88794b2020-11-19 15:40:16 +0100212 <version>7.9.3</version>
herbertd77d01b2020-01-30 10:15:11 +0100213 <timeout>120</timeout>
214 <pathInitScript>${project.build.directory}/EsInit.script</pathInitScript>
215 </configuration>
216 <executions>
217 <execution>
218 <id>start-elasticsearch</id>
219 <phase>process-test-classes</phase>
220 <goals>
221 <goal>runforked</goal>
222 </goals>
223 </execution>
224 <execution>
225 <id>stop-elasticsearch</id>
226 <phase>prepare-package</phase>
227 <goals>
228 <goal>stop</goal>
229 </goals>
230 </execution>
231 </executions>
232 </plugin>
Michael DÜrreeb2a7c92022-03-10 10:39:16 +0100233
herbertd77d01b2020-01-30 10:15:11 +0100234 <plugin>
235 <groupId>org.apache.maven.plugins</groupId>
236 <artifactId>maven-surefire-plugin</artifactId>
237 <configuration>
238 <systemProperties>
239 <property>
240 <name>databaseport</name>
241 <value>${databaseport}</value>
242 </property>
243 </systemProperties>
244 </configuration>
245 </plugin>
246 </plugins>
247 </build>
248</project>