Update versions for Quebec release
[ccsdk/features.git] / sdnr / wt / common / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ ============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
26 <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">
27     <modelVersion>4.0.0</modelVersion>
28
29     <parent>
30         <groupId>org.onap.ccsdk.parent</groupId>
31         <artifactId>binding-parent</artifactId>
32         <version>3.2.0-SNAPSHOT</version>
33         <relativePath/>
34     </parent>
35
36     <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
37     <artifactId>sdnr-wt-common</artifactId>
38     <version>2.2.0-SNAPSHOT</version>
39     <packaging>bundle</packaging>
40
41     <name>ccsdk-features :: ${project.artifactId}</name>
42     <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>
48
49     <properties>
50         <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>
53         <databaseport>49400</databaseport>
54         <elasticsearch-rest-client.version>6.4.3</elasticsearch-rest-client.version>
55         <elasticsearch.maven.plugin.version>6.29</elasticsearch.maven.plugin.version>
56         <elasticsearch.version>7.17.28</elasticsearch.version>
57     </properties>
58
59     <dependencies>
60         <dependency>
61             <groupId>org.mockito</groupId>
62             <artifactId>mockito-core</artifactId>
63             <scope>test</scope>
64         </dependency>
65         <dependency>
66             <groupId>jakarta.servlet</groupId>
67             <artifactId>jakarta.servlet-api</artifactId>
68         <!--    <scope>provided</scope>-->
69         </dependency>
70         <dependency>
71             <groupId>org.eclipse.jdt</groupId>
72             <artifactId>org.eclipse.jdt.annotation</artifactId>
73             <version>2.2.800</version>
74         </dependency>
75         <dependency>
76             <groupId>org.osgi</groupId>
77             <artifactId>org.osgi.core</artifactId>
78             <scope>provided</scope>
79         </dependency>
80         <dependency>
81             <groupId>org.json</groupId>
82             <artifactId>json</artifactId>
83 <!--            <scope>provided</scope>-->
84         </dependency>
85         <dependency>
86             <groupId>org.elasticsearch.client</groupId>
87             <artifactId>elasticsearch-rest-client</artifactId>
88         </dependency>
89         <dependency>
90             <groupId>com.fasterxml.jackson.core</groupId>
91             <artifactId>jackson-annotations</artifactId>
92      <!--       <scope>provided</scope>-->
93         </dependency>
94                 <dependency>
95                         <groupId>com.google.code.findbugs</groupId>
96                         <artifactId>annotations</artifactId>
97         <!--            <scope>provided</scope>-->
98                 </dependency>
99     </dependencies>
100
101     <build>
102         <plugins>
103             <plugin>
104                 <groupId>com.github.alexcojocaru</groupId>
105                 <artifactId>elasticsearch-maven-plugin</artifactId>
106                 <version>${elasticsearch.maven.plugin.version}</version>
107                 <configuration>
108                     <skip>${skipTests}</skip>
109                     <clusterName>testCluster</clusterName>
110                     <transportPort>9500</transportPort>
111                     <httpPort>${databaseport}</httpPort>
112                     <version>${elasticsearch.version}</version>
113                     <timeout>120</timeout>
114                 </configuration>
115                 <executions>
116                     <execution>
117                         <id>start-elasticsearch</id>
118                         <phase>process-test-classes</phase>
119                         <goals>
120                             <goal>runforked</goal>
121                         </goals>
122                     </execution>
123                     <execution>
124                         <id>stop-elasticsearch</id>
125                         <phase>prepare-package</phase>
126                         <goals>
127                             <goal>stop</goal>
128                         </goals>
129                     </execution>
130                 </executions>
131             </plugin>
132             <plugin>
133                 <groupId>org.apache.maven.plugins</groupId>
134                 <artifactId>maven-surefire-plugin</artifactId>
135                 <configuration>
136                     <systemProperties>
137                         <property>
138                             <name>databaseport</name>
139                             <value>${databaseport}</value>
140                         </property>
141                     </systemProperties>
142                 </configuration>
143             </plugin>
144         </plugins>
145     </build>
146 </project>