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 * ================================================================================
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
20 * ============LICENSE_END=========================================================
23 <project xmlns="http://maven.apache.org/POM/4.0.0"
24 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
26 <modelVersion>4.0.0</modelVersion>
28 <groupId>org.onap.dcaegen2.services.mapper.vesadapter</groupId>
29 <artifactId>UniversalVesAdapter</artifactId>
30 <version>1.3.0-SNAPSHOT</version>
34 <groupId>org.onap.dcaegen2.services.mapper</groupId>
35 <artifactId>mapper</artifactId>
36 <version>1.3.0-SNAPSHOT</version>
41 <!-- PROJECT SETTINGS -->
42 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
43 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
44 <java.version>11</java.version>
45 <docker.image.name>onap/org.onap.dcaegen2.services.mapper.vesadapter.universalvesadaptor</docker.image.name>
47 <!-- PLUGIN SETTINGS -->
48 <dependency.locations.enabled>false</dependency.locations.enabled>
50 <!-- NEXUS RELATED SETTINGS -->
51 <nexusproxy>https://nexus.onap.org</nexusproxy>
52 <snapshots.path>content/repositories/snapshots/</snapshots.path>
53 <releases.path>content/repositories/releases/</releases.path>
55 content/sites/site/org/onap/dcaegen2/services/mapper/${project.artifactId}/${project.version}
57 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
59 <!-- DCAE SDK version -->
60 <sdk.version>1.8.7</sdk.version>
64 <!-- Junit, Mockito, PowerMock -->
66 <groupId>junit</groupId>
67 <artifactId>junit</artifactId>
68 <version>4.12</version>
72 <groupId>org.mockito</groupId>
73 <artifactId>mockito-core</artifactId>
74 <version>2.0.5-beta</version>
79 <groupId>org.powermock</groupId>
80 <artifactId>powermock-api-mockito</artifactId>
81 <version>1.6.2</version>
85 <groupId>org.powermock</groupId>
86 <artifactId>powermock-module-junit4</artifactId>
87 <version>1.6.2</version>
91 <groupId>org.javassist</groupId>
92 <artifactId>javassist</artifactId>
93 <version>3.27.0-GA</version>
96 <groupId>com.googlecode.json-simple</groupId>
97 <artifactId>json-simple</artifactId>
98 <version>1.1.1</version>
101 <groupId>com.google.guava</groupId>
102 <artifactId>guava</artifactId>
105 <groupId>commons-configuration</groupId>
106 <artifactId>commons-configuration</artifactId>
107 <version>1.10</version>
110 <groupId>com.google.code.gson</groupId>
111 <artifactId>gson</artifactId>
112 <version>2.8.5</version>
115 <groupId>com.google.inject</groupId>
116 <artifactId>guice</artifactId>
117 <version>4.2.0</version>
120 <groupId>org.apache.commons</groupId>
121 <artifactId>commons-lang3</artifactId>
122 <version>3.5</version>
125 <groupId>com.google.inject.extensions</groupId>
126 <artifactId>guice-assistedinject</artifactId>
127 <version>4.2.0</version>
130 <groupId>org.milyn</groupId>
131 <artifactId>milyn-smooks-all</artifactId>
132 <version>1.7.0</version>
135 <groupId>javax.servlet</groupId>
136 <artifactId>servlet-api</artifactId>
139 <groupId>ognl</groupId>
140 <artifactId>ognl</artifactId>
143 <groupId>javax.jms</groupId>
144 <artifactId>jms</artifactId>
149 <groupId>ognl</groupId>
150 <artifactId>ognl</artifactId>
151 <version>3.1.12</version>
154 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
155 <artifactId>dmaapClient</artifactId>
156 <version>1.1.3</version>
159 <groupId>javax.jms</groupId>
160 <artifactId>jms</artifactId>
164 <!-- Database dependency -->
166 <groupId>org.postgresql</groupId>
167 <artifactId>postgresql</artifactId>
168 <version>42.2.18</version>
171 <groupId>org.springframework</groupId>
172 <artifactId>spring-jdbc</artifactId>
173 <version>5.1.3.RELEASE</version>
176 <groupId>org.springframework.boot</groupId>
177 <artifactId>spring-boot-starter-web</artifactId>
178 <version>2.1.1.RELEASE</version>
181 <groupId>org.springframework.boot</groupId>
182 <artifactId>spring-boot-starter-test</artifactId>
183 <version>2.1.1.RELEASE</version>
187 <groupId>org.springframework.data</groupId>
188 <artifactId>spring-data-commons</artifactId>
189 <version>2.1.3.RELEASE</version>
191 <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
193 <groupId>org.slf4j</groupId>
194 <artifactId>slf4j-api</artifactId>
195 <version>1.7.25</version>
198 <groupId>org.apache.logging.log4j</groupId>
199 <artifactId>log4j-core</artifactId>
200 <version>2.14.1</version>
203 <groupId>org.codehaus.groovy</groupId>
204 <artifactId>groovy-all</artifactId>
205 <version>2.4.21</version>
208 <groupId>com.jayway.jsonpath</groupId>
209 <artifactId>json-path</artifactId>
210 <version>2.4.0</version>
214 <groupId>com.fasterxml.jackson.core</groupId>
215 <artifactId>jackson-core</artifactId>
216 <version>2.11.2</version>
219 <groupId>com.fasterxml.jackson.core</groupId>
220 <artifactId>jackson-databind</artifactId>
221 <version>2.11.2</version>
224 <groupId>hsqldb</groupId>
225 <artifactId>hsqldb</artifactId>
226 <version>1.8.0.10</version>
229 <!-- https://mvnrepository.com/artifact/xalan/xalan -->
231 <groupId>xalan</groupId>
232 <artifactId>xalan</artifactId>
233 <version>2.7.2</version>
235 <!-- https://mvnrepository.com/artifact/xerces/xercesImpl -->
237 <groupId>xerces</groupId>
238 <artifactId>xercesImpl</artifactId>
239 <version>2.12.1</version>
241 <!-- https://mvnrepository.com/artifact/com.thoughtworks.xstream/xstream -->
243 <groupId>com.thoughtworks.xstream</groupId>
244 <artifactId>xstream</artifactId>
245 <version>1.4.16</version>
247 <!-- https://mvnrepository.com/artifact/xml-apis/xml-apis -->
249 <groupId>xml-apis</groupId>
250 <artifactId>xml-apis</artifactId>
251 <version>1.4.01</version>
255 <groupId>org.apache.httpcomponents</groupId>
256 <artifactId>httpclient</artifactId>
257 <version>${httpclient.version}</version>
258 <scope>compile</scope>
261 <groupId>org.apache.httpcomponents</groupId>
262 <artifactId>httpmime</artifactId>
263 <version>${httpclient.version}</version>
264 <scope>compile</scope>
267 <groupId>org.springframework.boot</groupId>
268 <artifactId>spring-boot-configuration-processor</artifactId>
269 <optional>true</optional>
270 <version>2.1.1.RELEASE</version>
273 <!-- DCAE sdk dependency -->
276 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
277 <artifactId>cbs-client</artifactId>
278 <version>${sdk.version}</version>
280 <!-- https://mvnrepository.com/artifact/io.projectreactor.netty/reactor-netty -->
282 <groupId>io.projectreactor.netty</groupId>
283 <artifactId>reactor-netty</artifactId>
284 <version>0.9.12.RELEASE</version>
292 <artifactId>maven-assembly-plugin</artifactId>
293 <version>3.1.0</version>
296 <groupId>com.spotify</groupId>
297 <artifactId>docker-maven-plugin</artifactId>
298 <version>1.0.0</version>
304 <artifactId>maven-assembly-plugin</artifactId>
307 <descriptor>src/assembly/dep.xml</descriptor>
309 <attach>false</attach>
310 <appendAssemblyId>false</appendAssemblyId>
311 <updateOnly>true</updateOnly>
315 <id>make-assembly</id>
316 <phase>package</phase>
324 <groupId>com.spotify</groupId>
325 <artifactId>docker-maven-plugin</artifactId>
326 <version>1.2.0</version>
328 <skipDockerBuild>false</skipDockerBuild>
329 <serverId>${onap.nexus.dockerregistry.daily}</serverId>
330 <imageName>${onap.nexus.dockerregistry.daily}/${docker.image.name}</imageName>
332 <imageTag>${project.version}-${maven.build.timestamp}Z</imageTag>
333 <imageTag>${project.version}</imageTag>
334 <imageTag>latest</imageTag>
336 <dockerDirectory>${project.basedir}/src/main/docker</dockerDirectory>
339 <targetPath>.</targetPath>
340 <directory>${project.build.directory}/${project.artifactId}-${project.version}</directory>
344 <!--<executions> <execution> <id>build-image</id> <phase>package</phase>
345 <goals> <goal>build</goal> </goals> </execution> <execution> <id>tag-and-push-image-latest</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}:latest</newName>
348 <pushImage>true</pushImage> </configuration> </execution> <execution> <id>tag-and-push-image-with-version</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}:${project.version}
351 </newName> <pushImage>true</pushImage> </configuration> </execution> <execution>
352 <id>tag-and-push-image-with-version-and-date</id> <phase>deploy</phase> <goals>
353 <goal>tag</goal> </goals> <configuration> <image>${docker.image.name}:latest</image>
354 <newName> ${onap.nexus.dockerregistry.daily}/${docker.image.name}:${project.version}-${maven.build.timestamp}Z
355 </newName> <pushImage>true</pushImage> </configuration> </execution> </executions> -->
358 <groupId>org.springframework.boot</groupId>
359 <artifactId>spring-boot-maven-plugin</artifactId>
360 <version>2.1.1.RELEASE</version>
364 <goal>repackage</goal>
367 <mainClass>org.onap.universalvesadapter.Application</mainClass>
373 <groupId>org.codehaus.mojo</groupId>
374 <artifactId>build-helper-maven-plugin</artifactId>
375 <version>1.9.1</version>
379 <phase>generate-sources</phase>
381 <goal>add-source</goal>
385 <source>src/gen/java</source>
389 <!-- <execution> <id>regex-property</id> <goals> <goal>regex-property</goal>
390 </goals> <configuration> <name>docker.version</name> <value>${project.version}</value>
391 <regex>(^[0-9]+.[0-9]+.[0-9]+$)</regex> <replacement>$1-STAGING</replacement>
392 <failIfNoMatch>false</failIfNoMatch> </configuration> </execution> -->
396 <!-- <finalName>UniversalVesAdapter</finalName> -->
401 <id>with-system-proxy</id>
405 <groupId>com.spotify</groupId>
406 <artifactId>docker-maven-plugin</artifactId>
409 <http_proxy>${env.http_proxy}</http_proxy>
421 <id>spring-releases</id>
422 <url>https://repo.spring.io/libs-release</url>
427 <id>spring-releases</id>
428 <url>https://repo.spring.io/libs-release</url>
430 </pluginRepositories>