Security issue and FileNotFound Exception
[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}.${project.artifactId}</imageName>
152                                         <baseImage>openjdk:8-jre</baseImage>
153                                         <entryPoint>["java", "-jar", "/opt/${project.build.finalName}.jar",
154                                                 "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>