eb3104c935cb0d48ca02a1dc8db200f58180da81
[sdc.git] / common-be-tests-utils / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0"
2     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4     <modelVersion>4.0.0</modelVersion>
5
6     <groupId>org.openecomp.sdc.be</groupId>
7     <artifactId>common-be-tests-utils</artifactId>
8
9     <parent>
10         <groupId>org.openecomp.sdc</groupId>
11         <artifactId>sdc-main</artifactId>
12         <version>1.12.4-SNAPSHOT</version>
13     </parent>
14
15     <dependencies>
16
17         <dependency>
18             <groupId>com.fasterxml.jackson.core</groupId>
19             <artifactId>jackson-core</artifactId>
20             <version>${jackson.version}</version>
21         </dependency>
22         <dependency>
23             <groupId>io.minio</groupId>
24             <artifactId>minio</artifactId>
25             <version>${minio.version}</version>
26             <exclusions>
27                 <exclusion>
28                     <groupId>com.squareup.okhttp3</groupId>
29                     <artifactId>okhttp</artifactId>
30                 </exclusion>
31                 <exclusion>
32                     <groupId>com.fasterxml.jackson.core</groupId>
33                     <artifactId>jackson-annotations</artifactId>
34                 </exclusion>
35             </exclusions>
36         </dependency>
37         <dependency>
38             <groupId>com.squareup.okhttp3</groupId>
39             <artifactId>okhttp</artifactId>
40             <version>${okhttp.version}</version>
41         </dependency>
42
43         <!-- Common of SD&C -->
44         <dependency>
45             <groupId>org.eclipse.jetty</groupId>
46             <artifactId>jetty-server</artifactId>
47             <version>${jetty.version}</version>
48             <scope>compile</scope>
49             <exclusions>
50                 <exclusion>
51                     <groupId>org.eclipse.jetty</groupId>
52                     <artifactId>jetty-http</artifactId>
53                 </exclusion>
54                 <exclusion>
55                     <groupId>javax.servlet</groupId>
56                     <artifactId>javax.servlet-api</artifactId>
57                 </exclusion>
58             </exclusions>
59         </dependency>
60         <dependency>
61             <groupId>org.eclipse.jetty</groupId>
62             <artifactId>jetty-servlet</artifactId>
63             <version>${jetty.version}</version>
64             <scope>compile</scope>
65             <exclusions>
66                 <exclusion>
67                     <groupId>org.eclipse.jetty</groupId>
68                     <artifactId>jetty-security</artifactId>
69                 </exclusion>
70             </exclusions>
71         </dependency>
72         <dependency>
73             <groupId>org.openecomp.sdc</groupId>
74             <artifactId>common-app-api</artifactId>
75             <version>${project.version}</version>
76             <exclusions>
77                 <exclusion>
78                     <groupId>com.fasterxml.jackson.core</groupId>
79                     <artifactId>jackson-core</artifactId>
80                 </exclusion>
81                 <exclusion>
82                     <groupId>commons-codec</groupId>
83                     <artifactId>commons-codec</artifactId>
84                 </exclusion>
85                 <exclusion>
86                     <groupId>org.apache.httpcomponents</groupId>
87                     <artifactId>httpcore</artifactId>
88                 </exclusion>
89                 <exclusion>
90                     <groupId>org.functionaljava</groupId>
91                     <artifactId>functionaljava</artifactId>
92                 </exclusion>
93             </exclusions>
94         </dependency>
95
96         <dependency>
97             <groupId>org.apache.commons</groupId>
98             <artifactId>commons-lang3</artifactId>
99             <version>${lang3.version}</version>
100             <scope>provided</scope>
101         </dependency>
102
103         <dependency>
104             <groupId>ch.qos.logback</groupId>
105             <artifactId>logback-classic</artifactId>
106             <version>${logback.version}</version>
107             <scope>provided</scope>
108         </dependency>
109
110         <dependency>
111             <groupId>com.google.guava</groupId>
112             <artifactId>guava</artifactId>
113             <version>${guava.version}</version>
114             <scope>provided</scope>
115         </dependency>
116
117         <dependency>
118             <groupId>com.fasterxml.jackson.core</groupId>
119             <artifactId>jackson-databind</artifactId>
120             <version>${jackson.version}</version>
121             <scope>provided</scope>
122             <exclusions>
123                 <exclusion>
124                     <groupId>com.fasterxml.jackson.core</groupId>
125                     <artifactId>jackson-core</artifactId>
126                 </exclusion>
127             </exclusions>
128         </dependency>
129
130         <dependency>
131             <groupId>org.bouncycastle</groupId>
132             <artifactId>bcpkix-jdk15on</artifactId>
133             <version>${bouncycastle.version}</version>
134             <scope>compile</scope>
135         </dependency>
136
137         <dependency>
138             <groupId>org.hamcrest</groupId>
139             <artifactId>hamcrest</artifactId>
140             <version>${hamcrest.version}</version>
141             <scope>test</scope>
142         </dependency>
143         <dependency>
144             <groupId>org.hamcrest</groupId>
145             <artifactId>hamcrest-library</artifactId>
146             <version>${hamcrest.version}</version>
147             <scope>test</scope>
148         </dependency>
149         <dependency>
150             <groupId>org.junit.jupiter</groupId>
151             <artifactId>junit-jupiter</artifactId>
152             <version>${junitJupiter.version}</version>
153             <scope>test</scope>
154         </dependency>
155         <dependency>
156             <groupId>org.mockito</groupId>
157             <artifactId>mockito-junit-jupiter</artifactId>
158             <version>${mockitoJupiter.version}</version>
159             <scope>test</scope>
160         </dependency>
161         <dependency>
162             <groupId>org.onap.sdc.common</groupId>
163             <artifactId>onap-tosca-datatype</artifactId>
164             <version>${tosca.datatype.version}</version>
165             <exclusions>
166                 <exclusion>
167                     <groupId>com.fasterxml.jackson.core</groupId>
168                     <artifactId>jackson-core</artifactId>
169                 </exclusion>
170             </exclusions>
171         </dependency>
172         <dependency>
173             <groupId>org.projectlombok</groupId>
174             <artifactId>lombok</artifactId>
175             <version>${lombok.version}</version>
176         </dependency>
177         <dependency>
178             <groupId>com.google.code.bean-matchers</groupId>
179             <artifactId>bean-matchers</artifactId>
180             <version>${bean-matchers.version}</version>
181             <scope>test</scope>
182         </dependency>
183
184         <!-- Togglz core module (mandatory) -->
185         <dependency>
186             <groupId>org.togglz</groupId>
187             <artifactId>togglz-core</artifactId>
188             <version>${togglz.version}</version>
189         </dependency>
190
191         <!-- Togglz for Servlet environments (mandatory for webapps) -->
192         <dependency>
193             <groupId>org.togglz</groupId>
194             <artifactId>togglz-servlet</artifactId>
195             <version>${togglz.version}</version>
196         </dependency>
197
198         <!-- Togglz Admin Console -->
199         <dependency>
200             <groupId>org.togglz</groupId>
201             <artifactId>togglz-console</artifactId>
202             <version>${togglz.version}</version>
203         </dependency>
204
205         <!-- Togglz for testing -->
206         <dependency>
207             <groupId>org.togglz</groupId>
208             <artifactId>togglz-testing</artifactId>
209             <version>${togglz.version}</version>
210             <scope>test</scope>
211         </dependency>
212         <dependency>
213             <groupId>org.springframework</groupId>
214             <artifactId>spring-context</artifactId>
215             <version>${spring.version}</version>
216             <scope>compile</scope>
217             <exclusions>
218                 <exclusion>
219                     <groupId>org.springframework</groupId>
220                     <artifactId>spring-expression</artifactId>
221                 </exclusion>
222                 <exclusion>
223                     <groupId>org.springframework</groupId>
224                     <artifactId>spring-core</artifactId>
225                 </exclusion>
226             </exclusions>
227         </dependency>
228         <dependency>
229             <groupId>org.springframework</groupId>
230             <artifactId>spring-core</artifactId>
231             <version>${spring.version}</version>
232         </dependency>
233         <dependency>
234             <groupId>org.apache.cxf</groupId>
235             <artifactId>cxf-rt-frontend-jaxrs</artifactId>
236             <version>${cxf.version}</version>
237             <exclusions>
238                 <exclusion>
239                     <groupId>org.jboss.spec.javax.rmi</groupId>
240                     <artifactId>jboss-rmi-api_1.0_spec</artifactId>
241                 </exclusion>
242             </exclusions>
243         </dependency>
244         <dependency>
245             <groupId>org.openecomp.sdc.core</groupId>
246             <artifactId>openecomp-common-lib</artifactId>
247             <version>${project.version}</version>
248         </dependency>
249     </dependencies>
250
251     <build>
252         <plugins>
253             <plugin>
254                 <groupId>org.apache.maven.plugins</groupId>
255                 <artifactId>maven-jar-plugin</artifactId>
256                 <executions>
257                     <execution>
258                         <id>default-jar</id>
259                         <phase>package</phase>
260                         <goals>
261                             <goal>jar</goal>
262                         </goals>
263                     </execution>
264                 </executions>
265             </plugin>
266             <plugin>
267                 <groupId>com.github.sylvainlaurent.maven</groupId>
268                 <artifactId>yaml-json-validator-maven-plugin</artifactId>
269                 <executions>
270                     <execution>
271                         <id>validate</id>
272                         <phase>validate</phase>
273                         <goals>
274                             <goal>validate</goal>
275                         </goals>
276                         <configuration>
277                             <validationSets>
278                                 <validationSet>
279                                     <includes>
280                                         <include>src/main/resources/**/*.y*ml</include>
281                                         <include>src/test/resources/**/*.y*ml</include>
282                                     </includes>
283                                 </validationSet>
284                                 <validationSet>
285                                     <includes>
286                                         <include>src/main/resources/**/*.json</include>
287                                         <include>src/test/resources/**/*.json</include>
288                                     </includes>
289                                 </validationSet>
290                             </validationSets>
291                             <skip>${skipYamlJsonValidator}</skip>
292                         </configuration>
293                     </execution>
294                 </executions>
295             </plugin>
296         </plugins>
297     </build>
298
299 </project>