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.1.0</version>
36 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
37 <artifactId>sdnr-wt-data-provider-provider</artifactId>
38 <version>1.1.1-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>
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-data-provider-model</artifactId>
78 <version>${project.version}</version>
81 <groupId>javax.servlet</groupId>
82 <artifactId>servlet-api</artifactId>
85 <groupId>org.osgi</groupId>
86 <artifactId>org.osgi.core</artifactId>
87 <scope>provided</scope>
91 <groupId>org.apache.karaf.shell</groupId>
92 <artifactId>org.apache.karaf.shell.core</artifactId>
93 <scope>provided</scope>
96 <!-- <groupId>org.apache.karaf.bundle</groupId> -->
97 <!-- <artifactId>org.apache.karaf.bundle.core</artifactId> -->
98 <!-- <scope>provided</scope> -->
99 <!-- </dependency> -->
101 <groupId>org.opendaylight.netconf</groupId>
102 <artifactId>sal-netconf-connector</artifactId>
103 <scope>provided</scope>
106 <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
107 <artifactId>rfc6991-ietf-yang-types</artifactId>
108 <scope>provided</scope>
111 <groupId>org.opendaylight.mdsal</groupId>
112 <artifactId>yang-binding</artifactId>
113 <scope>provided</scope>
116 <groupId>org.opendaylight.mdsal</groupId>
117 <artifactId>mdsal-singleton-common-api</artifactId>
118 <scope>provided</scope>
121 <groupId>org.json</groupId>
122 <artifactId>json</artifactId>
123 <scope>provided</scope>
130 <groupId>org.jacoco</groupId>
131 <artifactId>jacoco-maven-plugin</artifactId>
134 <exclude>**/gen/**</exclude>
135 <exclude>**/generated-sources/**</exclude>
136 <exclude>**/yang-gen-sal/**</exclude>
137 <exclude>**/pax/**</exclude>
142 <groupId>org.codehaus.mojo</groupId>
143 <artifactId>exec-maven-plugin</artifactId>
146 <id>generateDTOs</id>
147 <phase>generate-sources</phase>
152 <executable>java</executable>
154 <argument>-jar</argument>
155 <argument>${basedir}/../../data-provider/setup/target/sdnr-dmt.jar</argument>
156 <argument>-c</argument>
157 <argument>pluginfile</argument>
158 <argument>-of</argument>
159 <argument>${project.build.directory}/EsInit.script</argument>
166 <groupId>com.github.alexcojocaru</groupId>
167 <artifactId>elasticsearch-maven-plugin</artifactId>
169 <skip>${skipTests}</skip>
170 <clusterName>testCluster</clusterName>
171 <transportPort>9500</transportPort>
172 <httpPort>${databaseport}</httpPort>
173 <version>7.9.3</version>
174 <timeout>120</timeout>
175 <pathInitScript>${project.build.directory}/EsInit.script</pathInitScript>
179 <id>start-elasticsearch</id>
180 <phase>process-test-classes</phase>
182 <goal>runforked</goal>
186 <id>stop-elasticsearch</id>
187 <phase>prepare-package</phase>
195 <groupId>org.apache.maven.plugins</groupId>
196 <artifactId>maven-surefire-plugin</artifactId>
200 <name>databaseport</name>
201 <value>${databaseport}</value>