Use latest released parent pom
[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>2.4.4</version>
33         <relativePath/>
34     </parent>
35
36     <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
37     <artifactId>sdnr-wt-common</artifactId>
38     <version>1.4.1-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     </properties>
56
57     <dependencies>
58         <dependency>
59             <groupId>org.mockito</groupId>
60             <artifactId>mockito-core</artifactId>
61             <scope>test</scope>
62         </dependency>
63         <dependency>
64             <groupId>javax.servlet</groupId>
65             <artifactId>javax.servlet-api</artifactId>
66             <scope>provided</scope>
67         </dependency>
68         <dependency>
69             <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             <scope>provided</scope>
77         </dependency>
78         <dependency>
79             <groupId>org.elasticsearch.client</groupId>
80             <artifactId>elasticsearch-rest-client</artifactId>
81         </dependency>
82         <dependency>
83             <groupId>com.fasterxml.jackson.core</groupId>
84             <artifactId>jackson-annotations</artifactId>
85             <scope>provided</scope>
86         </dependency>
87                 <dependency>
88                         <groupId>com.google.code.findbugs</groupId>
89                         <artifactId>annotations</artifactId>
90                         <scope>provided</scope>
91                 </dependency>
92     </dependencies>
93
94     <build>
95         <plugins>
96             <plugin>
97                 <groupId>com.github.alexcojocaru</groupId>
98                 <artifactId>elasticsearch-maven-plugin</artifactId>
99                 <configuration>
100                     <skip>${skipTests}</skip>
101                     <clusterName>testCluster</clusterName>
102                     <transportPort>9500</transportPort>
103                     <httpPort>${databaseport}</httpPort>
104                     <version>7.9.3</version>
105                     <timeout>120</timeout>
106                 </configuration>
107                 <executions>
108                     <execution>
109                         <id>start-elasticsearch</id>
110                         <phase>process-test-classes</phase>
111                         <goals>
112                             <goal>runforked</goal>
113                         </goals>
114                     </execution>
115                     <execution>
116                         <id>stop-elasticsearch</id>
117                         <phase>prepare-package</phase>
118                         <goals>
119                             <goal>stop</goal>
120                         </goals>
121                     </execution>
122                 </executions>
123             </plugin>
124             <plugin>
125                 <groupId>org.apache.maven.plugins</groupId>
126                 <artifactId>maven-surefire-plugin</artifactId>
127                 <configuration>
128                     <systemProperties>
129                         <property>
130                             <name>databaseport</name>
131                             <value>${databaseport}</value>
132                         </property>
133                     </systemProperties>
134                 </configuration>
135             </plugin>
136         </plugins>
137     </build>
138 </project>