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