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 * ================================================================================
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.4.3-SNAPSHOT</version>
33 <groupId>org.onap.dcaegen2.services.mapper</groupId>
34 <artifactId>mapper</artifactId>
35 <version>1.4.3-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>
56 <jackson.core.version>2.13.3</jackson.core.version>
57 <!-- DCAE SDK version -->
58 <sdk.version>1.8.10</sdk.version>
61 <onap-gerrit-review>-changelog-missing</onap-gerrit-review>
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.9</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.3.6</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.codehaus.groovy</groupId>
200 <artifactId>groovy-all</artifactId>
201 <version>2.4.21</version>
204 <groupId>com.jayway.jsonpath</groupId>
205 <artifactId>json-path</artifactId>
206 <version>2.4.0</version>
210 <groupId>com.fasterxml.jackson.core</groupId>
211 <artifactId>jackson-core</artifactId>
212 <version>${jackson.core.version}</version>
215 <groupId>com.fasterxml.jackson.core</groupId>
216 <artifactId>jackson-databind</artifactId>
217 <version>${jackson.core.version}</version>
220 <groupId>hsqldb</groupId>
221 <artifactId>hsqldb</artifactId>
222 <version>1.8.0.10</version>
225 <!-- https://mvnrepository.com/artifact/xalan/xalan -->
227 <groupId>xalan</groupId>
228 <artifactId>xalan</artifactId>
229 <version>2.7.2</version>
231 <!-- https://mvnrepository.com/artifact/xerces/xercesImpl -->
233 <groupId>xerces</groupId>
234 <artifactId>xercesImpl</artifactId>
235 <version>2.12.2</version>
237 <!-- https://mvnrepository.com/artifact/com.thoughtworks.xstream/xstream -->
239 <groupId>com.thoughtworks.xstream</groupId>
240 <artifactId>xstream</artifactId>
241 <version>1.4.19</version>
243 <!-- https://mvnrepository.com/artifact/xml-apis/xml-apis -->
245 <groupId>xml-apis</groupId>
246 <artifactId>xml-apis</artifactId>
247 <version>1.4.01</version>
251 <groupId>org.apache.httpcomponents</groupId>
252 <artifactId>httpclient</artifactId>
253 <version>${httpclient.version}</version>
254 <scope>compile</scope>
257 <groupId>org.apache.httpcomponents</groupId>
258 <artifactId>httpmime</artifactId>
259 <version>${httpclient.version}</version>
260 <scope>compile</scope>
263 <groupId>org.springframework.boot</groupId>
264 <artifactId>spring-boot-configuration-processor</artifactId>
265 <optional>true</optional>
266 <version>2.1.1.RELEASE</version>
269 <!-- DCAE sdk dependency -->
272 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
273 <artifactId>cbs-client</artifactId>
274 <version>${sdk.version}</version>
276 <!-- https://mvnrepository.com/artifact/io.projectreactor.netty/reactor-netty -->
278 <groupId>io.projectreactor.netty</groupId>
279 <artifactId>reactor-netty</artifactId>
280 <version>0.9.12.RELEASE</version>
288 <artifactId>maven-assembly-plugin</artifactId>
289 <version>3.1.0</version>
292 <groupId>com.spotify</groupId>
293 <artifactId>docker-maven-plugin</artifactId>
294 <version>1.0.0</version>
300 <artifactId>maven-assembly-plugin</artifactId>
303 <descriptor>src/assembly/dep.xml</descriptor>
305 <attach>false</attach>
306 <appendAssemblyId>false</appendAssemblyId>
307 <updateOnly>true</updateOnly>
311 <id>make-assembly</id>
312 <phase>package</phase>
320 <groupId>com.spotify</groupId>
321 <artifactId>docker-maven-plugin</artifactId>
322 <version>1.2.0</version>
324 <skipDockerBuild>false</skipDockerBuild>
325 <serverId>${onap.nexus.dockerregistry.daily}</serverId>
326 <imageName>${onap.nexus.dockerregistry.daily}/${docker.image.name}</imageName>
328 <imageTag>${project.version}-${maven.build.timestamp}Z</imageTag>
329 <imageTag>${project.version}</imageTag>
330 <imageTag>latest</imageTag>
332 <dockerDirectory>${project.basedir}/src/main/docker</dockerDirectory>
335 <targetPath>.</targetPath>
336 <directory>${project.build.directory}/${project.artifactId}-${project.version}</directory>
340 <!--<executions> <execution> <id>build-image</id> <phase>package</phase>
341 <goals> <goal>build</goal> </goals> </execution> <execution> <id>tag-and-push-image-latest</id>
342 <phase>deploy</phase> <goals> <goal>tag</goal> </goals> <configuration> <image>${docker.image.name}:latest</image>
343 <newName>${onap.nexus.dockerregistry.daily}/${docker.image.name}:latest</newName>
344 <pushImage>true</pushImage> </configuration> </execution> <execution> <id>tag-and-push-image-with-version</id>
345 <phase>deploy</phase> <goals> <goal>tag</goal> </goals> <configuration> <image>${docker.image.name}:latest</image>
346 <newName>${onap.nexus.dockerregistry.daily}/${docker.image.name}:${project.version}
347 </newName> <pushImage>true</pushImage> </configuration> </execution> <execution>
348 <id>tag-and-push-image-with-version-and-date</id> <phase>deploy</phase> <goals>
349 <goal>tag</goal> </goals> <configuration> <image>${docker.image.name}:latest</image>
350 <newName> ${onap.nexus.dockerregistry.daily}/${docker.image.name}:${project.version}-${maven.build.timestamp}Z
351 </newName> <pushImage>true</pushImage> </configuration> </execution> </executions> -->
354 <groupId>org.springframework.boot</groupId>
355 <artifactId>spring-boot-maven-plugin</artifactId>
356 <version>2.1.1.RELEASE</version>
360 <goal>repackage</goal>
363 <mainClass>org.onap.universalvesadapter.Application</mainClass>
369 <groupId>org.codehaus.mojo</groupId>
370 <artifactId>build-helper-maven-plugin</artifactId>
371 <version>1.9.1</version>
375 <phase>generate-sources</phase>
377 <goal>add-source</goal>
381 <source>src/gen/java</source>
385 <!-- <execution> <id>regex-property</id> <goals> <goal>regex-property</goal>
386 </goals> <configuration> <name>docker.version</name> <value>${project.version}</value>
387 <regex>(^[0-9]+.[0-9]+.[0-9]+$)</regex> <replacement>$1-STAGING</replacement>
388 <failIfNoMatch>false</failIfNoMatch> </configuration> </execution> -->
392 <!-- <finalName>UniversalVesAdapter</finalName> -->
397 <id>with-system-proxy</id>
401 <groupId>com.spotify</groupId>
402 <artifactId>docker-maven-plugin</artifactId>
405 <http_proxy>${env.http_proxy}</http_proxy>
417 <id>spring-releases</id>
418 <url>https://repo.spring.io/libs-release</url>
423 <id>spring-releases</id>
424 <url>https://repo.spring.io/libs-release</url>
426 </pluginRepositories>