1 <?xml version="1.0" encoding="UTF-8"?>
3 * ============LICENSE_START=======================================================
5 * ================================================================================
6 * Copyright 2018-2019 TechMahindra
7 * Copyright (C) 2020-2022 Huawei Technologies Co., Ltd.
8 * Copyright (c) 2021-2022 AT&T Intellectual Property. All rights reserved.
9 * Copyright (C) 2023 Deutsche Telekom AG. 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
15 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
25 <project xmlns="http://maven.apache.org/POM/4.0.0"
26 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
27 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
28 <modelVersion>4.0.0</modelVersion>
30 <groupId>org.onap.dcaegen2.services.mapper.vesadapter</groupId>
31 <artifactId>UniversalVesAdapter</artifactId>
32 <version>1.5.0-SNAPSHOT</version>
34 <groupId>org.onap.dcaegen2.services.mapper</groupId>
35 <artifactId>mapper</artifactId>
36 <version>1.5.0-SNAPSHOT</version>
40 <!-- PROJECT SETTINGS -->
41 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
42 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
43 <java.version>11</java.version>
44 <docker.image.name>onap/org.onap.dcaegen2.services.mapper.vesadapter.universalvesadaptor</docker.image.name>
46 <!-- PLUGIN SETTINGS -->
47 <dependency.locations.enabled>false</dependency.locations.enabled>
49 <!-- NEXUS RELATED SETTINGS -->
50 <nexusproxy>https://nexus.onap.org</nexusproxy>
51 <snapshots.path>content/repositories/snapshots/</snapshots.path>
52 <releases.path>content/repositories/releases/</releases.path>
54 content/sites/site/org/onap/dcaegen2/services/mapper/${project.artifactId}/${project.version}
56 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
57 <jackson.core.version>2.14.1</jackson.core.version>
58 <!-- DCAE SDK version -->
59 <sdk.version>1.8.10</sdk.version>
62 <onap-gerrit-review>-changelog-missing</onap-gerrit-review>
66 <!-- Junit, Mockito, PowerMock -->
68 <groupId>junit</groupId>
69 <artifactId>junit</artifactId>
70 <version>4.12</version>
74 <groupId>org.mockito</groupId>
75 <artifactId>mockito-core</artifactId>
76 <version>2.0.5-beta</version>
81 <groupId>org.powermock</groupId>
82 <artifactId>powermock-api-mockito</artifactId>
83 <version>1.6.2</version>
87 <groupId>org.powermock</groupId>
88 <artifactId>powermock-module-junit4</artifactId>
89 <version>1.6.2</version>
93 <groupId>org.javassist</groupId>
94 <artifactId>javassist</artifactId>
95 <version>3.27.0-GA</version>
98 <groupId>com.googlecode.json-simple</groupId>
99 <artifactId>json-simple</artifactId>
100 <version>1.1.1</version>
103 <groupId>com.google.guava</groupId>
104 <artifactId>guava</artifactId>
107 <groupId>commons-configuration</groupId>
108 <artifactId>commons-configuration</artifactId>
109 <version>1.10</version>
112 <groupId>com.google.code.gson</groupId>
113 <artifactId>gson</artifactId>
114 <version>2.8.9</version>
117 <groupId>com.google.inject</groupId>
118 <artifactId>guice</artifactId>
119 <version>4.2.0</version>
122 <groupId>org.apache.commons</groupId>
123 <artifactId>commons-lang3</artifactId>
124 <version>3.5</version>
127 <groupId>com.google.inject.extensions</groupId>
128 <artifactId>guice-assistedinject</artifactId>
129 <version>4.2.0</version>
132 <groupId>org.milyn</groupId>
133 <artifactId>milyn-smooks-all</artifactId>
134 <version>1.7.0</version>
137 <groupId>javax.servlet</groupId>
138 <artifactId>servlet-api</artifactId>
141 <groupId>ognl</groupId>
142 <artifactId>ognl</artifactId>
145 <groupId>javax.jms</groupId>
146 <artifactId>jms</artifactId>
151 <groupId>ognl</groupId>
152 <artifactId>ognl</artifactId>
153 <version>3.1.12</version>
156 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
157 <artifactId>dmaapClient</artifactId>
158 <version>1.1.3</version>
161 <groupId>javax.jms</groupId>
162 <artifactId>jms</artifactId>
166 <!-- Database dependency -->
168 <groupId>org.postgresql</groupId>
169 <artifactId>postgresql</artifactId>
170 <version>42.5.1</version>
173 <groupId>org.springframework</groupId>
174 <artifactId>spring-jdbc</artifactId>
175 <version>5.1.3.RELEASE</version>
178 <groupId>org.springframework.boot</groupId>
179 <artifactId>spring-boot-starter-web</artifactId>
180 <version>2.1.1.RELEASE</version>
183 <groupId>org.springframework.boot</groupId>
184 <artifactId>spring-boot-starter-test</artifactId>
185 <version>2.1.1.RELEASE</version>
189 <groupId>org.springframework.data</groupId>
190 <artifactId>spring-data-commons</artifactId>
191 <version>2.1.3.RELEASE</version>
193 <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
195 <groupId>org.slf4j</groupId>
196 <artifactId>slf4j-api</artifactId>
197 <version>1.7.25</version>
200 <groupId>org.codehaus.groovy</groupId>
201 <artifactId>groovy-all</artifactId>
202 <version>2.4.21</version>
205 <groupId>com.jayway.jsonpath</groupId>
206 <artifactId>json-path</artifactId>
207 <version>2.4.0</version>
211 <groupId>com.fasterxml.jackson.core</groupId>
212 <artifactId>jackson-core</artifactId>
213 <version>${jackson.core.version}</version>
216 <groupId>com.fasterxml.jackson.core</groupId>
217 <artifactId>jackson-databind</artifactId>
218 <version>${jackson.core.version}</version>
221 <groupId>hsqldb</groupId>
222 <artifactId>hsqldb</artifactId>
223 <version>1.8.0.10</version>
226 <!-- https://mvnrepository.com/artifact/xalan/xalan -->
228 <groupId>xalan</groupId>
229 <artifactId>xalan</artifactId>
230 <version>2.7.2</version>
232 <!-- https://mvnrepository.com/artifact/xerces/xercesImpl -->
234 <groupId>xerces</groupId>
235 <artifactId>xercesImpl</artifactId>
236 <version>2.12.2</version>
238 <!-- https://mvnrepository.com/artifact/com.thoughtworks.xstream/xstream -->
240 <groupId>com.thoughtworks.xstream</groupId>
241 <artifactId>xstream</artifactId>
242 <version>1.4.19</version>
244 <!-- https://mvnrepository.com/artifact/xml-apis/xml-apis -->
246 <groupId>xml-apis</groupId>
247 <artifactId>xml-apis</artifactId>
248 <version>1.4.01</version>
252 <groupId>org.apache.httpcomponents</groupId>
253 <artifactId>httpclient</artifactId>
254 <version>${httpclient.version}</version>
255 <scope>compile</scope>
258 <groupId>org.apache.httpcomponents</groupId>
259 <artifactId>httpmime</artifactId>
260 <version>${httpclient.version}</version>
261 <scope>compile</scope>
264 <groupId>org.springframework.boot</groupId>
265 <artifactId>spring-boot-configuration-processor</artifactId>
266 <optional>true</optional>
267 <version>2.1.1.RELEASE</version>
270 <!-- DCAE sdk dependency -->
273 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
274 <artifactId>cbs-client</artifactId>
275 <version>${sdk.version}</version>
277 <!-- https://mvnrepository.com/artifact/io.projectreactor.netty/reactor-netty -->
279 <groupId>io.projectreactor.netty</groupId>
280 <artifactId>reactor-netty</artifactId>
281 <version>1.1.0</version>
289 <artifactId>maven-assembly-plugin</artifactId>
290 <version>3.1.0</version>
293 <groupId>com.spotify</groupId>
294 <artifactId>docker-maven-plugin</artifactId>
295 <version>1.0.0</version>
301 <artifactId>maven-assembly-plugin</artifactId>
304 <descriptor>src/assembly/dep.xml</descriptor>
306 <attach>false</attach>
307 <appendAssemblyId>false</appendAssemblyId>
308 <updateOnly>true</updateOnly>
312 <id>make-assembly</id>
313 <phase>package</phase>
321 <groupId>com.spotify</groupId>
322 <artifactId>docker-maven-plugin</artifactId>
323 <version>1.2.0</version>
325 <skipDockerBuild>false</skipDockerBuild>
326 <serverId>${onap.nexus.dockerregistry.daily}</serverId>
327 <imageName>${onap.nexus.dockerregistry.daily}/${docker.image.name}</imageName>
329 <imageTag>${project.version}-${maven.build.timestamp}Z</imageTag>
330 <imageTag>${project.version}</imageTag>
331 <imageTag>latest</imageTag>
333 <dockerDirectory>${project.basedir}/src/main/docker</dockerDirectory>
336 <targetPath>.</targetPath>
337 <directory>${project.build.directory}/${project.artifactId}-${project.version}</directory>
341 <!--<executions> <execution> <id>build-image</id> <phase>package</phase>
342 <goals> <goal>build</goal> </goals> </execution> <execution> <id>tag-and-push-image-latest</id>
343 <phase>deploy</phase> <goals> <goal>tag</goal> </goals> <configuration> <image>${docker.image.name}:latest</image>
344 <newName>${onap.nexus.dockerregistry.daily}/${docker.image.name}:latest</newName>
345 <pushImage>true</pushImage> </configuration> </execution> <execution> <id>tag-and-push-image-with-version</id>
346 <phase>deploy</phase> <goals> <goal>tag</goal> </goals> <configuration> <image>${docker.image.name}:latest</image>
347 <newName>${onap.nexus.dockerregistry.daily}/${docker.image.name}:${project.version}
348 </newName> <pushImage>true</pushImage> </configuration> </execution> <execution>
349 <id>tag-and-push-image-with-version-and-date</id> <phase>deploy</phase> <goals>
350 <goal>tag</goal> </goals> <configuration> <image>${docker.image.name}:latest</image>
351 <newName> ${onap.nexus.dockerregistry.daily}/${docker.image.name}:${project.version}-${maven.build.timestamp}Z
352 </newName> <pushImage>true</pushImage> </configuration> </execution> </executions> -->
355 <groupId>org.springframework.boot</groupId>
356 <artifactId>spring-boot-maven-plugin</artifactId>
357 <version>2.1.1.RELEASE</version>
361 <goal>repackage</goal>
364 <mainClass>org.onap.universalvesadapter.Application</mainClass>
370 <groupId>org.codehaus.mojo</groupId>
371 <artifactId>build-helper-maven-plugin</artifactId>
372 <version>1.9.1</version>
376 <phase>generate-sources</phase>
378 <goal>add-source</goal>
382 <source>src/gen/java</source>
386 <!-- <execution> <id>regex-property</id> <goals> <goal>regex-property</goal>
387 </goals> <configuration> <name>docker.version</name> <value>${project.version}</value>
388 <regex>(^[0-9]+.[0-9]+.[0-9]+$)</regex> <replacement>$1-STAGING</replacement>
389 <failIfNoMatch>false</failIfNoMatch> </configuration> </execution> -->
393 <!-- <finalName>UniversalVesAdapter</finalName> -->
398 <id>with-system-proxy</id>
402 <groupId>com.spotify</groupId>
403 <artifactId>docker-maven-plugin</artifactId>
406 <http_proxy>${env.http_proxy}</http_proxy>
418 <id>spring-releases</id>
419 <url>https://repo.spring.io/libs-release</url>
424 <id>spring-releases</id>
425 <url>https://repo.spring.io/libs-release</url>
427 </pluginRepositories>