1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- * ============LICENSE_START=======================================================
3 * ONAP : DCAEGEN2/services/mapper * ================================================================================
4 * Copyright 2018 TechMahindra *=================================================================================
5 * Licensed under the Apache License, Version 2.0 (the "License"); * you may
6 not use this file except in compliance with the License. * You may obtain
7 a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 *
8 * Unless required by applicable law or agreed to in writing, software * distributed
9 under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES
10 OR CONDITIONS OF ANY KIND, either express or implied. * See the License for
11 the specific language governing permissions and * limitations under the License.
12 * ============LICENSE_END========================================================= -->
13 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
14 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
15 <modelVersion>4.0.0</modelVersion>
17 <groupId>org.onap.dcaegen2.services.mapper.vesadapter</groupId>
18 <artifactId>UniversalVesAdapter</artifactId>
19 <version>0.0.1</version>
22 <!-- <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId>
23 <version>2.0.0.RELEASE</version> -->
24 <groupId>org.onap.dcaegen2.services.mapper</groupId>
25 <artifactId>mapper</artifactId>
26 <version>0.0.1-SNAPSHOT</version>
31 <groupId>org.milyn</groupId>
32 <artifactId>milyn-smooks-all</artifactId>
33 <version>1.7.0</version>
36 <groupId>javax.servlet</groupId>
37 <artifactId>servlet-api</artifactId>
42 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
43 <artifactId>dmaapClient</artifactId>
44 <version>1.1.3</version>
49 <groupId>org.springframework.boot</groupId>
50 <artifactId>spring-boot-starter-web</artifactId>
51 <version>2.0.1.RELEASE</version>
54 <groupId>org.springframework.boot</groupId>
55 <artifactId>spring-boot-starter-test</artifactId>
56 <version>2.0.1.RELEASE</version>
60 <groupId>com.jayway.jsonpath</groupId>
61 <artifactId>json-path</artifactId>
62 <version>2.4.0</version>
66 <groupId>org.springframework.data</groupId>
67 <artifactId>spring-data-commons</artifactId>
68 <version>2.0.6.RELEASE</version>
71 <groupId>com.fasterxml.jackson.core</groupId>
72 <artifactId>jackson-databind</artifactId>
73 <version>2.9.5</version>
78 <groupId>hsqldb</groupId>
79 <artifactId>hsqldb</artifactId>
80 <version>1.8.0.10</version>
84 <!-- https://mvnrepository.com/artifact/xalan/xalan -->
86 <groupId>xalan</groupId>
87 <artifactId>xalan</artifactId>
88 <version>2.7.2</version>
91 <!-- https://mvnrepository.com/artifact/xerces/xercesImpl -->
93 <groupId>xerces</groupId>
94 <artifactId>xercesImpl</artifactId>
95 <version>2.11.0-atlassian-01</version>
98 <!-- https://mvnrepository.com/artifact/com.thoughtworks.xstream/xstream -->
100 <groupId>com.thoughtworks.xstream</groupId>
101 <artifactId>xstream</artifactId>
102 <version>1.4.10</version>
104 <!-- https://mvnrepository.com/artifact/xml-apis/xml-apis -->
106 <groupId>xml-apis</groupId>
107 <artifactId>xml-apis</artifactId>
108 <version>1.4.01</version>
116 <java.version>1.8</java.version>
123 <groupId>org.apache.maven.plugins</groupId>
124 <artifactId>maven-surefire-plugin</artifactId>
126 <reuseForks>false</reuseForks>
127 <forkCount>1</forkCount>
131 <groupId>org.springframework.boot</groupId>
132 <artifactId>spring-boot-maven-plugin</artifactId>
133 <version>2.0.0.RELEASE</version>
137 <goal>repackage</goal>
140 <mainClass>org.onap.universalvesadapter.Application</mainClass>
146 <groupId>com.spotify</groupId>
147 <artifactId>docker-maven-plugin</artifactId>
148 <version>${docker.maven.version}</version>
150 <skipDockerBuild>false</skipDockerBuild>
151 <imageName>${onap.nexus.dockerregistry.daily}/onap/${project.groupId}.${project.artifactId}</imageName>
152 <baseImage>openjdk:8-jre</baseImage>
153 <entryPoint>["java", "-jar", "/opt/${project.build.finalName}.jar",
154 "server"]</entryPoint>
157 <targetPath>/opt</targetPath>
158 <directory>${project.build.directory}</directory>
159 <include>${project.build.finalName}.jar</include>
163 <expose>8080</expose>
166 <imageTag>${project.version}-SNAPSHOT-${maven.build.timestamp}Z</imageTag>
167 <imageTag>${project.version}</imageTag>
168 <imageTag>latest</imageTag>
170 <serverId>${onap.nexus.dockerregistry.daily}</serverId>
174 <groupId>org.codehaus.mojo</groupId>
175 <artifactId>build-helper-maven-plugin</artifactId>
176 <version>1.9.1</version>
180 <phase>generate-sources</phase>
182 <goal>add-source</goal>
186 <source>src/gen/java</source>
191 <id>regex-property</id>
193 <goal>regex-property</goal>
196 <name>docker.version</name>
197 <value>${project.version}</value>
198 <regex>(^[0-9]+.[0-9]+.[0-9]+$)</regex>
199 <replacement>$1-STAGING</replacement>
200 <failIfNoMatch>false</failIfNoMatch>
210 <id>spring-releases</id>
211 <url>https://repo.spring.io/libs-release</url>
216 <id>spring-releases</id>
217 <url>https://repo.spring.io/libs-release</url>
219 </pluginRepositories>