Version change for security fix
[dcaegen2/services/son-handler.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4   pcims
5    ================================================================================
6    Copyright (C) 2019 Wipro Limited.
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   <groupId>org.onap.dcaegen2.services.son-handler</groupId>
25   <artifactId>son-handler</artifactId>
26   <name>dcaegen2-services-son-handler</name>
27   <version>1.0.0-SNAPSHOT</version>
28
29   <!--parent>
30                 <groupId>org.springframework.boot</groupId>
31                 <artifactId>spring-boot-starter-parent</artifactId>
32                 <version>2.0.4.RELEASE</version>
33   </parent-->
34         
35   <parent>
36     <groupId>org.onap.oparent</groupId>
37     <artifactId>oparent</artifactId>
38     <version>1.2.1</version>
39     <relativePath/>
40   </parent>
41
42
43   <properties>
44     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
45     <maven.compiler.source>1.8</maven.compiler.source>
46     <maven.compiler.target>1.8</maven.compiler.target>
47   </properties>
48
49   <dependencies>
50   <dependency>
51         <!-- Import dependency management from Spring Boot -->
52         <groupId>org.springframework.boot</groupId>
53         <artifactId>spring-boot-dependencies</artifactId>
54         <version>2.0.4.RELEASE</version>
55         <type>pom</type>
56         <scope>import</scope>
57       </dependency>
58         <dependency>
59           <groupId>com.att.nsa</groupId>
60           <artifactId>cambriaClient</artifactId>
61           <version>0.0.1</version>
62         </dependency>
63     <dependency>
64       <groupId>junit</groupId>
65       <artifactId>junit</artifactId>
66       <scope>test</scope>
67     </dependency>
68
69 <!-- https://mvnrepository.com/artifact/javax.json/javax.json-api -->
70 <dependency>
71     <groupId>javax.json</groupId>
72     <artifactId>javax.json-api</artifactId>
73     <version>1.1.2</version>
74     </dependency>
75
76         <dependency>
77       <groupId>org.springframework.boot</groupId>
78       <artifactId>spring-boot-starter-web</artifactId>
79                 <version>2.0.4.RELEASE</version>
80                 <exclusions>
81                 <exclusion> 
82                         <groupId>com.fasterxml.jackson.core</groupId>
83                         <artifactId>jackson-databind</artifactId>
84                 </exclusion>
85                 <exclusion> 
86                         <groupId>com.fasterxml.jackson.datatype</groupId>
87                         <artifactId>jackson-datatype-jsr310</artifactId>
88                 </exclusion>
89                 <exclusion> 
90                         <groupId>org.springframework</groupId>
91                         <artifactId>spring-web</artifactId>
92                 </exclusion>
93         </exclusions> 
94     </dependency>
95     <dependency>
96      <groupId>org.postgresql</groupId>
97      <artifactId>postgresql</artifactId>
98         <version>42.2.5</version>
99      </dependency>
100     <dependency>
101       <groupId>org.springframework.boot</groupId>
102       <artifactId>spring-boot-starter-data-jpa</artifactId>
103                 <version>2.0.4.RELEASE</version>
104     </dependency>
105     <dependency>
106         <groupId>com.fasterxml.jackson.datatype</groupId>
107         <artifactId>jackson-datatype-jsr310</artifactId>
108         <version>2.9.8</version>
109     </dependency>
110     <dependency>
111         <groupId>com.fasterxml.jackson.core</groupId>
112         <artifactId>jackson-databind</artifactId>
113         <version>2.9.8</version>
114     </dependency>
115     <dependency>
116         <groupId>org.springframework</groupId>
117         <artifactId>spring-web</artifactId>
118         <version>5.0.11.RELEASE</version>
119     </dependency>
120 <dependency>
121     <groupId>org.springframework.data</groupId>
122     <artifactId>spring-data-commons-core</artifactId>
123     <version>1.4.1.RELEASE</version>
124 </dependency>
125
126
127     <dependency>
128         <groupId>org.hibernate.javax.persistence</groupId>
129         <artifactId>hibernate-jpa-2.0-api</artifactId>
130         <version>1.0.1.Final</version>
131     </dependency>
132 <!-- https://mvnrepository.com/artifact/org.springframework/spring-beans -->
133 <dependency>
134     <groupId>org.springframework</groupId>
135     <artifactId>spring-beans</artifactId>
136     <version>5.0.11.RELEASE</version>
137 </dependency>
138
139    <dependency>
140                 <groupId>org.springframework.boot</groupId>
141                 <artifactId>spring-boot-starter-test</artifactId>
142 <version>2.0.4.RELEASE</version>
143                 <scope>test</scope>
144                 <!-- exclusions>
145         <exclusion> 
146           <groupId>org.mockito</groupId>
147           <artifactId>mockito-core</artifactId>
148         </exclusion>
149       </exclusions--> 
150         </dependency>
151         <!-- https://mvnrepository.com/artifact/org.mockito/mockito-core -->
152         
153 <dependency>
154     <groupId>org.mockito</groupId>
155     <artifactId>mockito-core</artifactId>
156     <version>1.10.16</version>
157     <scope>test</scope>
158 </dependency>
159         
160                 
161 <dependency>
162       <groupId>junit</groupId>
163       <artifactId>junit</artifactId>
164       <version>4.12</version>
165       <scope>test</scope>
166     </dependency>
167     <!-- https://mvnrepository.com/artifact/org.powermock/powermock-module-junit4 -->
168 <!-- https://mvnrepository.com/artifact/org.powermock/powermock-api-mockito -->
169 <dependency>
170     <groupId>org.powermock</groupId>
171     <artifactId>powermock-api-mockito</artifactId>
172     <version>1.6.4</version>
173     <scope>test</scope>
174 </dependency>
175 <!-- https://mvnrepository.com/artifact/org.powermock/powermock-module-junit4 -->
176 <dependency>
177     <groupId>org.powermock</groupId>
178     <artifactId>powermock-module-junit4</artifactId>
179     <version>1.6.4</version>
180     <scope>test</scope>
181 </dependency>
182
183 <dependency>
184     <groupId>org.functionaljava</groupId>
185     <artifactId>functionaljava</artifactId>
186     <version>3.0</version>
187 </dependency>
188
189     
190   </dependencies>
191
192   <build>
193     <plugins>
194             <plugin>
195                 <artifactId>maven-checkstyle-plugin</artifactId>
196                 <executions>
197                     <execution>
198                         <id>onap-java-style</id>
199                         <goals>
200                             <goal>check</goal>
201                         </goals>
202                         <phase>process-sources</phase>
203                         <configuration>
204                             <!-- Use Google Java Style Guide:
205                             https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
206                             with minor changes -->
207                             <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
208                             <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
209                             <sourceDirectories>
210                                 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
211                             </sourceDirectories>
212                             <includeResources>true</includeResources>
213                             <includeTestSourceDirectory>false</includeTestSourceDirectory>
214                             <includeTestResources>false</includeTestResources>
215                             <excludes>
216                             </excludes>
217                             <consoleOutput>true</consoleOutput>
218                             <failsOnViolation>false</failsOnViolation>
219                             <violationSeverity>warning</violationSeverity>
220                         </configuration>
221                     </execution>
222                 </executions>
223                 <dependencies>
224                     <dependency>
225                         <groupId>org.onap.oparent</groupId>
226                         <artifactId>checkstyle</artifactId>
227                         <version>1.2.3-SNAPSHOT</version>
228                         <scope>compile</scope>
229                     </dependency>
230                 </dependencies>
231             </plugin>
232                 <!--plugin>
233                     <groupId>org.eclipse.m2e</groupId>
234                     <artifactId>lifecycle-mapping</artifactId>
235                     <configuration>
236                         <lifecycleMappingMetadata>
237                             <pluginExecutions>
238                                 <pluginExecution>
239                                     <pluginExecutionFilter>
240                                         <groupId>org.apache.maven.plugins</groupId>
241                                         <artifactId>maven-checkstyle-plugin</artifactId>
242                                         <versionRange>2.17,)</versionRange>
243                                         <goals>
244                                             <goal>check</goal>
245                                         </goals>
246                                     </pluginExecutionFilter>
247                                     <action>
248                                         <ignore />
249                                     </action>
250                                 </pluginExecution>
251                             </pluginExecutions>
252                         </lifecycleMappingMetadata>
253                     </configuration>
254                 </plugin-->
255                 <plugin>
256                         <groupId>org.springframework.boot</groupId>
257                         <artifactId>spring-boot-maven-plugin</artifactId>
258                         <version>2.0.4.RELEASE</version>
259                         <executions>
260                                 <execution>
261                                         <goals>
262                                                 <goal>repackage</goal>
263                                         </goals>
264                                 </execution>
265                         </executions>
266                 </plugin>
267         </plugins>
268   </build>
269 </project>
270
271