2f8d63bcc46846575a911d7a11077c67c8dc4b47
[dcaegen2/services/mapper.git] / UniversalVesAdapter / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- 
3 * ============LICENSE_START=======================================================
4 * ONAP : DCAEGEN2/services/mapper
5 * ================================================================================
6 * Copyright 2018 TechMahindra
7 *=================================================================================
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
11 *
12 *     http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 * ============LICENSE_END=========================================================
20  -->
21 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23         <modelVersion>4.0.0</modelVersion>
24
25         <groupId>org.onap.dcaegen2.services.mapper.vesadapter</groupId>
26         <artifactId>UniversalVesAdapter</artifactId>
27         <version>0.0.1</version>
28
29         <parent>
30                 <!-- <groupId>org.springframework.boot</groupId>
31                 <artifactId>spring-boot-starter-parent</artifactId>
32                 <version>2.0.0.RELEASE</version> -->    
33                 <groupId>org.onap.dcaegen2.services.mapper</groupId>
34                 <artifactId>mapper</artifactId>
35                 <version>0.0.1-SNAPSHOT</version>
36         </parent>
37
38         <dependencies>
39                 <dependency>
40                         <groupId>org.milyn</groupId>
41                         <artifactId>milyn-smooks-all</artifactId>
42                         <version>1.7.0</version>
43                         <exclusions>
44                                 <exclusion>
45                                         <groupId>javax.servlet</groupId>
46                                         <artifactId>servlet-api</artifactId>
47                                 </exclusion>
48                         </exclusions>
49                 </dependency>
50                 <dependency>
51                         <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
52                         <artifactId>dmaapClient</artifactId>
53                         <version>1.1.3</version>
54                 </dependency>
55
56
57                 <dependency>
58                         <groupId>org.springframework.boot</groupId>
59                         <artifactId>spring-boot-starter-web</artifactId>
60                             <version>2.0.0.RELEASE</version>
61                 </dependency>
62                 <dependency>
63                         <groupId>org.springframework.boot</groupId>
64                         <artifactId>spring-boot-starter-test</artifactId>
65                             <version>2.0.0.RELEASE</version>
66                         <scope>test</scope>
67                 </dependency>
68                 <dependency>
69                         <groupId>com.jayway.jsonpath</groupId>
70                         <artifactId>json-path</artifactId>
71                         <version>2.4.0</version>
72                         <scope>test</scope>
73                 </dependency>
74                 <dependency>
75                         <groupId>org.springframework.data</groupId>
76                         <artifactId>spring-data-commons</artifactId>
77                         <version>2.0.5.RELEASE</version>
78                 </dependency>
79                 <dependency>
80     <groupId>com.fasterxml.jackson.core</groupId>
81     <artifactId>jackson-databind</artifactId>
82     <version>2.9.4</version>
83 </dependency>
84
85
86 <dependency>
87     <groupId>hsqldb</groupId>
88     <artifactId>hsqldb</artifactId>
89     <version>1.8.0.10</version>
90     <scope>test</scope>
91 </dependency>
92
93 <!-- https://mvnrepository.com/artifact/xalan/xalan -->
94 <dependency>
95     <groupId>xalan</groupId>
96     <artifactId>xalan</artifactId>
97     <version>2.7.2</version>
98 </dependency>
99
100 <!-- https://mvnrepository.com/artifact/xerces/xercesImpl -->
101 <dependency>
102     <groupId>xerces</groupId>
103     <artifactId>xercesImpl</artifactId>
104     <version>2.11.0-atlassian-01</version>
105 </dependency>
106
107 <!-- https://mvnrepository.com/artifact/com.thoughtworks.xstream/xstream -->
108 <dependency>
109     <groupId>com.thoughtworks.xstream</groupId>
110     <artifactId>xstream</artifactId>
111     <version>1.4.10</version>
112 </dependency> 
113 <!-- https://mvnrepository.com/artifact/xml-apis/xml-apis -->
114 <dependency>
115     <groupId>xml-apis</groupId>
116     <artifactId>xml-apis</artifactId>
117     <version>1.4.01</version>
118 </dependency>
119
120
121
122         </dependencies>
123
124         <properties>
125                 <java.version>1.8</java.version>
126         </properties>
127
128
129         <build>
130                 <plugins>
131                         <plugin>
132                                 <groupId>org.springframework.boot</groupId>
133                                 <artifactId>spring-boot-maven-plugin</artifactId>
134                                 <version>2.0.0.RELEASE</version>
135                                 <executions>
136                                         <execution>
137                                                 <goals>
138                                                         <goal>repackage</goal>
139                                                 </goals>
140                                                 <configuration>
141                                                         <mainClass>org.onap.universalvesadapter.Application</mainClass>
142                                                 </configuration>
143                                         </execution>
144                                 </executions>
145                         </plugin>
146                         <plugin>
147                 <groupId>com.spotify</groupId>
148                 <artifactId>docker-maven-plugin</artifactId>
149                 <version>${docker.maven.version}</version>
150                 <configuration>
151                     <skipDockerBuild>false</skipDockerBuild>
152                     <imageName>${onap.nexus.dockerregistry.daily}/onap/${project.groupId}.${project.artifactId}</imageName>
153                     <baseImage>openjdk:8-jre</baseImage>
154                     <entryPoint>["java", "-jar", "/opt/${project.build.finalName}.jar", "server"]</entryPoint>
155                     <resources>
156                         <resource>
157                             <targetPath>/opt</targetPath>
158                             <directory>${project.build.directory}</directory>
159                             <include>${project.build.finalName}.jar</include>
160                         </resource>
161                     </resources>
162                     <exposes>
163                         <expose>8080</expose>
164                     </exposes>
165                     <imageTags>
166                         <imageTag>${project.version}-SNAPSHOT-${maven.build.timestamp}Z</imageTag>
167                         <imageTag>${project.version}</imageTag>
168                         <imageTag>latest</imageTag>
169                     </imageTags>
170                     <serverId>${onap.nexus.dockerregistry.daily}</serverId>
171                 </configuration>
172             </plugin>
173             <plugin>
174                 <groupId>org.codehaus.mojo</groupId>
175                 <artifactId>build-helper-maven-plugin</artifactId>
176                 <version>1.9.1</version>
177                 <executions>
178                     <execution>
179                         <id>add-source</id>
180                         <phase>generate-sources</phase>
181                         <goals>
182                             <goal>add-source</goal>
183                         </goals>
184                         <configuration>
185                             <sources>
186                                 <source>src/gen/java</source>
187                             </sources>
188                         </configuration>
189                     </execution>
190                     <execution>
191                         <id>regex-property</id>
192                         <goals>
193                             <goal>regex-property</goal>
194                         </goals>
195                         <configuration>
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>
201                         </configuration>
202                     </execution>
203                 </executions>
204             </plugin>
205                 </plugins>
206         </build>
207
208         <repositories>
209                 <repository>
210                         <id>spring-releases</id>
211                         <url>https://repo.spring.io/libs-release</url>
212                 </repository>
213         </repositories>
214         <pluginRepositories>
215                 <pluginRepository>
216                         <id>spring-releases</id>
217                         <url>https://repo.spring.io/libs-release</url>
218                 </pluginRepository>
219         </pluginRepositories>
220 </project>