1 <?xml version="1.0" encoding="UTF-8"?>
3 * ============LICENSE_START=======================================================
5 * ================================================================================
6 * Copyright 2018-2019 TechMahindra
7 * Copyright (C) 2020 Huawei Technologies Co., Ltd.
8 * Copyright (c) 2021-2022 AT&T Intellectual Property. All rights reserved.
9 * ================================================================================
10 * Licensed under the Apache License, Version 2.0 (the "License");
11 * you may not use this file except in compliance with the License.
12 * You may obtain a copy of the License at
14 * http://www.apache.org/licenses/LICENSE-2.0
16 * Unless required by applicable law or agreed to in writing, software
17 * distributed under the License is distributed on an "AS IS" BASIS,
18 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 * See the License for the specific language governing permissions and
20 * limitations under the License.
21 * ============LICENSE_END=========================================================
24 <project xmlns="http://maven.apache.org/POM/4.0.0"
25 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
26 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>
29 <groupId>org.onap.dcaegen2.services.mapper.vesadapter</groupId>
30 <artifactId>UniversalVesAdapter</artifactId>
31 <version>1.3.2-SNAPSHOT</version>
33 <groupId>org.onap.dcaegen2.services.mapper</groupId>
34 <artifactId>mapper</artifactId>
35 <version>1.3.2-SNAPSHOT</version>
39 <!-- PROJECT SETTINGS -->
40 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
42 <java.version>11</java.version>
43 <docker.image.name>onap/org.onap.dcaegen2.services.mapper.vesadapter.universalvesadaptor</docker.image.name>
45 <!-- PLUGIN SETTINGS -->
46 <dependency.locations.enabled>false</dependency.locations.enabled>
48 <!-- NEXUS RELATED SETTINGS -->
49 <nexusproxy>https://nexus.onap.org</nexusproxy>
50 <snapshots.path>content/repositories/snapshots/</snapshots.path>
51 <releases.path>content/repositories/releases/</releases.path>
53 content/sites/site/org/onap/dcaegen2/services/mapper/${project.artifactId}/${project.version}
55 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
57 <!-- DCAE SDK version -->
58 <sdk.version>1.8.7</sdk.version>
62 <!-- Junit, Mockito, PowerMock -->
64 <groupId>junit</groupId>
65 <artifactId>junit</artifactId>
66 <version>4.12</version>
70 <groupId>org.mockito</groupId>
71 <artifactId>mockito-core</artifactId>
72 <version>2.0.5-beta</version>
77 <groupId>org.powermock</groupId>
78 <artifactId>powermock-api-mockito</artifactId>
79 <version>1.6.2</version>
83 <groupId>org.powermock</groupId>
84 <artifactId>powermock-module-junit4</artifactId>
85 <version>1.6.2</version>
89 <groupId>org.javassist</groupId>
90 <artifactId>javassist</artifactId>
91 <version>3.27.0-GA</version>
94 <groupId>com.googlecode.json-simple</groupId>
95 <artifactId>json-simple</artifactId>
96 <version>1.1.1</version>
99 <groupId>com.google.guava</groupId>
100 <artifactId>guava</artifactId>
103 <groupId>commons-configuration</groupId>
104 <artifactId>commons-configuration</artifactId>
105 <version>1.10</version>
108 <groupId>com.google.code.gson</groupId>
109 <artifactId>gson</artifactId>
110 <version>2.8.5</version>
113 <groupId>com.google.inject</groupId>
114 <artifactId>guice</artifactId>
115 <version>4.2.0</version>
118 <groupId>org.apache.commons</groupId>
119 <artifactId>commons-lang3</artifactId>
120 <version>3.5</version>
123 <groupId>com.google.inject.extensions</groupId>
124 <artifactId>guice-assistedinject</artifactId>
125 <version>4.2.0</version>
128 <groupId>org.milyn</groupId>
129 <artifactId>milyn-smooks-all</artifactId>
130 <version>1.7.0</version>
133 <groupId>javax.servlet</groupId>
134 <artifactId>servlet-api</artifactId>
137 <groupId>ognl</groupId>
138 <artifactId>ognl</artifactId>
141 <groupId>javax.jms</groupId>
142 <artifactId>jms</artifactId>
147 <groupId>ognl</groupId>
148 <artifactId>ognl</artifactId>
149 <version>3.1.12</version>
152 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
153 <artifactId>dmaapClient</artifactId>
154 <version>1.1.3</version>
157 <groupId>javax.jms</groupId>
158 <artifactId>jms</artifactId>
162 <!-- Database dependency -->
164 <groupId>org.postgresql</groupId>
165 <artifactId>postgresql</artifactId>
166 <version>42.2.18</version>
169 <groupId>org.springframework</groupId>
170 <artifactId>spring-jdbc</artifactId>
171 <version>5.1.3.RELEASE</version>
174 <groupId>org.springframework.boot</groupId>
175 <artifactId>spring-boot-starter-web</artifactId>
176 <version>2.1.1.RELEASE</version>
179 <groupId>org.springframework.boot</groupId>
180 <artifactId>spring-boot-starter-test</artifactId>
181 <version>2.1.1.RELEASE</version>
185 <groupId>org.springframework.data</groupId>
186 <artifactId>spring-data-commons</artifactId>
187 <version>2.1.3.RELEASE</version>
189 <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
191 <groupId>org.slf4j</groupId>
192 <artifactId>slf4j-api</artifactId>
193 <version>1.7.25</version>
196 <groupId>org.apache.logging.log4j</groupId>
197 <artifactId>log4j-core</artifactId>
198 <version>2.17.1</version>
201 <groupId>org.apache.logging.log4j</groupId>
202 <artifactId>log4j-api</artifactId>
203 <version>2.17.1</version>
206 <groupId>org.codehaus.groovy</groupId>
207 <artifactId>groovy-all</artifactId>
208 <version>2.4.21</version>
211 <groupId>com.jayway.jsonpath</groupId>
212 <artifactId>json-path</artifactId>
213 <version>2.4.0</version>
217 <groupId>com.fasterxml.jackson.core</groupId>
218 <artifactId>jackson-core</artifactId>
219 <version>2.11.2</version>
222 <groupId>com.fasterxml.jackson.core</groupId>
223 <artifactId>jackson-databind</artifactId>
224 <version>2.11.2</version>
227 <groupId>hsqldb</groupId>
228 <artifactId>hsqldb</artifactId>
229 <version>1.8.0.10</version>
232 <!-- https://mvnrepository.com/artifact/xalan/xalan -->
234 <groupId>xalan</groupId>
235 <artifactId>xalan</artifactId>
236 <version>2.7.2</version>
238 <!-- https://mvnrepository.com/artifact/xerces/xercesImpl -->
240 <groupId>xerces</groupId>
241 <artifactId>xercesImpl</artifactId>
242 <version>2.12.1</version>
244 <!-- https://mvnrepository.com/artifact/com.thoughtworks.xstream/xstream -->
246 <groupId>com.thoughtworks.xstream</groupId>
247 <artifactId>xstream</artifactId>
248 <version>1.4.16</version>
250 <!-- https://mvnrepository.com/artifact/xml-apis/xml-apis -->
252 <groupId>xml-apis</groupId>
253 <artifactId>xml-apis</artifactId>
254 <version>1.4.01</version>
258 <groupId>org.apache.httpcomponents</groupId>
259 <artifactId>httpclient</artifactId>
260 <version>${httpclient.version}</version>
261 <scope>compile</scope>
264 <groupId>org.apache.httpcomponents</groupId>
265 <artifactId>httpmime</artifactId>
266 <version>${httpclient.version}</version>
267 <scope>compile</scope>
270 <groupId>org.springframework.boot</groupId>
271 <artifactId>spring-boot-configuration-processor</artifactId>
272 <optional>true</optional>
273 <version>2.1.1.RELEASE</version>
276 <!-- DCAE sdk dependency -->
279 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
280 <artifactId>cbs-client</artifactId>
281 <version>${sdk.version}</version>
283 <!-- https://mvnrepository.com/artifact/io.projectreactor.netty/reactor-netty -->
285 <groupId>io.projectreactor.netty</groupId>
286 <artifactId>reactor-netty</artifactId>
287 <version>0.9.12.RELEASE</version>
295 <artifactId>maven-assembly-plugin</artifactId>
296 <version>3.1.0</version>
299 <groupId>com.spotify</groupId>
300 <artifactId>docker-maven-plugin</artifactId>
301 <version>1.0.0</version>
307 <artifactId>maven-assembly-plugin</artifactId>
310 <descriptor>src/assembly/dep.xml</descriptor>
312 <attach>false</attach>
313 <appendAssemblyId>false</appendAssemblyId>
314 <updateOnly>true</updateOnly>
318 <id>make-assembly</id>
319 <phase>package</phase>
327 <groupId>com.spotify</groupId>
328 <artifactId>docker-maven-plugin</artifactId>
329 <version>1.2.0</version>
331 <skipDockerBuild>false</skipDockerBuild>
332 <serverId>${onap.nexus.dockerregistry.daily}</serverId>
333 <imageName>${onap.nexus.dockerregistry.daily}/${docker.image.name}</imageName>
335 <imageTag>${project.version}-${maven.build.timestamp}Z</imageTag>
336 <imageTag>${project.version}</imageTag>
337 <imageTag>latest</imageTag>
339 <dockerDirectory>${project.basedir}/src/main/docker</dockerDirectory>
342 <targetPath>.</targetPath>
343 <directory>${project.build.directory}/${project.artifactId}-${project.version}</directory>
347 <!--<executions> <execution> <id>build-image</id> <phase>package</phase>
348 <goals> <goal>build</goal> </goals> </execution> <execution> <id>tag-and-push-image-latest</id>
349 <phase>deploy</phase> <goals> <goal>tag</goal> </goals> <configuration> <image>${docker.image.name}:latest</image>
350 <newName>${onap.nexus.dockerregistry.daily}/${docker.image.name}:latest</newName>
351 <pushImage>true</pushImage> </configuration> </execution> <execution> <id>tag-and-push-image-with-version</id>
352 <phase>deploy</phase> <goals> <goal>tag</goal> </goals> <configuration> <image>${docker.image.name}:latest</image>
353 <newName>${onap.nexus.dockerregistry.daily}/${docker.image.name}:${project.version}
354 </newName> <pushImage>true</pushImage> </configuration> </execution> <execution>
355 <id>tag-and-push-image-with-version-and-date</id> <phase>deploy</phase> <goals>
356 <goal>tag</goal> </goals> <configuration> <image>${docker.image.name}:latest</image>
357 <newName> ${onap.nexus.dockerregistry.daily}/${docker.image.name}:${project.version}-${maven.build.timestamp}Z
358 </newName> <pushImage>true</pushImage> </configuration> </execution> </executions> -->
361 <groupId>org.springframework.boot</groupId>
362 <artifactId>spring-boot-maven-plugin</artifactId>
363 <version>2.1.1.RELEASE</version>
367 <goal>repackage</goal>
370 <mainClass>org.onap.universalvesadapter.Application</mainClass>
376 <groupId>org.codehaus.mojo</groupId>
377 <artifactId>build-helper-maven-plugin</artifactId>
378 <version>1.9.1</version>
382 <phase>generate-sources</phase>
384 <goal>add-source</goal>
388 <source>src/gen/java</source>
392 <!-- <execution> <id>regex-property</id> <goals> <goal>regex-property</goal>
393 </goals> <configuration> <name>docker.version</name> <value>${project.version}</value>
394 <regex>(^[0-9]+.[0-9]+.[0-9]+$)</regex> <replacement>$1-STAGING</replacement>
395 <failIfNoMatch>false</failIfNoMatch> </configuration> </execution> -->
399 <!-- <finalName>UniversalVesAdapter</finalName> -->
404 <id>with-system-proxy</id>
408 <groupId>com.spotify</groupId>
409 <artifactId>docker-maven-plugin</artifactId>
412 <http_proxy>${env.http_proxy}</http_proxy>
424 <id>spring-releases</id>
425 <url>https://repo.spring.io/libs-release</url>
430 <id>spring-releases</id>
431 <url>https://repo.spring.io/libs-release</url>
433 </pluginRepositories>