blob: d942925ee135875fbd4513fc65a617098a0eaea4 [file] [log] [blame]
Michael Dürre67959252019-11-25 10:22:16 +01001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ============LICENSE_START=======================================================
4 ONAP : CCSDK / SDNR / WT / common
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">
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050019 <modelVersion>4.0.0</modelVersion>
Michael Dürre67959252019-11-25 10:22:16 +010020
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050021 <parent>
22 <groupId>org.onap.ccsdk.parent</groupId>
23 <artifactId>binding-parent</artifactId>
Dan Timoney49035452020-01-30 09:53:35 -050024 <version>1.5.2-SNAPSHOT</version>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050025 <relativePath/>
26 </parent>
Michael Dürre67959252019-11-25 10:22:16 +010027
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050028 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
29 <artifactId>sdnr-wt-common</artifactId>
Dan Timoney49035452020-01-30 09:53:35 -050030 <version>0.7.1-SNAPSHOT</version>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050031 <packaging>jar</packaging>
Michael Dürre67959252019-11-25 10:22:16 +010032
herbertd77d01b2020-01-30 10:15:11 +010033 <name>ccsdk-features :: ${project.artifactId}</name>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050034 <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>
Michael Dürre67959252019-11-25 10:22:16 +010040
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050041 <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>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050046 <databaseport>49400</databaseport>
herbertd1981f72020-01-28 16:45:58 +010047 <elasticsearch-rest-client.version>6.4.3</elasticsearch-rest-client.version>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050048 </properties>
Michael Dürre67959252019-11-25 10:22:16 +010049
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050050 <dependencies>
51 <dependency>
52 <groupId>org.mockito</groupId>
53 <artifactId>mockito-core</artifactId>
54 <scope>test</scope>
55 </dependency>
56 <dependency>
herbertd1981f72020-01-28 16:45:58 +010057 <groupId>javax.servlet</groupId>
58 <artifactId>servlet-api</artifactId>
59 </dependency>
60 <dependency>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050061 <groupId>org.osgi</groupId>
62 <artifactId>org.osgi.core</artifactId>
63 <scope>provided</scope>
64 </dependency>
65 <dependency>
66 <groupId>org.json</groupId>
67 <artifactId>json</artifactId>
68 </dependency>
69 <dependency>
70 <groupId>org.elasticsearch.client</groupId>
71 <artifactId>elasticsearch-rest-client</artifactId>
herbertd1981f72020-01-28 16:45:58 +010072 <version>${elasticsearch-rest-client.version}</version>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050073 </dependency>
74 <dependency>
75 <groupId>com.fasterxml.jackson.core</groupId>
76 <artifactId>jackson-core</artifactId>
77 </dependency>
78 <dependency>
79 <groupId>com.fasterxml.jackson.core</groupId>
80 <artifactId>jackson-annotations</artifactId>
81 </dependency>
82 <dependency>
83 <groupId>com.fasterxml.jackson.core</groupId>
84 <artifactId>jackson-databind</artifactId>
85 </dependency>
Michael Dürre67959252019-11-25 10:22:16 +010086
herbertd1981f72020-01-28 16:45:58 +010087
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050088 </dependencies>
Michael Dürre67959252019-11-25 10:22:16 +010089
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050090 <build>
91 <plugins>
92 <plugin>
93 <groupId>org.jacoco</groupId>
94 <artifactId>jacoco-maven-plugin</artifactId>
95 <configuration>
96 <excludes>
97 <exclude>**/gen/**</exclude>
98 <exclude>**/generated-sources/**</exclude>
99 <exclude>**/yang-gen-sal/**</exclude>
100 <exclude>**/pax/**</exclude>
101 </excludes>
102 </configuration>
103 </plugin>
104 <plugin>
105 <groupId>org.codehaus.mojo</groupId>
106 <artifactId>exec-maven-plugin</artifactId>
107 <executions>
108 <execution>
109 <id>generateDTOs</id>
110 <phase>generate-sources</phase>
111 <goals>
112 <goal>exec</goal>
113 </goals>
114 <configuration>
Singal, Kapil (ks220y)df195942019-12-12 15:24:53 -0500115 <executable>bash</executable>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -0500116 <arguments>
herbertd1981f72020-01-28 16:45:58 +0100117 <argument>${basedir}/../data-provider/provider/src/main/resources/es-init.sh</argument>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -0500118 <argument>initfile</argument>
119 <argument>-f</argument>
120 <argument>${project.build.directory}/EsInit.script</argument>
121 </arguments>
122 </configuration>
123 </execution>
124 </executions>
125 </plugin>
126 <plugin>
127 <groupId>com.github.alexcojocaru</groupId>
128 <artifactId>elasticsearch-maven-plugin</artifactId>
herbert58f412a2019-12-11 15:06:19 +0100129 <version>6.16</version>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -0500130 <configuration>
herbertd1981f72020-01-28 16:45:58 +0100131 <skip>${skipTests}</skip>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -0500132 <clusterName>testCluster</clusterName>
133 <transportPort>9500</transportPort>
134 <httpPort>${databaseport}</httpPort>
herbert7ce54d62019-12-14 00:22:47 +0100135 <version>6.5.0</version>
136 <timeout>120</timeout>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -0500137 <pathInitScript>${project.build.directory}/EsInit.script</pathInitScript>
138 </configuration>
139 <executions>
140 <execution>
141 <id>start-elasticsearch</id>
142 <phase>process-test-classes</phase>
143 <goals>
144 <goal>runforked</goal>
145 </goals>
146 </execution>
147 <execution>
148 <id>stop-elasticsearch</id>
149 <phase>prepare-package</phase>
150 <goals>
151 <goal>stop</goal>
152 </goals>
153 </execution>
154 </executions>
155 </plugin>
156 <plugin>
157 <groupId>org.apache.maven.plugins</groupId>
158 <artifactId>maven-surefire-plugin</artifactId>
159 <configuration>
160 <systemProperties>
161 <property>
162 <name>databaseport</name>
163 <value>${databaseport}</value>
164 </property>
165 </systemProperties>
166 </configuration>
167 </plugin>
168 </plugins>
169 </build>
Michael Dürre67959252019-11-25 10:22:16 +0100170</project>