blob: 92c4f398ed2aa14630b762dfb1c40884584bfa6d [file] [log] [blame]
herbert149a57e2020-01-30 12:08:35 +01001<?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"
19 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
20 <modelVersion>4.0.0</modelVersion>
21
22 <parent>
23 <groupId>org.onap.ccsdk.parent</groupId>
24 <artifactId>binding-parent</artifactId>
25 <version>1.5.2-SNAPSHOT</version>
26 <relativePath />
27 </parent>
28
29 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
30 <artifactId>sdnr-wt-devicemanager-onf-provider</artifactId>
31 <version>0.7.1-SNAPSHOT</version>
32 <packaging>bundle</packaging>
33
34 <name>ccsdk-features :: ${project.artifactId}</name>
35 <licenses>
36 <license>
37 <name>Apache License, Version 2.0</name>
38 <url>http://www.apache.org/licenses/LICENSE-2.0</url>
39 </license>
40 </licenses>
41
42 <properties>
43 <checkstyle.skip>true</checkstyle.skip> <!-- POM configuration -->
44 <maven.javadoc.skip>true</maven.javadoc.skip>
45 <maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
46 <buildtime>${maven.build.timestamp} UTC</buildtime>
47 </properties>
48
49 <dependencies>
50 <!-- begin for testing -->
51 <dependency>
52 <groupId>org.mockito</groupId>
53 <artifactId>mockito-core</artifactId>
54 <scope>test</scope>
55 </dependency>
56
57 <!-- end for testing -->
58 <dependency>
59 <groupId>${project.groupId}</groupId>
60 <artifactId>sdnr-wt-devicemanager-onf-model</artifactId>
61 <version>${project.version}</version>
62 <scope>provided</scope>
63 </dependency>
64 <dependency>
65 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
66 <artifactId>sdnr-wt-devicemanager-model</artifactId>
67 <version>${project.version}</version>
68 <scope>provided</scope>
69 </dependency>
70 <dependency>
71 <groupId>${project.groupId}</groupId>
72 <artifactId>sdnr-wt-netconfnode-state-service-model</artifactId>
73 <version>${project.version}</version>
74 <scope>provided</scope>
75 </dependency>
76 <dependency>
77 <groupId>org.opendaylight.netconf</groupId>
78 <artifactId>sal-netconf-connector</artifactId>
79 <scope>provided</scope>
80 </dependency>
81 </dependencies>
82
83 <build>
84 <resources>
85 <resource>
86 <directory>src/main/resources</directory>
87 <filtering>true</filtering>
88 </resource>
89 </resources>
90 <plugins>
91 <plugin>
92 <groupId>org.jacoco</groupId>
93 <artifactId>jacoco-maven-plugin</artifactId>
94 <configuration>
95 <excludes>
96 <exclude>**/gen/**</exclude>
97 <exclude>**/generated-sources/**</exclude>
98 <exclude>**/yang-gen-sal/**</exclude>
99 <exclude>**/pax/**</exclude>
100 </excludes>
101 </configuration>
102 </plugin>
103 <plugin>
104 <groupId>org.codehaus.mojo</groupId>
105 <artifactId>exec-maven-plugin</artifactId>
106 <executions>
107 <execution>
108 <id>generateDTOs</id>
109 <phase>generate-sources</phase>
110 <goals>
111 <goal>exec</goal>
112 </goals>
113 <configuration>
114 <executable>bash</executable>
115 <arguments>
116 <argument>${basedir}/../../data-provider/provider/src/main/resources/es-init.sh</argument>
117 <argument>initfile</argument>
118 <argument>-f</argument>
119 <argument>${project.build.directory}/EsInit.script</argument>
120 </arguments>
121 </configuration>
122 </execution>
123 </executions>
124 </plugin>
125 </plugins>
126 </build>
127</project>