blob: 97c8ed86253900047055fc7d47ff86da717ebc22 [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>
Ravi Pendurty80ebbf52021-02-03 13:56:31 +010032 <version>2.1.1-SNAPSHOT</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>
Ravi Pendurty80ebbf52021-02-03 13:56:31 +010039 <packaging>bundle</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>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050050 <maven.javadoc.skip>true</maven.javadoc.skip>
51 <maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
52 <buildtime>${maven.build.timestamp} UTC</buildtime>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050053 <databaseport>49400</databaseport>
herbertd1981f72020-01-28 16:45:58 +010054 <elasticsearch-rest-client.version>6.4.3</elasticsearch-rest-client.version>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050055 </properties>
Michael Dürre67959252019-11-25 10:22:16 +010056
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050057 <dependencies>
58 <dependency>
59 <groupId>org.mockito</groupId>
60 <artifactId>mockito-core</artifactId>
61 <scope>test</scope>
62 </dependency>
63 <dependency>
herbertd1981f72020-01-28 16:45:58 +010064 <groupId>javax.servlet</groupId>
Ravi Pendurty80ebbf52021-02-03 13:56:31 +010065 <artifactId>javax.servlet-api</artifactId>
herbertd1981f72020-01-28 16:45:58 +010066 </dependency>
67 <dependency>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050068 <groupId>org.osgi</groupId>
69 <artifactId>org.osgi.core</artifactId>
70 <scope>provided</scope>
71 </dependency>
72 <dependency>
73 <groupId>org.json</groupId>
74 <artifactId>json</artifactId>
75 </dependency>
76 <dependency>
77 <groupId>org.elasticsearch.client</groupId>
78 <artifactId>elasticsearch-rest-client</artifactId>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050079 </dependency>
Ravi Pendurty80ebbf52021-02-03 13:56:31 +010080<!-- <dependency> -->
81<!-- <groupId>com.fasterxml.jackson.core</groupId> -->
82<!-- <artifactId>jackson-core</artifactId> -->
83<!-- </dependency> -->
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050084 <dependency>
85 <groupId>com.fasterxml.jackson.core</groupId>
86 <artifactId>jackson-annotations</artifactId>
87 </dependency>
Ravi Pendurty80ebbf52021-02-03 13:56:31 +010088<!-- <dependency> -->
89<!-- <groupId>com.fasterxml.jackson.core</groupId> -->
90<!-- <artifactId>jackson-databind</artifactId> -->
91<!-- </dependency> -->
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050092 <dependency>
Ravi Pendurty80ebbf52021-02-03 13:56:31 +010093 <groupId>com.google.code.findbugs</groupId>
94 <artifactId>annotations</artifactId>
highstreetherbert7dfb26b2020-07-13 19:05:55 +020095 </dependency>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050096 </dependencies>
Michael Dürre67959252019-11-25 10:22:16 +010097
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050098 <build>
99 <plugins>
100 <plugin>
101 <groupId>org.jacoco</groupId>
102 <artifactId>jacoco-maven-plugin</artifactId>
103 <configuration>
104 <excludes>
105 <exclude>**/gen/**</exclude>
106 <exclude>**/generated-sources/**</exclude>
107 <exclude>**/yang-gen-sal/**</exclude>
108 <exclude>**/pax/**</exclude>
109 </excludes>
110 </configuration>
111 </plugin>
112 <plugin>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -0500113 <groupId>com.github.alexcojocaru</groupId>
114 <artifactId>elasticsearch-maven-plugin</artifactId>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -0500115 <configuration>
herbertd1981f72020-01-28 16:45:58 +0100116 <skip>${skipTests}</skip>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -0500117 <clusterName>testCluster</clusterName>
118 <transportPort>9500</transportPort>
119 <httpPort>${databaseport}</httpPort>
Michael DÜrref88794b2020-11-19 15:40:16 +0100120 <version>7.9.3</version>
herbert7ce54d62019-12-14 00:22:47 +0100121 <timeout>120</timeout>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -0500122 </configuration>
123 <executions>
124 <execution>
125 <id>start-elasticsearch</id>
126 <phase>process-test-classes</phase>
127 <goals>
128 <goal>runforked</goal>
129 </goals>
130 </execution>
131 <execution>
132 <id>stop-elasticsearch</id>
133 <phase>prepare-package</phase>
134 <goals>
135 <goal>stop</goal>
136 </goals>
137 </execution>
138 </executions>
139 </plugin>
140 <plugin>
141 <groupId>org.apache.maven.plugins</groupId>
142 <artifactId>maven-surefire-plugin</artifactId>
143 <configuration>
144 <systemProperties>
145 <property>
146 <name>databaseport</name>
147 <value>${databaseport}</value>
148 </property>
149 </systemProperties>
150 </configuration>
151 </plugin>
152 </plugins>
153 </build>
Michael Dürre67959252019-11-25 10:22:16 +0100154</project>