blob: 54ffc01c3cfb3ff8f942029d81b0417a6c228cc9 [file] [log] [blame]
Michael Dürre67959252019-11-25 10:22:16 +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) 2019 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 -->
25
Michael Dürre67959252019-11-25 10:22:16 +010026<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 -050027 <modelVersion>4.0.0</modelVersion>
Michael Dürre67959252019-11-25 10:22:16 +010028
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050029 <parent>
30 <groupId>org.onap.ccsdk.parent</groupId>
31 <artifactId>binding-parent</artifactId>
Dan Timoney1bd16a42020-11-25 16:13:30 -050032 <version>2.1.0</version>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050033 <relativePath/>
34 </parent>
Michael Dürre67959252019-11-25 10:22:16 +010035
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050036 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
37 <artifactId>sdnr-wt-common</artifactId>
Dan Timoney1bd16a42020-11-25 16:13:30 -050038 <version>1.1.1-SNAPSHOT</version>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050039 <packaging>jar</packaging>
Michael Dürre67959252019-11-25 10:22:16 +010040
herbertd77d01b2020-01-30 10:15:11 +010041 <name>ccsdk-features :: ${project.artifactId}</name>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050042 <licenses>
43 <license>
44 <name>Apache License, Version 2.0</name>
45 <url>http://www.apache.org/licenses/LICENSE-2.0</url>
46 </license>
47 </licenses>
Michael Dürre67959252019-11-25 10:22:16 +010048
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050049 <properties>
50 <checkstyle.skip>true</checkstyle.skip> <!-- POM configuration -->
51 <maven.javadoc.skip>true</maven.javadoc.skip>
52 <maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
53 <buildtime>${maven.build.timestamp} UTC</buildtime>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050054 <databaseport>49400</databaseport>
herbertd1981f72020-01-28 16:45:58 +010055 <elasticsearch-rest-client.version>6.4.3</elasticsearch-rest-client.version>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050056 </properties>
Michael Dürre67959252019-11-25 10:22:16 +010057
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050058 <dependencies>
59 <dependency>
60 <groupId>org.mockito</groupId>
61 <artifactId>mockito-core</artifactId>
62 <scope>test</scope>
63 </dependency>
64 <dependency>
herbertd1981f72020-01-28 16:45:58 +010065 <groupId>javax.servlet</groupId>
66 <artifactId>servlet-api</artifactId>
67 </dependency>
68 <dependency>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050069 <groupId>org.osgi</groupId>
70 <artifactId>org.osgi.core</artifactId>
71 <scope>provided</scope>
72 </dependency>
73 <dependency>
74 <groupId>org.json</groupId>
75 <artifactId>json</artifactId>
76 </dependency>
77 <dependency>
78 <groupId>org.elasticsearch.client</groupId>
79 <artifactId>elasticsearch-rest-client</artifactId>
herbertd1981f72020-01-28 16:45:58 +010080 <version>${elasticsearch-rest-client.version}</version>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050081 </dependency>
82 <dependency>
83 <groupId>com.fasterxml.jackson.core</groupId>
84 <artifactId>jackson-core</artifactId>
85 </dependency>
86 <dependency>
87 <groupId>com.fasterxml.jackson.core</groupId>
88 <artifactId>jackson-annotations</artifactId>
89 </dependency>
90 <dependency>
91 <groupId>com.fasterxml.jackson.core</groupId>
92 <artifactId>jackson-databind</artifactId>
93 </dependency>
highstreetherbert7dfb26b2020-07-13 19:05:55 +020094 <dependency>
Singal, Kapil (ks220y)30a59752020-12-18 13:21:28 -050095 <groupId>com.google.code.findbugs</groupId>
96 <artifactId>annotations</artifactId>
highstreetherbert7dfb26b2020-07-13 19:05:55 +020097 </dependency>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050098 </dependencies>
Michael Dürre67959252019-11-25 10:22:16 +010099
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -0500100 <build>
101 <plugins>
102 <plugin>
103 <groupId>org.jacoco</groupId>
104 <artifactId>jacoco-maven-plugin</artifactId>
105 <configuration>
106 <excludes>
107 <exclude>**/gen/**</exclude>
108 <exclude>**/generated-sources/**</exclude>
109 <exclude>**/yang-gen-sal/**</exclude>
110 <exclude>**/pax/**</exclude>
111 </excludes>
112 </configuration>
113 </plugin>
114 <plugin>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -0500115 <groupId>com.github.alexcojocaru</groupId>
116 <artifactId>elasticsearch-maven-plugin</artifactId>
herbert58f412a2019-12-11 15:06:19 +0100117 <version>6.16</version>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -0500118 <configuration>
herbertd1981f72020-01-28 16:45:58 +0100119 <skip>${skipTests}</skip>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -0500120 <clusterName>testCluster</clusterName>
121 <transportPort>9500</transportPort>
122 <httpPort>${databaseport}</httpPort>
Michael DÜrref88794b2020-11-19 15:40:16 +0100123 <version>7.9.3</version>
herbert7ce54d62019-12-14 00:22:47 +0100124 <timeout>120</timeout>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -0500125 </configuration>
126 <executions>
127 <execution>
128 <id>start-elasticsearch</id>
129 <phase>process-test-classes</phase>
130 <goals>
131 <goal>runforked</goal>
132 </goals>
133 </execution>
134 <execution>
135 <id>stop-elasticsearch</id>
136 <phase>prepare-package</phase>
137 <goals>
138 <goal>stop</goal>
139 </goals>
140 </execution>
141 </executions>
142 </plugin>
143 <plugin>
144 <groupId>org.apache.maven.plugins</groupId>
145 <artifactId>maven-surefire-plugin</artifactId>
146 <configuration>
147 <systemProperties>
148 <property>
149 <name>databaseport</name>
150 <value>${databaseport}</value>
151 </property>
152 </systemProperties>
153 </configuration>
154 </plugin>
155 </plugins>
156 </build>
Michael Dürre67959252019-11-25 10:22:16 +0100157</project>