blob: 37347c072bebdcad144a3d8dad420b8abc5d4bf0 [file] [log] [blame]
herbertd77d01b2020-01-30 10:15:11 +01001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -05003 ~ ============LICENSE_START=======================================================
4 ~ ONAP : ccsdk features
5 ~ ================================================================================
6 ~ Copyright (C) 2018 highstreet technologies GmbH Intellectual Property.
7 ~ All rights reserved.
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
14 ~
15 ~ http://www.apache.org/licenses/LICENSE-2.0
16 ~
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=======================================================
23 ~
24 -->
herbertd77d01b2020-01-30 10:15:11 +010025
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050026<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
27 xmlns="http://maven.apache.org/POM/4.0.0"
28 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
herbertd77d01b2020-01-30 10:15:11 +010029 <modelVersion>4.0.0</modelVersion>
30 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
31 <artifactId>sdnr-wt-data-provider-daexim</artifactId>
32 <version>0.7.1-SNAPSHOT</version>
33 <name>ccsdk-features :: ${project.artifactId}</name>
34 <packaging>bundle</packaging>
35
36 <parent>
37 <groupId>org.onap.ccsdk.parent</groupId>
38 <artifactId>binding-parent</artifactId>
39 <version>1.5.2-SNAPSHOT</version>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050040 <relativePath/>
herbertd77d01b2020-01-30 10:15:11 +010041 </parent>
42
43 <properties>
44 <maven.javadoc.skip>true</maven.javadoc.skip>
45 <databaseport>49401</databaseport>
46 </properties>
47
48 <licenses>
49 <license>
50 <name>Apache License, Version 2.0</name>
51 <url>http://www.apache.org/licenses/LICENSE-2.0</url>
52 </license>
53 </licenses>
54
55 <dependencies>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050056 <dependency>
herbertd77d01b2020-01-30 10:15:11 +010057 <groupId>org.mockito</groupId>
58 <artifactId>mockito-core</artifactId>
59 <scope>test</scope>
60 </dependency>
61 <dependency>
62 <groupId>org.opendaylight.netconf</groupId>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050063 <artifactId>sal-netconf-connector</artifactId>
herbertd77d01b2020-01-30 10:15:11 +010064 <scope>provided</scope>
65 </dependency>
66 <dependency>
67 <groupId>org.osgi</groupId>
68 <artifactId>org.osgi.core</artifactId>
69 <scope>provided</scope>
70 </dependency>
71 <dependency>
72 <groupId>${project.groupId}</groupId>
73 <artifactId>sdnr-wt-common</artifactId>
74 <version>${project.version}</version>
75 </dependency>
76 <dependency>
77 <groupId>${project.groupId}</groupId>
78 <artifactId>sdnr-wt-data-provider-model</artifactId>
79 <version>${project.version}</version>
80 </dependency>
81 </dependencies>
82 <build>
83 <plugins>
84 <plugin>
85 <groupId>org.jacoco</groupId>
86 <artifactId>jacoco-maven-plugin</artifactId>
87 <configuration>
88 <excludes>
89 <exclude>**/gen/**</exclude>
90 <exclude>**/generated-sources/**</exclude>
91 <exclude>**/yang-gen-sal/**</exclude>
92 <exclude>**/pax/**</exclude>
93 </excludes>
94 </configuration>
95 </plugin>
96 <plugin>
97 <groupId>org.codehaus.mojo</groupId>
98 <artifactId>exec-maven-plugin</artifactId>
99 <executions>
100 <execution>
101 <id>generateDTOs</id>
102 <phase>generate-sources</phase>
103 <goals>
104 <goal>exec</goal>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -0500105 </goals>
106 <configuration>
107 <skip>${skipTests}</skip>
108 <executable>bash</executable>
109 <arguments>
110 <argument>${basedir}/../data-provider/provider/src/main/resources/es-init.sh</argument>
111 <argument>initfile</argument>
112 <argument>-f</argument>
113 <argument>${project.build.directory}/EsInit.script</argument>
114 </arguments>
115 </configuration>
herbertd77d01b2020-01-30 10:15:11 +0100116 </execution>
117 </executions>
118 </plugin>
119 <plugin>
120 <groupId>com.github.alexcojocaru</groupId>
121 <artifactId>elasticsearch-maven-plugin</artifactId>
122 <version>6.16</version>
123 <configuration>
124 <skip>${skipTests}</skip>
125 <clusterName>testCluster</clusterName>
126 <transportPort>9500</transportPort>
127 <httpPort>${databaseport}</httpPort>
128 <version>6.5.0</version>
129 <pathInitScript>${project.build.directory}/EsInit.script</pathInitScript>
130 </configuration>
131 <executions>
132 <execution>
133 <id>start-elasticsearch</id>
134 <phase>process-test-classes</phase>
135 <goals>
136 <goal>runforked</goal>
137 </goals>
138 </execution>
139 <execution>
140 <id>stop-elasticsearch</id>
141 <phase>prepare-package</phase>
142 <goals>
143 <goal>stop</goal>
144 </goals>
145 </execution>
146 </executions>
147 </plugin>
148 <plugin>
149 <groupId>org.apache.maven.plugins</groupId>
150 <artifactId>maven-surefire-plugin</artifactId>
151 <configuration>
152 <systemProperties>
153 <property>
154 <name>databaseport</name>
155 <value>${databaseport}</value>
156 </property>
157 </systemProperties>
158 </configuration>
159 </plugin>
160 </plugins>
161 </build>
162</project>