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 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.1-SNAPSHOT</version>
35 <groupId>org.onap.dcaegen2.services.mapper</groupId>
36 <artifactId>mapper</artifactId>
37 <version>1.3.1-SNAPSHOT</version>
42 <!-- PROJECT SETTINGS -->
43 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
44 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
45 <java.version>11</java.version>
46 <docker.image.name>onap/org.onap.dcaegen2.services.mapper.vesadapter.universalvesadaptor</docker.image.name>
48 <!-- PLUGIN SETTINGS -->
49 <dependency.locations.enabled>false</dependency.locations.enabled>
51 <!-- NEXUS RELATED SETTINGS -->
52 <nexusproxy>https://nexus.onap.org</nexusproxy>
53 <snapshots.path>content/repositories/snapshots/</snapshots.path>
54 <releases.path>content/repositories/releases/</releases.path>
56 content/sites/site/org/onap/dcaegen2/services/mapper/${project.artifactId}/${project.version}
58 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
60 <!-- DCAE SDK version -->
61 <sdk.version>1.8.7</sdk.version>
65 <!-- Junit, Mockito, PowerMock -->
67 <groupId>junit</groupId>
68 <artifactId>junit</artifactId>
69 <version>4.12</version>
73 <groupId>org.mockito</groupId>
74 <artifactId>mockito-core</artifactId>
75 <version>2.0.5-beta</version>
80 <groupId>org.powermock</groupId>
81 <artifactId>powermock-api-mockito</artifactId>
82 <version>1.6.2</version>
86 <groupId>org.powermock</groupId>
87 <artifactId>powermock-module-junit4</artifactId>
88 <version>1.6.2</version>
92 <groupId>org.javassist</groupId>
93 <artifactId>javassist</artifactId>
94 <version>3.27.0-GA</version>
97 <groupId>com.googlecode.json-simple</groupId>
98 <artifactId>json-simple</artifactId>
99 <version>1.1.1</version>
102 <groupId>com.google.guava</groupId>
103 <artifactId>guava</artifactId>
106 <groupId>commons-configuration</groupId>
107 <artifactId>commons-configuration</artifactId>
108 <version>1.10</version>
111 <groupId>com.google.code.gson</groupId>
112 <artifactId>gson</artifactId>
113 <version>2.8.5</version>
116 <groupId>com.google.inject</groupId>
117 <artifactId>guice</artifactId>
118 <version>4.2.0</version>
121 <groupId>org.apache.commons</groupId>
122 <artifactId>commons-lang3</artifactId>
123 <version>3.5</version>
126 <groupId>com.google.inject.extensions</groupId>
127 <artifactId>guice-assistedinject</artifactId>
128 <version>4.2.0</version>
131 <groupId>org.milyn</groupId>
132 <artifactId>milyn-smooks-all</artifactId>
133 <version>1.7.0</version>
136 <groupId>javax.servlet</groupId>
137 <artifactId>servlet-api</artifactId>
140 <groupId>ognl</groupId>
141 <artifactId>ognl</artifactId>
144 <groupId>javax.jms</groupId>
145 <artifactId>jms</artifactId>
150 <groupId>ognl</groupId>
151 <artifactId>ognl</artifactId>
152 <version>3.1.12</version>
155 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
156 <artifactId>dmaapClient</artifactId>
157 <version>1.1.3</version>
160 <groupId>javax.jms</groupId>
161 <artifactId>jms</artifactId>
165 <!-- Database dependency -->
167 <groupId>org.postgresql</groupId>
168 <artifactId>postgresql</artifactId>
169 <version>42.2.18</version>
172 <groupId>org.springframework</groupId>
173 <artifactId>spring-jdbc</artifactId>
174 <version>5.1.3.RELEASE</version>
177 <groupId>org.springframework.boot</groupId>
178 <artifactId>spring-boot-starter-web</artifactId>
179 <version>2.1.1.RELEASE</version>
182 <groupId>org.springframework.boot</groupId>
183 <artifactId>spring-boot-starter-test</artifactId>
184 <version>2.1.1.RELEASE</version>
188 <groupId>org.springframework.data</groupId>
189 <artifactId>spring-data-commons</artifactId>
190 <version>2.1.3.RELEASE</version>
192 <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
194 <groupId>org.slf4j</groupId>
195 <artifactId>slf4j-api</artifactId>
196 <version>1.7.25</version>
199 <groupId>org.apache.logging.log4j</groupId>
200 <artifactId>log4j-core</artifactId>
201 <version>2.16.0</version>
204 <groupId>org.apache.logging.log4j</groupId>
205 <artifactId>log4j-api</artifactId>
206 <version>2.16.0</version>
209 <groupId>org.codehaus.groovy</groupId>
210 <artifactId>groovy-all</artifactId>
211 <version>2.4.21</version>
214 <groupId>com.jayway.jsonpath</groupId>
215 <artifactId>json-path</artifactId>
216 <version>2.4.0</version>
220 <groupId>com.fasterxml.jackson.core</groupId>
221 <artifactId>jackson-core</artifactId>
222 <version>2.11.2</version>
225 <groupId>com.fasterxml.jackson.core</groupId>
226 <artifactId>jackson-databind</artifactId>
227 <version>2.11.2</version>
230 <groupId>hsqldb</groupId>
231 <artifactId>hsqldb</artifactId>
232 <version>1.8.0.10</version>
235 <!-- https://mvnrepository.com/artifact/xalan/xalan -->
237 <groupId>xalan</groupId>
238 <artifactId>xalan</artifactId>
239 <version>2.7.2</version>
241 <!-- https://mvnrepository.com/artifact/xerces/xercesImpl -->
243 <groupId>xerces</groupId>
244 <artifactId>xercesImpl</artifactId>
245 <version>2.12.1</version>
247 <!-- https://mvnrepository.com/artifact/com.thoughtworks.xstream/xstream -->
249 <groupId>com.thoughtworks.xstream</groupId>
250 <artifactId>xstream</artifactId>
251 <version>1.4.16</version>
253 <!-- https://mvnrepository.com/artifact/xml-apis/xml-apis -->
255 <groupId>xml-apis</groupId>
256 <artifactId>xml-apis</artifactId>
257 <version>1.4.01</version>
261 <groupId>org.apache.httpcomponents</groupId>
262 <artifactId>httpclient</artifactId>
263 <version>${httpclient.version}</version>
264 <scope>compile</scope>
267 <groupId>org.apache.httpcomponents</groupId>
268 <artifactId>httpmime</artifactId>
269 <version>${httpclient.version}</version>
270 <scope>compile</scope>
273 <groupId>org.springframework.boot</groupId>
274 <artifactId>spring-boot-configuration-processor</artifactId>
275 <optional>true</optional>
276 <version>2.1.1.RELEASE</version>
279 <!-- DCAE sdk dependency -->
282 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
283 <artifactId>cbs-client</artifactId>
284 <version>${sdk.version}</version>
286 <!-- https://mvnrepository.com/artifact/io.projectreactor.netty/reactor-netty -->
288 <groupId>io.projectreactor.netty</groupId>
289 <artifactId>reactor-netty</artifactId>
290 <version>0.9.12.RELEASE</version>
298 <artifactId>maven-assembly-plugin</artifactId>
299 <version>3.1.0</version>
302 <groupId>com.spotify</groupId>
303 <artifactId>docker-maven-plugin</artifactId>
304 <version>1.0.0</version>
310 <artifactId>maven-assembly-plugin</artifactId>
313 <descriptor>src/assembly/dep.xml</descriptor>
315 <attach>false</attach>
316 <appendAssemblyId>false</appendAssemblyId>
317 <updateOnly>true</updateOnly>
321 <id>make-assembly</id>
322 <phase>package</phase>
330 <groupId>com.spotify</groupId>
331 <artifactId>docker-maven-plugin</artifactId>
332 <version>1.2.0</version>
334 <skipDockerBuild>false</skipDockerBuild>
335 <serverId>${onap.nexus.dockerregistry.daily}</serverId>
336 <imageName>${onap.nexus.dockerregistry.daily}/${docker.image.name}</imageName>
338 <imageTag>${project.version}-${maven.build.timestamp}Z</imageTag>
339 <imageTag>${project.version}</imageTag>
340 <imageTag>latest</imageTag>
342 <dockerDirectory>${project.basedir}/src/main/docker</dockerDirectory>
345 <targetPath>.</targetPath>
346 <directory>${project.build.directory}/${project.artifactId}-${project.version}</directory>
350 <!--<executions> <execution> <id>build-image</id> <phase>package</phase>
351 <goals> <goal>build</goal> </goals> </execution> <execution> <id>tag-and-push-image-latest</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}:latest</newName>
354 <pushImage>true</pushImage> </configuration> </execution> <execution> <id>tag-and-push-image-with-version</id>
355 <phase>deploy</phase> <goals> <goal>tag</goal> </goals> <configuration> <image>${docker.image.name}:latest</image>
356 <newName>${onap.nexus.dockerregistry.daily}/${docker.image.name}:${project.version}
357 </newName> <pushImage>true</pushImage> </configuration> </execution> <execution>
358 <id>tag-and-push-image-with-version-and-date</id> <phase>deploy</phase> <goals>
359 <goal>tag</goal> </goals> <configuration> <image>${docker.image.name}:latest</image>
360 <newName> ${onap.nexus.dockerregistry.daily}/${docker.image.name}:${project.version}-${maven.build.timestamp}Z
361 </newName> <pushImage>true</pushImage> </configuration> </execution> </executions> -->
364 <groupId>org.springframework.boot</groupId>
365 <artifactId>spring-boot-maven-plugin</artifactId>
366 <version>2.1.1.RELEASE</version>
370 <goal>repackage</goal>
373 <mainClass>org.onap.universalvesadapter.Application</mainClass>
379 <groupId>org.codehaus.mojo</groupId>
380 <artifactId>build-helper-maven-plugin</artifactId>
381 <version>1.9.1</version>
385 <phase>generate-sources</phase>
387 <goal>add-source</goal>
391 <source>src/gen/java</source>
395 <!-- <execution> <id>regex-property</id> <goals> <goal>regex-property</goal>
396 </goals> <configuration> <name>docker.version</name> <value>${project.version}</value>
397 <regex>(^[0-9]+.[0-9]+.[0-9]+$)</regex> <replacement>$1-STAGING</replacement>
398 <failIfNoMatch>false</failIfNoMatch> </configuration> </execution> -->
402 <!-- <finalName>UniversalVesAdapter</finalName> -->
407 <id>with-system-proxy</id>
411 <groupId>com.spotify</groupId>
412 <artifactId>docker-maven-plugin</artifactId>
415 <http_proxy>${env.http_proxy}</http_proxy>
427 <id>spring-releases</id>
428 <url>https://repo.spring.io/libs-release</url>
433 <id>spring-releases</id>
434 <url>https://repo.spring.io/libs-release</url>
436 </pluginRepositories>