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.5.3</version>
35 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
36 <artifactId>sdnr-wt-data-provider-provider</artifactId>
37 <version>1.5.1-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>
63 <scope>provided</scope>
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>
94 <scope>provided</scope>
97 <groupId>org.osgi</groupId>
98 <artifactId>org.osgi.core</artifactId>
99 <scope>provided</scope>
102 <groupId>com.fasterxml.jackson.core</groupId>
103 <artifactId>jackson-annotations</artifactId>
104 <scope>provided</scope>
107 <groupId>com.fasterxml.jackson.core</groupId>
108 <artifactId>jackson-databind</artifactId>
109 <scope>provided</scope>
112 <groupId>org.apache.karaf.shell</groupId>
113 <artifactId>org.apache.karaf.shell.core</artifactId>
114 <scope>provided</scope>
117 <groupId>org.opendaylight.netconf</groupId>
118 <artifactId>sal-netconf-connector</artifactId>
119 <scope>provided</scope>
122 <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
123 <artifactId>rfc6991-ietf-yang-types</artifactId>
124 <scope>provided</scope>
127 <groupId>org.opendaylight.mdsal</groupId>
128 <artifactId>yang-binding</artifactId>
129 <scope>provided</scope>
132 <groupId>org.opendaylight.mdsal</groupId>
133 <artifactId>mdsal-singleton-common-api</artifactId>
134 <scope>provided</scope>
137 <groupId>org.json</groupId>
138 <artifactId>json</artifactId>
139 <scope>provided</scope>
141 <!-- MariaDB beginn -->
143 <groupId>ch.vorburger.mariaDB4j</groupId>
144 <artifactId>mariaDB4j</artifactId>
153 <groupId>org.jacoco</groupId>
154 <artifactId>jacoco-maven-plugin</artifactId>
157 <exclude>**/gen/**</exclude>
158 <exclude>**/generated-sources/**</exclude>
159 <exclude>**/yang-gen-sal/**</exclude>
160 <exclude>**/pax/**</exclude>
165 <groupId>org.codehaus.mojo</groupId>
166 <artifactId>exec-maven-plugin</artifactId>
169 <id>generateDTOs</id>
170 <phase>generate-sources</phase>
175 <executable>${basedir}/java.sh</executable>
177 <argument>-jar</argument>
178 <argument>${initdb}</argument>
179 <argument>-c</argument>
180 <argument>pluginfile</argument>
181 <argument>-of</argument>
182 <argument>${project.build.directory}/EsInit.script</argument>
189 <groupId>com.github.alexcojocaru</groupId>
190 <artifactId>elasticsearch-maven-plugin</artifactId>
192 <skip>${skipTests}</skip>
193 <clusterName>testCluster</clusterName>
194 <transportPort>9500</transportPort>
195 <httpPort>${databaseport}</httpPort>
196 <version>7.9.3</version>
197 <timeout>120</timeout>
198 <pathInitScript>${project.build.directory}/EsInit.script</pathInitScript>
202 <id>start-elasticsearch</id>
203 <phase>process-test-classes</phase>
205 <goal>runforked</goal>
209 <id>stop-elasticsearch</id>
210 <phase>prepare-package</phase>
219 <groupId>org.apache.maven.plugins</groupId>
220 <artifactId>maven-surefire-plugin</artifactId>
224 <name>databaseport</name>
225 <value>${databaseport}</value>