1 <?xml version="1.0" encoding="UTF-8"?>
3 ============LICENSE_START=======================================================
4 ONAP : CCSDK / SDNR / WT / devicemanager
5 ================================================================================
6 Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All
8 ================================================================================
9 Licensed under the Apache License, Version 2.0 (the "License"); you may not
10 use this file except in compliance with the License. You may obtain a copy
11 of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
12 by applicable law or agreed to in writing, software distributed under the
13 License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
14 OF ANY KIND, either express or implied. See the License for the specific
15 language governing permissions and limitations under the License.
16 ============LICENSE_END=========================================================
18 <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">
19 <modelVersion>4.0.0</modelVersion>
22 <groupId>org.onap.ccsdk.parent</groupId>
23 <artifactId>binding-parent</artifactId>
24 <version>1.5.1-SNAPSHOT</version>
28 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
29 <artifactId>sdnr-wt-devicemanager-provider</artifactId>
30 <version>0.7.0-SNAPSHOT</version>
31 <packaging>bundle</packaging>
33 <name>ccsdk-features :: ${project.artifactId}</name>
36 <name>Apache License, Version 2.0</name>
37 <url>http://www.apache.org/licenses/LICENSE-2.0</url>
42 <checkstyle.skip>true</checkstyle.skip> <!-- POM configuration -->
43 <maven.javadoc.skip>true</maven.javadoc.skip>
44 <maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
45 <buildtime>${maven.build.timestamp} UTC</buildtime>
46 <elasticsearch.version>6.4.3</elasticsearch.version>
47 <databaseport>49400</databaseport>
51 <!-- begin for testing -->
53 <groupId>org.mockito</groupId>
54 <artifactId>mockito-core</artifactId>
58 <!-- end for testing -->
60 <groupId>${project.groupId}</groupId>
61 <artifactId>sdnr-wt-devicemanager-model</artifactId>
62 <version>${project.version}</version>
65 <groupId>${project.groupId}</groupId>
66 <artifactId>sdnr-wt-netconfnode-state-service-model</artifactId>
67 <version>${project.version}</version>
68 <scope>provided</scope>
71 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
72 <artifactId>sdnr-wt-websocketmanager2-model</artifactId>
73 <version>${project.version}</version>
74 <scope>provided</scope>
77 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
78 <artifactId>sdnr-wt-data-provider-database</artifactId>
79 <version>${project.version}</version>
80 <scope>provided</scope>
83 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
84 <artifactId>sdnr-wt-common</artifactId>
85 <version>${project.version}</version>
86 <scope>provided</scope>
89 <groupId>org.osgi</groupId>
90 <artifactId>org.osgi.core</artifactId>
91 <scope>provided</scope>
94 <groupId>org.opendaylight.mdsal.model</groupId>
95 <artifactId>ietf-topology</artifactId>
98 <groupId>org.opendaylight.netconf</groupId>
99 <artifactId>sal-netconf-connector</artifactId>
100 <scope>provided</scope>
103 <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
104 <artifactId>rfc6991-ietf-yang-types</artifactId>
105 <scope>provided</scope>
108 <groupId>org.opendaylight.mdsal</groupId>
109 <artifactId>yang-binding</artifactId>
110 <scope>provided</scope>
113 <groupId>org.opendaylight.mdsal</groupId>
114 <artifactId>mdsal-singleton-common-api</artifactId>
115 <scope>provided</scope>
118 <groupId>org.json</groupId>
119 <artifactId>json</artifactId>
120 <scope>provided</scope>
123 <groupId>com.typesafe.akka</groupId>
124 <artifactId>akka-actor_2.12</artifactId>
125 <scope>provided</scope>
128 <groupId>com.typesafe.akka</groupId>
129 <artifactId>akka-cluster_2.12</artifactId>
130 <scope>provided</scope>
133 <groupId>org.osgi</groupId>
134 <artifactId>org.osgi.compendium</artifactId>
135 <scope>provided</scope>
138 <!-- <dependency> -->
139 <!-- <groupId>org.elasticsearch.client</groupId> -->
140 <!-- <artifactId>elasticsearch-rest-client</artifactId> -->
141 <!-- <version>${elasticsearch.version}</version> -->
142 <!-- </dependency> -->
144 <groupId>org.apache.commons</groupId>
145 <artifactId>commons-lang3</artifactId>
146 <scope>provided</scope>
149 <groupId>com.fasterxml.jackson.core</groupId>
150 <artifactId>jackson-core</artifactId>
151 <scope>provided</scope>
154 <groupId>com.fasterxml.jackson.core</groupId>
155 <artifactId>jackson-annotations</artifactId>
156 <scope>provided</scope>
159 <groupId>com.fasterxml.jackson.core</groupId>
160 <artifactId>jackson-databind</artifactId>
161 <scope>provided</scope>
169 <directory>src/main/resources</directory>
170 <filtering>true</filtering>
175 <groupId>org.jacoco</groupId>
176 <artifactId>jacoco-maven-plugin</artifactId>
179 <exclude>**/gen/**</exclude>
180 <exclude>**/generated-sources/**</exclude>
181 <exclude>**/yang-gen-sal/**</exclude>
182 <exclude>**/pax/**</exclude>
187 <groupId>org.codehaus.mojo</groupId>
188 <artifactId>exec-maven-plugin</artifactId>
191 <id>generateDTOs</id>
192 <phase>generate-sources</phase>
197 <executable>bash</executable>
199 <argument>${basedir}/../../data-provider/database/src/main/resources/es-init.sh</argument>
200 <argument>initfile</argument>
201 <argument>-f</argument>
202 <argument>${project.build.directory}/EsInit.script</argument>
209 <groupId>com.github.alexcojocaru</groupId>
210 <artifactId>elasticsearch-maven-plugin</artifactId>
211 <version>6.16</version>
213 <clusterName>testCluster</clusterName>
214 <transportPort>9500</transportPort>
215 <httpPort>${databaseport}</httpPort>
216 <version>6.5.0</version>
217 <timeout>120</timeout>
218 <pathInitScript>${project.build.directory}/EsInit.script</pathInitScript>
219 <skip>${skipTests}</skip>
223 <id>start-elasticsearch</id>
224 <phase>process-test-classes</phase>
226 <goal>runforked</goal>
230 <id>stop-elasticsearch</id>
231 <phase>prepare-package</phase>
239 <groupId>org.apache.maven.plugins</groupId>
240 <artifactId>maven-surefire-plugin</artifactId>
244 <name>databaseport</name>
245 <value>${databaseport}</value>