Fix spotify config
[dcaegen2/services/mapper.git] / UniversalVesAdapter / pom.xml
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>
16
17         <groupId>org.onap.dcaegen2.services.mapper.vesadapter</groupId>
18         <artifactId>UniversalVesAdapter</artifactId>
19         <version>0.0.1</version>
20
21         <parent>
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>
27         </parent>
28
29         <dependencies>
30                 <dependency>
31                         <groupId>org.milyn</groupId>
32                         <artifactId>milyn-smooks-all</artifactId>
33                         <version>1.7.0</version>
34                         <exclusions>
35                                 <exclusion>
36                                         <groupId>javax.servlet</groupId>
37                                         <artifactId>servlet-api</artifactId>
38                                 </exclusion>
39                         </exclusions>
40                 </dependency>
41                 <dependency>
42                         <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
43                         <artifactId>dmaapClient</artifactId>
44                         <version>1.1.3</version>
45                 </dependency>
46
47
48                 <dependency>
49                         <groupId>org.springframework.boot</groupId>
50                         <artifactId>spring-boot-starter-web</artifactId>
51                         <version>2.0.1.RELEASE</version>
52                 </dependency>
53                 <dependency>
54                         <groupId>org.springframework.boot</groupId>
55                         <artifactId>spring-boot-starter-test</artifactId>
56                         <version>2.0.1.RELEASE</version>
57                         <scope>test</scope>
58                 </dependency>
59                 <dependency>
60                         <groupId>com.jayway.jsonpath</groupId>
61                         <artifactId>json-path</artifactId>
62                         <version>2.4.0</version>
63                         <scope>test</scope>
64                 </dependency>
65                 <dependency>
66                         <groupId>org.springframework.data</groupId>
67                         <artifactId>spring-data-commons</artifactId>
68                         <version>2.0.6.RELEASE</version>
69                 </dependency>
70                 <dependency>
71                         <groupId>com.fasterxml.jackson.core</groupId>
72                         <artifactId>jackson-databind</artifactId>
73                         <version>2.9.5</version>
74                 </dependency>
75
76
77                 <dependency>
78                         <groupId>hsqldb</groupId>
79                         <artifactId>hsqldb</artifactId>
80                         <version>1.8.0.10</version>
81                         <scope>test</scope>
82                 </dependency>
83
84                 <!-- https://mvnrepository.com/artifact/xalan/xalan -->
85                 <dependency>
86                         <groupId>xalan</groupId>
87                         <artifactId>xalan</artifactId>
88                         <version>2.7.2</version>
89                 </dependency>
90
91                 <!-- https://mvnrepository.com/artifact/xerces/xercesImpl -->
92                 <dependency>
93                         <groupId>xerces</groupId>
94                         <artifactId>xercesImpl</artifactId>
95                         <version>2.11.0-atlassian-01</version>
96                 </dependency>
97
98                 <!-- https://mvnrepository.com/artifact/com.thoughtworks.xstream/xstream -->
99                 <dependency>
100                         <groupId>com.thoughtworks.xstream</groupId>
101                         <artifactId>xstream</artifactId>
102                         <version>1.4.10</version>
103                 </dependency>
104                 <!-- https://mvnrepository.com/artifact/xml-apis/xml-apis -->
105                 <dependency>
106                         <groupId>xml-apis</groupId>
107                         <artifactId>xml-apis</artifactId>
108                         <version>1.4.01</version>
109                 </dependency>
110
111
112
113         </dependencies>
114
115         <properties>
116                 <java.version>1.8</java.version>
117         </properties>
118
119
120         <build>
121                 <plugins>
122                         <plugin>
123                                 <groupId>org.apache.maven.plugins</groupId>
124                                 <artifactId>maven-surefire-plugin</artifactId>
125                                 <configuration>
126                                         <reuseForks>false</reuseForks>
127                                         <forkCount>1</forkCount>
128                                 </configuration>
129                         </plugin>
130                         <plugin>
131                                 <groupId>org.springframework.boot</groupId>
132                                 <artifactId>spring-boot-maven-plugin</artifactId>
133                                 <version>2.0.0.RELEASE</version>
134                                 <executions>
135                                         <execution>
136                                                 <goals>
137                                                         <goal>repackage</goal>
138                                                 </goals>
139                                                 <configuration>
140                                                         <mainClass>org.onap.universalvesadapter.Application</mainClass>
141                                                 </configuration>
142                                         </execution>
143                                 </executions>
144                         </plugin>
145                         <plugin>
146                                 <groupId>com.spotify</groupId>
147                                 <artifactId>docker-maven-plugin</artifactId>
148                                 <version>${docker.maven.version}</version>
149                                 <configuration>
150                                         <skipDockerBuild>false</skipDockerBuild>
151                                         <imageName>${onap.nexus.dockerregistry.daily}/onap/${project.groupId}.universalvesadaptor</imageName>
152                                         <baseImage>openjdk:8-jre</baseImage>
153                                         <entryPoint>["java", "-jar", "/opt/${project.build.finalName}.jar", "server"]</entryPoint>
154                                         <resources>
155                                                 <resource>
156                                                         <targetPath>/opt</targetPath>
157                                                         <directory>${project.build.directory}</directory>
158                                                         <include>${project.build.finalName}.jar</include>
159                                                 </resource>
160                                         </resources>
161                                         <exposes>
162                                                 <expose>8080</expose>
163                                         </exposes>
164                                         <imageTags>
165                                                 <imageTag>${project.version}-SNAPSHOT-${maven.build.timestamp}Z</imageTag>
166                                                 <imageTag>${project.version}</imageTag>
167                                                 <imageTag>latest</imageTag>
168                                         </imageTags>
169                                         <serverId>${onap.nexus.dockerregistry.daily}</serverId>
170                                 </configuration>
171                         </plugin>
172                         <plugin>
173                                 <groupId>org.codehaus.mojo</groupId>
174                                 <artifactId>build-helper-maven-plugin</artifactId>
175                                 <version>1.9.1</version>
176                                 <executions>
177                                         <execution>
178                                                 <id>add-source</id>
179                                                 <phase>generate-sources</phase>
180                                                 <goals>
181                                                         <goal>add-source</goal>
182                                                 </goals>
183                                                 <configuration>
184                                                         <sources>
185                                                                 <source>src/gen/java</source>
186                                                         </sources>
187                                                 </configuration>
188                                         </execution>
189                                         <execution>
190                                                 <id>regex-property</id>
191                                                 <goals>
192                                                         <goal>regex-property</goal>
193                                                 </goals>
194                                                 <configuration>
195                                                         <name>docker.version</name>
196                                                         <value>${project.version}</value>
197                                                         <regex>(^[0-9]+.[0-9]+.[0-9]+$)</regex>
198                                                         <replacement>$1-STAGING</replacement>
199                                                         <failIfNoMatch>false</failIfNoMatch>
200                                                 </configuration>
201                                         </execution>
202                                 </executions>
203                         </plugin>
204                 </plugins>
205         </build>
206
207         <repositories>
208                 <repository>
209                         <id>spring-releases</id>
210                         <url>https://repo.spring.io/libs-release</url>
211                 </repository>
212         </repositories>
213         <pluginRepositories>
214                 <pluginRepository>
215                         <id>spring-releases</id>
216                         <url>https://repo.spring.io/libs-release</url>
217                 </pluginRepository>
218         </pluginRepositories>
219 </project>