Switch version to 5.0.11 in pom
[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     <dependency>
69       <groupId>com.fasterxml.jackson.core</groupId>
70       <artifactId>jackson-core</artifactId>
71     <version>2.9.8</version>
72         </dependency>
73         <dependency>
74           <groupId>com.fasterxml.jackson.core</groupId>
75           <artifactId>jackson-databind</artifactId>
76     <version>2.9.8</version>
77         </dependency>
78 <!-- https://mvnrepository.com/artifact/javax.json/javax.json-api -->
79 <dependency>
80     <groupId>javax.json</groupId>
81     <artifactId>javax.json-api</artifactId>
82     <version>1.1.2</version>
83     </dependency>
84
85         <dependency>
86       <groupId>org.springframework.boot</groupId>
87       <artifactId>spring-boot-starter-web</artifactId>
88         <version>2.0.4.RELEASE</version>
89     </dependency>
90     <dependency>
91      <groupId>org.postgresql</groupId>
92      <artifactId>postgresql</artifactId>
93         <version>42.2.5</version>
94      </dependency>
95     <dependency>
96       <groupId>org.springframework.boot</groupId>
97       <artifactId>spring-boot-starter-data-jpa</artifactId>
98         <version>2.0.4.RELEASE</version>
99     </dependency>
100 <dependency>
101     <groupId>org.springframework.data</groupId>
102     <artifactId>spring-data-commons-core</artifactId>
103     <version>1.4.0.RELEASE</version>
104 </dependency>
105
106
107     <dependency>
108         <groupId>org.hibernate.javax.persistence</groupId>
109         <artifactId>hibernate-jpa-2.0-api</artifactId>
110         <version>1.0.1.Final</version>
111     </dependency>
112 <!-- https://mvnrepository.com/artifact/org.springframework/spring-beans -->
113 <dependency>
114     <groupId>org.springframework</groupId>
115     <artifactId>spring-beans</artifactId>
116     <version>5.0.11.RELEASE</version>
117 </dependency>
118
119    <dependency>
120                 <groupId>org.springframework.boot</groupId>
121                 <artifactId>spring-boot-starter-test</artifactId>
122 <version>2.0.4.RELEASE</version>
123                 <scope>test</scope>
124                 <!-- exclusions>
125         <exclusion> 
126           <groupId>org.mockito</groupId>
127           <artifactId>mockito-core</artifactId>
128         </exclusion>
129       </exclusions--> 
130         </dependency>
131         <!-- https://mvnrepository.com/artifact/org.mockito/mockito-core -->
132         
133 <dependency>
134     <groupId>org.mockito</groupId>
135     <artifactId>mockito-core</artifactId>
136     <version>1.10.16</version>
137     <scope>test</scope>
138 </dependency>
139         
140                 
141 <dependency>
142       <groupId>junit</groupId>
143       <artifactId>junit</artifactId>
144       <version>4.12</version>
145       <scope>test</scope>
146     </dependency>
147     <!-- https://mvnrepository.com/artifact/org.powermock/powermock-module-junit4 -->
148 <!-- https://mvnrepository.com/artifact/org.powermock/powermock-api-mockito -->
149 <dependency>
150     <groupId>org.powermock</groupId>
151     <artifactId>powermock-api-mockito</artifactId>
152     <version>1.6.4</version>
153     <scope>test</scope>
154 </dependency>
155 <!-- https://mvnrepository.com/artifact/org.powermock/powermock-module-junit4 -->
156 <dependency>
157     <groupId>org.powermock</groupId>
158     <artifactId>powermock-module-junit4</artifactId>
159     <version>1.6.4</version>
160     <scope>test</scope>
161 </dependency>
162
163 <dependency>
164     <groupId>org.functionaljava</groupId>
165     <artifactId>functionaljava</artifactId>
166     <version>3.0</version>
167 </dependency>
168
169     
170   </dependencies>
171
172   <build>
173     <plugins>
174             <plugin>
175                 <artifactId>maven-checkstyle-plugin</artifactId>
176                 <executions>
177                     <execution>
178                         <id>onap-java-style</id>
179                         <goals>
180                             <goal>check</goal>
181                         </goals>
182                         <phase>process-sources</phase>
183                         <configuration>
184                             <!-- Use Google Java Style Guide:
185                             https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
186                             with minor changes -->
187                             <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
188                             <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
189                             <sourceDirectories>
190                                 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
191                             </sourceDirectories>
192                             <includeResources>true</includeResources>
193                             <includeTestSourceDirectory>false</includeTestSourceDirectory>
194                             <includeTestResources>false</includeTestResources>
195                             <excludes>
196                             </excludes>
197                             <consoleOutput>true</consoleOutput>
198                             <failsOnViolation>false</failsOnViolation>
199                             <violationSeverity>warning</violationSeverity>
200                         </configuration>
201                     </execution>
202                 </executions>
203                 <dependencies>
204                     <dependency>
205                         <groupId>org.onap.oparent</groupId>
206                         <artifactId>checkstyle</artifactId>
207                         <version>1.2.3-SNAPSHOT</version>
208                         <scope>compile</scope>
209                     </dependency>
210                 </dependencies>
211             </plugin>
212                 <!--plugin>
213                     <groupId>org.eclipse.m2e</groupId>
214                     <artifactId>lifecycle-mapping</artifactId>
215                     <configuration>
216                         <lifecycleMappingMetadata>
217                             <pluginExecutions>
218                                 <pluginExecution>
219                                     <pluginExecutionFilter>
220                                         <groupId>org.apache.maven.plugins</groupId>
221                                         <artifactId>maven-checkstyle-plugin</artifactId>
222                                         <versionRange>2.17,)</versionRange>
223                                         <goals>
224                                             <goal>check</goal>
225                                         </goals>
226                                     </pluginExecutionFilter>
227                                     <action>
228                                         <ignore />
229                                     </action>
230                                 </pluginExecution>
231                             </pluginExecutions>
232                         </lifecycleMappingMetadata>
233                     </configuration>
234                 </plugin-->
235                 <plugin>
236                         <groupId>org.springframework.boot</groupId>
237                         <artifactId>spring-boot-maven-plugin</artifactId>
238                         <version>2.0.4.RELEASE</version>
239                         <executions>
240                                 <execution>
241                                         <goals>
242                                                 <goal>repackage</goal>
243                                         </goals>
244                                 </execution>
245                         </executions>
246                 </plugin>
247         </plugins>
248   </build>
249 </project>
250
251