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=======================================================
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>
29 <groupId>org.onap.ccsdk.parent</groupId>
30 <artifactId>binding-parent</artifactId>
31 <version>2.2.0</version>
35 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
36 <artifactId>sdnr-wt-data-provider-provider</artifactId>
37 <version>1.2.2-SNAPSHOT</version>
38 <packaging>bundle</packaging>
40 <name>ccsdk-features :: ${project.artifactId}</name>
43 <name>Apache License, Version 2.0</name>
44 <url>http://www.apache.org/licenses/LICENSE-2.0</url>
49 <maven.javadoc.skip>true</maven.javadoc.skip>
50 <databaseport>49402</databaseport>
51 <initdb>${basedir}/../setup/target/sdnr-wt-data-provider-setup-${project.version}.jar</initdb>
56 <groupId>org.mockito</groupId>
57 <artifactId>mockito-core</artifactId>
61 <groupId>org.apache.karaf.bundle</groupId>
62 <artifactId>org.apache.karaf.bundle.core</artifactId>
65 <groupId>${project.groupId}</groupId>
66 <artifactId>sdnr-wt-data-provider-setup</artifactId>
67 <version>${project.version}</version>
71 <groupId>${project.groupId}</groupId>
72 <artifactId>sdnr-wt-common</artifactId>
73 <version>${project.version}</version>
76 <groupId>${project.groupId}</groupId>
77 <artifactId>sdnr-wt-yang-utils</artifactId>
78 <version>${project.version}</version>
81 <groupId>${project.groupId}</groupId>
82 <artifactId>sdnr-wt-data-provider-model</artifactId>
83 <version>${project.version}</version>
86 <groupId>${project.groupId}</groupId>
87 <artifactId>sdnr-wt-data-provider-dblib</artifactId>
88 <version>${project.version}</version>
91 <groupId>javax.servlet</groupId>
92 <artifactId>javax.servlet-api</artifactId>
95 <groupId>org.osgi</groupId>
96 <artifactId>org.osgi.core</artifactId>
97 <scope>provided</scope>
100 <groupId>com.fasterxml.jackson.core</groupId>
101 <artifactId>jackson-annotations</artifactId>
104 <groupId>com.fasterxml.jackson.core</groupId>
105 <artifactId>jackson-databind</artifactId>
108 <groupId>org.apache.karaf.shell</groupId>
109 <artifactId>org.apache.karaf.shell.core</artifactId>
110 <scope>provided</scope>
113 <groupId>org.opendaylight.netconf</groupId>
114 <artifactId>sal-netconf-connector</artifactId>
115 <scope>provided</scope>
118 <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
119 <artifactId>rfc6991-ietf-yang-types</artifactId>
120 <scope>provided</scope>
123 <groupId>org.opendaylight.mdsal</groupId>
124 <artifactId>yang-binding</artifactId>
125 <scope>provided</scope>
128 <groupId>org.opendaylight.mdsal</groupId>
129 <artifactId>mdsal-singleton-common-api</artifactId>
130 <scope>provided</scope>
133 <groupId>org.json</groupId>
134 <artifactId>json</artifactId>
135 <scope>provided</scope>
137 <!-- MariaDB beginn -->
139 <groupId>ch.vorburger.mariaDB4j</groupId>
140 <artifactId>mariaDB4j</artifactId>
149 <groupId>org.jacoco</groupId>
150 <artifactId>jacoco-maven-plugin</artifactId>
153 <exclude>**/gen/**</exclude>
154 <exclude>**/generated-sources/**</exclude>
155 <exclude>**/yang-gen-sal/**</exclude>
156 <exclude>**/pax/**</exclude>
161 <groupId>org.codehaus.mojo</groupId>
162 <artifactId>exec-maven-plugin</artifactId>
165 <id>generateDTOs</id>
166 <phase>generate-sources</phase>
171 <executable>${basedir}/java.sh</executable>
173 <argument>-jar</argument>
174 <argument>${initdb}</argument>
175 <argument>-c</argument>
176 <argument>pluginfile</argument>
177 <argument>-of</argument>
178 <argument>${project.build.directory}/EsInit.script</argument>
185 <groupId>com.github.alexcojocaru</groupId>
186 <artifactId>elasticsearch-maven-plugin</artifactId>
188 <skip>${skipTests}</skip>
189 <clusterName>testCluster</clusterName>
190 <transportPort>9500</transportPort>
191 <httpPort>${databaseport}</httpPort>
192 <version>7.9.3</version>
193 <timeout>120</timeout>
194 <pathInitScript>${project.build.directory}/EsInit.script</pathInitScript>
198 <id>start-elasticsearch</id>
199 <phase>process-test-classes</phase>
201 <goal>runforked</goal>
205 <id>stop-elasticsearch</id>
206 <phase>prepare-package</phase>
214 <!-- <groupId>org.apache.felix</groupId> -->
215 <!-- <artifactId>maven-bundle-plugin</artifactId> -->
216 <!-- <extensions>true</extensions> -->
217 <!-- <configuration> -->
218 <!-- <instructions> -->
219 <!-- <Export-Package>org.onap.ccsdk.features.sdnr.wt.dataprovider.*</Export-Package> -->
220 <!-- <Import-Package>*</Import-Package> -->
221 <!-- <Embed-Dependency>dblib-provider;scope=provided|;inline=false,utils-provider;scope=provided|;inline=false</Embed-Dependency> -->
222 <!-- </instructions> -->
223 <!-- </configuration> -->
226 <groupId>org.apache.maven.plugins</groupId>
227 <artifactId>maven-surefire-plugin</artifactId>
231 <name>databaseport</name>
232 <value>${databaseport}</value>