SDN-R add updated devicemanager
[ccsdk/features.git] / sdnr / wt / devicemanager / provider / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3     ============LICENSE_START=======================================================
4     ONAP : CCSDK / SDNR / WT / devicemanager
5     ================================================================================
6     Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All
7     rights reserved.
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=========================================================
17 -->
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>
20
21   <parent>
22     <groupId>org.onap.ccsdk.parent</groupId>
23     <artifactId>binding-parent</artifactId>
24     <version>1.5.2-SNAPSHOT</version>
25     <relativePath/>
26   </parent>
27
28   <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
29   <artifactId>sdnr-wt-devicemanager-provider</artifactId>
30   <version>0.7.1-SNAPSHOT</version>
31   <packaging>bundle</packaging>
32
33   <name>ccsdk-features :: ${project.artifactId}</name>
34   <licenses>
35     <license>
36       <name>Apache License, Version 2.0</name>
37       <url>http://www.apache.org/licenses/LICENSE-2.0</url>
38     </license>
39   </licenses>
40
41   <properties>
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   </properties>
47
48   <dependencies>
49     <!-- begin for testing -->
50     <dependency>
51       <groupId>org.mockito</groupId>
52       <artifactId>mockito-core</artifactId>
53       <scope>test</scope>
54     </dependency>
55     <!-- end for testing -->
56     <dependency>
57       <groupId>${project.groupId}</groupId>
58       <artifactId>sdnr-wt-devicemanager-model</artifactId>
59       <version>${project.version}</version>
60     </dependency>
61     <dependency>
62         <groupId>${project.groupId}</groupId>
63         <artifactId>sdnr-wt-netconfnode-state-service-model</artifactId>
64         <version>${project.version}</version>
65         <scope>provided</scope>
66     </dependency>
67     <dependency>
68       <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
69       <artifactId>sdnr-wt-websocketmanager2-model</artifactId>
70       <version>${project.version}</version>
71       <scope>provided</scope>
72     </dependency>
73     <dependency>
74       <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
75       <artifactId>sdnr-wt-common</artifactId>
76       <version>${project.version}</version>
77       <scope>provided</scope>
78     </dependency>
79     <dependency>
80       <groupId>org.osgi</groupId>
81       <artifactId>org.osgi.core</artifactId>
82       <scope>provided</scope>
83     </dependency>
84     <dependency>
85       <groupId>org.opendaylight.mdsal.model</groupId>
86       <artifactId>ietf-topology</artifactId>
87     </dependency>
88     <dependency>
89       <groupId>org.opendaylight.netconf</groupId>
90       <artifactId>sal-netconf-connector</artifactId>
91       <scope>provided</scope>
92     </dependency>
93     <dependency>
94       <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
95       <artifactId>rfc6991-ietf-yang-types</artifactId>
96       <scope>provided</scope>
97      </dependency>
98      <dependency>
99        <groupId>org.opendaylight.mdsal</groupId>
100        <artifactId>yang-binding</artifactId>
101        <scope>provided</scope>
102      </dependency>
103      <dependency>
104       <groupId>org.opendaylight.mdsal</groupId>
105       <artifactId>mdsal-singleton-common-api</artifactId>
106       <scope>provided</scope>
107     </dependency>
108     <dependency>
109       <groupId>org.json</groupId>
110       <artifactId>json</artifactId>
111       <scope>provided</scope>
112     </dependency>
113     <dependency>
114       <groupId>com.typesafe.akka</groupId>
115       <artifactId>akka-actor_2.12</artifactId>
116       <scope>provided</scope>
117     </dependency>
118     <dependency>
119       <groupId>com.typesafe.akka</groupId>
120       <artifactId>akka-cluster_2.12</artifactId>
121       <scope>provided</scope>
122     </dependency>
123     <dependency>
124       <groupId>org.osgi</groupId>
125       <artifactId>org.osgi.compendium</artifactId>
126       <scope>provided</scope>
127     </dependency>
128     <dependency>
129       <groupId>org.apache.commons</groupId>
130       <artifactId>commons-lang3</artifactId>
131       <scope>provided</scope>
132     </dependency>
133      <dependency>
134       <groupId>com.fasterxml.jackson.core</groupId>
135       <artifactId>jackson-core</artifactId>
136       <scope>provided</scope>
137     </dependency>
138     <dependency>
139       <groupId>com.fasterxml.jackson.core</groupId>
140       <artifactId>jackson-annotations</artifactId>
141       <scope>provided</scope>
142     </dependency>
143     <dependency>
144       <groupId>com.fasterxml.jackson.core</groupId>
145       <artifactId>jackson-databind</artifactId>
146       <scope>provided</scope>
147     </dependency>
148
149    </dependencies>
150
151   <build>
152     <resources>
153       <resource>
154         <directory>src/main/resources</directory>
155         <filtering>true</filtering>
156       </resource>
157     </resources>
158     <plugins>
159             <plugin>
160                 <groupId>org.jacoco</groupId>
161                 <artifactId>jacoco-maven-plugin</artifactId>
162                 <configuration>
163                     <excludes>
164                         <exclude>**/gen/**</exclude>
165                         <exclude>**/generated-sources/**</exclude>
166                         <exclude>**/yang-gen-sal/**</exclude>
167                         <exclude>**/pax/**</exclude>
168                     </excludes>
169                 </configuration>
170             </plugin>
171             <plugin>
172                 <groupId>org.codehaus.mojo</groupId>
173                 <artifactId>exec-maven-plugin</artifactId>
174                 <executions>
175                     <execution>
176                         <id>generateDTOs</id>
177                         <phase>generate-sources</phase>
178                         <goals>
179                             <goal>exec</goal>
180                           </goals>
181                             <configuration>
182                               <executable>bash</executable>
183                                <arguments>
184                                    <argument>${basedir}/../../data-provider/provider/src/main/resources/es-init.sh</argument>
185                                    <argument>initfile</argument>
186                                    <argument>-f</argument>
187                                    <argument>${project.build.directory}/EsInit.script</argument>
188                                </arguments>
189                             </configuration>
190                     </execution>
191                 </executions>
192             </plugin>
193             <plugin>
194                 <groupId>org.apache.maven.plugins</groupId>
195                 <artifactId>maven-surefire-plugin</artifactId>
196                 <configuration>
197                     <systemProperties>
198                         <property>
199                             <name>databaseport</name>
200                             <value>${databaseport}</value>
201                         </property>
202                     </systemProperties>
203                 </configuration>
204             </plugin>
205         </plugins>
206    </build>
207 </project>