1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ ============LICENSE_START=======================================================
4 ~ ONAP : ccsdk features
5 ~ ================================================================================
6 ~ Copyright (C) 2019 highstreet technologies GmbH Intellectual Property.
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
15 ~ http://www.apache.org/licenses/LICENSE-2.0
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=======================================================
26 <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>
30 <groupId>org.onap.ccsdk.parent</groupId>
31 <artifactId>binding-parent</artifactId>
32 <version>2.2.0-SNAPSHOT</version>
36 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
37 <artifactId>sdnr-wt-data-provider-provider</artifactId>
38 <version>1.2.0-SNAPSHOT</version>
39 <packaging>bundle</packaging>
41 <name>ccsdk-features :: ${project.artifactId}</name>
44 <name>Apache License, Version 2.0</name>
45 <url>http://www.apache.org/licenses/LICENSE-2.0</url>
50 <maven.javadoc.skip>true</maven.javadoc.skip>
51 <databaseport>49402</databaseport>
52 <initdb>${basedir}/../setup/target/sdnr-wt-data-provider-setup-${project.version}.jar</initdb>
57 <groupId>org.mockito</groupId>
58 <artifactId>mockito-core</artifactId>
62 <groupId>org.apache.karaf.bundle</groupId>
63 <artifactId>org.apache.karaf.bundle.core</artifactId>
66 <groupId>${project.groupId}</groupId>
67 <artifactId>sdnr-wt-data-provider-setup</artifactId>
68 <version>${project.version}</version>
72 <groupId>${project.groupId}</groupId>
73 <artifactId>sdnr-wt-common</artifactId>
74 <version>${project.version}</version>
77 <groupId>${project.groupId}</groupId>
78 <artifactId>sdnr-wt-yang-utils</artifactId>
79 <version>${project.version}</version>
82 <groupId>${project.groupId}</groupId>
83 <artifactId>sdnr-wt-data-provider-model</artifactId>
84 <version>${project.version}</version>
87 <groupId>${project.groupId}</groupId>
88 <artifactId>sdnr-wt-data-provider-dblib</artifactId>
89 <version>${project.version}</version>
92 <groupId>javax.servlet</groupId>
93 <artifactId>javax.servlet-api</artifactId>
96 <groupId>org.osgi</groupId>
97 <artifactId>org.osgi.core</artifactId>
98 <scope>provided</scope>
101 <groupId>com.fasterxml.jackson.core</groupId>
102 <artifactId>jackson-annotations</artifactId>
105 <groupId>com.fasterxml.jackson.core</groupId>
106 <artifactId>jackson-databind</artifactId>
109 <groupId>org.apache.karaf.shell</groupId>
110 <artifactId>org.apache.karaf.shell.core</artifactId>
111 <scope>provided</scope>
114 <groupId>org.opendaylight.netconf</groupId>
115 <artifactId>sal-netconf-connector</artifactId>
116 <scope>provided</scope>
119 <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
120 <artifactId>rfc6991-ietf-yang-types</artifactId>
121 <scope>provided</scope>
124 <groupId>org.opendaylight.mdsal</groupId>
125 <artifactId>yang-binding</artifactId>
126 <scope>provided</scope>
129 <groupId>org.opendaylight.mdsal</groupId>
130 <artifactId>mdsal-singleton-common-api</artifactId>
131 <scope>provided</scope>
134 <groupId>org.json</groupId>
135 <artifactId>json</artifactId>
136 <scope>provided</scope>
138 <!-- MariaDB beginn -->
140 <groupId>ch.vorburger.mariaDB4j</groupId>
141 <artifactId>mariaDB4j</artifactId>
150 <groupId>org.jacoco</groupId>
151 <artifactId>jacoco-maven-plugin</artifactId>
154 <exclude>**/gen/**</exclude>
155 <exclude>**/generated-sources/**</exclude>
156 <exclude>**/yang-gen-sal/**</exclude>
157 <exclude>**/pax/**</exclude>
162 <groupId>org.codehaus.mojo</groupId>
163 <artifactId>exec-maven-plugin</artifactId>
166 <id>generateDTOs</id>
167 <phase>generate-sources</phase>
172 <executable>${basedir}/java.sh</executable>
174 <argument>-jar</argument>
175 <argument>${initdb}</argument>
176 <argument>-c</argument>
177 <argument>pluginfile</argument>
178 <argument>-of</argument>
179 <argument>${project.build.directory}/EsInit.script</argument>
186 <groupId>com.github.alexcojocaru</groupId>
187 <artifactId>elasticsearch-maven-plugin</artifactId>
189 <skip>${skipTests}</skip>
190 <clusterName>testCluster</clusterName>
191 <transportPort>9500</transportPort>
192 <httpPort>${databaseport}</httpPort>
193 <version>7.9.3</version>
194 <timeout>120</timeout>
195 <pathInitScript>${project.build.directory}/EsInit.script</pathInitScript>
199 <id>start-elasticsearch</id>
200 <phase>process-test-classes</phase>
202 <goal>runforked</goal>
206 <id>stop-elasticsearch</id>
207 <phase>prepare-package</phase>
215 <!-- <groupId>org.apache.felix</groupId> -->
216 <!-- <artifactId>maven-bundle-plugin</artifactId> -->
217 <!-- <extensions>true</extensions> -->
218 <!-- <configuration> -->
219 <!-- <instructions> -->
220 <!-- <Export-Package>org.onap.ccsdk.features.sdnr.wt.dataprovider.*</Export-Package> -->
221 <!-- <Import-Package>*</Import-Package> -->
222 <!-- <Embed-Dependency>dblib-provider;scope=provided|;inline=false,utils-provider;scope=provided|;inline=false</Embed-Dependency> -->
223 <!-- </instructions> -->
224 <!-- </configuration> -->
227 <groupId>org.apache.maven.plugins</groupId>
228 <artifactId>maven-surefire-plugin</artifactId>
232 <name>databaseport</name>
233 <value>${databaseport}</value>