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"
14 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
15 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
16 <modelVersion>4.0.0</modelVersion>
18 <groupId>org.onap.dcaegen2.services.mapper.vesadapter</groupId>
19 <artifactId>UniversalVesAdapter</artifactId>
20 <version>0.0.1</version>
24 <groupId>org.onap.dcaegen2.services.mapper</groupId>
25 <artifactId>mapper</artifactId>
26 <version>0.0.1-SNAPSHOT</version>
31 <groupId>com.google.guava</groupId>
32 <artifactId>guava</artifactId>
33 <version>25.1-jre</version>
37 <groupId>com.google.code.gson</groupId>
38 <artifactId>gson</artifactId>
39 <version>2.8.5</version>
43 <groupId>com.google.inject</groupId>
44 <artifactId>guice</artifactId>
45 <version>4.2.0</version>
49 <groupId>org.apache.commons</groupId>
50 <artifactId>commons-lang3</artifactId>
51 <version>3.5</version>
54 <groupId>com.google.inject.extensions</groupId>
55 <artifactId>guice-assistedinject</artifactId>
56 <version>4.2.0</version>
59 <groupId>org.milyn</groupId>
60 <artifactId>milyn-smooks-all</artifactId>
61 <version>1.7.0</version>
64 <groupId>javax.servlet</groupId>
65 <artifactId>servlet-api</artifactId>
70 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
71 <artifactId>dmaapClient</artifactId>
72 <version>1.1.3</version>
74 <!-- Database dependency -->
76 <groupId>org.postgresql</groupId>
77 <artifactId>postgresql</artifactId>
78 <version>42.2.4</version>
82 <groupId>org.springframework</groupId>
83 <artifactId>spring-jdbc</artifactId>
84 <version>5.0.7.RELEASE</version>
87 <groupId>org.springframework.boot</groupId>
88 <artifactId>spring-boot-starter-web</artifactId>
89 <version>2.0.3.RELEASE</version>
92 <groupId>org.springframework.boot</groupId>
93 <artifactId>spring-boot-starter-test</artifactId>
94 <version>2.0.3.RELEASE</version>
98 <groupId>org.springframework.data</groupId>
99 <artifactId>spring-data-commons</artifactId>
100 <version>2.0.6.RELEASE</version>
104 <groupId>com.jayway.jsonpath</groupId>
105 <artifactId>json-path</artifactId>
106 <version>2.4.0</version>
111 <groupId>com.fasterxml.jackson.core</groupId>
112 <artifactId>jackson-databind</artifactId>
113 <version>2.9.5</version>
118 <groupId>hsqldb</groupId>
119 <artifactId>hsqldb</artifactId>
120 <version>1.8.0.10</version>
124 <!-- https://mvnrepository.com/artifact/xalan/xalan -->
126 <groupId>xalan</groupId>
127 <artifactId>xalan</artifactId>
128 <version>2.7.2</version>
131 <!-- https://mvnrepository.com/artifact/xerces/xercesImpl -->
133 <groupId>xerces</groupId>
134 <artifactId>xercesImpl</artifactId>
135 <version>2.11.0-atlassian-01</version>
138 <!-- https://mvnrepository.com/artifact/com.thoughtworks.xstream/xstream -->
140 <groupId>com.thoughtworks.xstream</groupId>
141 <artifactId>xstream</artifactId>
142 <version>1.4.10</version>
144 <!-- https://mvnrepository.com/artifact/xml-apis/xml-apis -->
146 <groupId>xml-apis</groupId>
147 <artifactId>xml-apis</artifactId>
148 <version>1.4.01</version>
152 <groupId>org.apache.httpcomponents</groupId>
153 <artifactId>httpclient</artifactId>
154 <version>${httpclient.version}</version>
155 <scope>compile</scope>
159 <groupId>org.apache.httpcomponents</groupId>
160 <artifactId>httpmime</artifactId>
161 <version>${httpclient.version}</version>
162 <scope>compile</scope>
164 <!-- <dependency> <groupId>org.onap.aai.event-client</groupId> <artifactId>event-client-dmaap</artifactId>
165 <version>1.2.0</version> </dependency> -->
168 <groupId>org.springframework.boot</groupId>
169 <artifactId>spring-boot-configuration-processor</artifactId>
170 <optional>true</optional>
171 <version>2.0.4.RELEASE</version>
176 <java.version>1.8</java.version>
183 <groupId>org.apache.maven.plugins</groupId>
184 <artifactId>maven-surefire-plugin</artifactId>
186 <reuseForks>false</reuseForks>
187 <forkCount>1</forkCount>
191 <groupId>org.springframework.boot</groupId>
192 <artifactId>spring-boot-maven-plugin</artifactId>
193 <version>2.0.0.RELEASE</version>
197 <goal>repackage</goal>
200 <mainClass>org.onap.universalvesadapter.Application</mainClass>
206 <groupId>com.spotify</groupId>
207 <artifactId>docker-maven-plugin</artifactId>
208 <version>${docker.maven.version}</version>
210 <skipDockerBuild>false</skipDockerBuild>
211 <imageName>${onap.nexus.dockerregistry.daily}/onap/${project.groupId}.universalvesadaptor</imageName>
212 <baseImage>openjdk:8-jre</baseImage>
213 <entryPoint>["java", "-jar", "/opt/${project.build.finalName}.jar",
214 "server"]</entryPoint>
217 <targetPath>/opt</targetPath>
218 <directory>${project.build.directory}</directory>
219 <include>${project.build.finalName}.jar</include>
223 <expose>8080</expose>
226 <!--imageTag>${project.version}-SNAPSHOT-${maven.build.timestamp}Z</imageTag -->
227 <imageTag>${project.version}</imageTag>
228 <imageTag>latest</imageTag>
230 <serverId>${onap.nexus.dockerregistry.daily}</serverId>
234 <groupId>org.codehaus.mojo</groupId>
235 <artifactId>build-helper-maven-plugin</artifactId>
236 <version>1.9.1</version>
240 <phase>generate-sources</phase>
242 <goal>add-source</goal>
246 <source>src/gen/java</source>
250 <!-- <execution> <id>regex-property</id> <goals> <goal>regex-property</goal>
251 </goals> <configuration> <name>docker.version</name> <value>${project.version}</value>
252 <regex>(^[0-9]+.[0-9]+.[0-9]+$)</regex> <replacement>$1-STAGING</replacement>
253 <failIfNoMatch>false</failIfNoMatch> </configuration> </execution> -->
257 <finalName>UniversalVesAdapter</finalName>
262 <id>spring-releases</id>
263 <url>https://repo.spring.io/libs-release</url>
268 <id>spring-releases</id>
269 <url>https://repo.spring.io/libs-release</url>
271 </pluginRepositories>