Fix broken Junit tests
[sdc/sdc-workflow-designer.git] / sdc-workflow-designer-be / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5
6     <modelVersion>4.0.0</modelVersion>
7
8     <artifactId>sdc-workflow-designer-be</artifactId>
9
10     <parent>
11         <groupId>org.onap.sdc.sdc-workflow-designer</groupId>
12         <artifactId>sdc-workflow-designer-parent</artifactId>
13         <version>1.11.1-SNAPSHOT</version>
14     </parent>
15
16     <properties>
17         <spring.boot.version>2.2.13.RELEASE</spring.boot.version>
18         <org.springframework.version>5.2.22.RELEASE</org.springframework.version>
19         <mapstruct.version>1.3.1.Final</mapstruct.version>
20         <lombok.version>1.18.0</lombok.version>
21         <springfox.version>3.0.0</springfox.version>
22         <jaxb.api.version>2.3.0</jaxb.api.version>
23         <org.glassfish.version>4.0.2</org.glassfish.version>
24         <mockito.version>3.7.7</mockito.version>
25         <springframework.plugin.version>2.0.0.RELEASE</springframework.plugin.version>
26         <zusammen.version>1.0.2</zusammen.version>
27         <sdc-be-common.version>1.7.1</sdc-be-common.version>
28         <junitJupiter.version>5.9.1</junitJupiter.version>
29         <junit.platform.version>1.9.0</junit.platform.version>
30     </properties>
31
32     <dependencyManagement>
33         <dependencies>
34             <dependency>
35                 <groupId>org.mockito</groupId>
36                 <artifactId>mockito-core</artifactId>
37                 <version>${mockito.version}</version>
38                 <scope>test</scope>
39             </dependency>
40             <dependency>
41                 <groupId>org.springframework.boot</groupId>
42                 <artifactId>spring-boot-dependencies</artifactId>
43                 <version>${spring.boot.version}</version>
44                 <type>pom</type>
45                 <scope>import</scope>
46             </dependency>
47         </dependencies>
48     </dependencyManagement>
49
50     <dependencies>
51         <dependency>
52             <groupId>org.glassfish</groupId>
53             <artifactId>jakarta.el</artifactId>
54             <version>${org.glassfish.version}</version>
55         </dependency>
56         <dependency>
57             <groupId>org.springframework</groupId>
58             <artifactId>spring-beans</artifactId>
59             <version>${org.springframework.version}</version>
60         </dependency>
61         <dependency>
62             <groupId>org.springframework</groupId>
63             <artifactId>spring-tx</artifactId>
64             <version>${org.springframework.version}</version>
65         </dependency>
66         <dependency>
67             <groupId>org.springframework</groupId>
68             <artifactId>spring-context</artifactId>
69             <version>${org.springframework.version}</version>
70             <exclusions>
71                 <exclusion>
72                     <groupId>org.springframework</groupId>
73                     <artifactId>spring-aop</artifactId>
74                 </exclusion>
75             </exclusions>
76         </dependency>
77         <dependency>
78             <groupId>org.springframework</groupId>
79             <artifactId>spring-webmvc</artifactId>
80             <version>${org.springframework.version}</version>
81             <exclusions>
82                 <exclusion>
83                     <groupId>org.springframework</groupId>
84                     <artifactId>spring-aop</artifactId>
85                 </exclusion>
86             </exclusions>
87         </dependency>
88         <!-- bridge jck to slf4j -->
89         <dependency>
90             <groupId>org.slf4j</groupId>
91             <artifactId>jcl-over-slf4j</artifactId>
92             <version>1.7.36</version>
93         </dependency>
94
95         <dependency>
96             <groupId>org.springframework</groupId>
97             <artifactId>spring-core</artifactId>
98             <version>${org.springframework.version}</version>
99             <exclusions>
100                 <exclusion>
101                     <groupId>org.springframework</groupId>
102                     <artifactId>spring-jcl</artifactId>
103                 </exclusion>
104             </exclusions>
105         </dependency>
106         <dependency>
107             <groupId>org.springframework</groupId>
108             <artifactId>spring-test</artifactId>
109             <version>${org.springframework.version}</version>
110             <scope>test</scope>
111         </dependency>
112         <dependency>
113             <groupId>org.springframework</groupId>
114             <artifactId>spring-jcl</artifactId>
115             <version>${org.springframework.version}</version>
116             <scope>test</scope>
117         </dependency>
118         <dependency>
119             <groupId>org.springframework</groupId>
120             <artifactId>spring-aop</artifactId>
121             <version>${org.springframework.version}</version>
122         </dependency>
123         <dependency>
124             <groupId>org.springframework</groupId>
125             <artifactId>spring-expression</artifactId>
126             <version>${org.springframework.version}</version>
127         </dependency>
128         <dependency>
129             <groupId>org.springframework</groupId>
130             <artifactId>spring-dao</artifactId>
131             <version>2.0.8</version>
132             <exclusions>
133                 <exclusion>
134                     <groupId>javax.servlet</groupId>
135                     <artifactId>servlet-api</artifactId>
136                 </exclusion>
137             </exclusions>
138         </dependency>
139         <dependency>
140             <groupId>org.springframework</groupId>
141             <artifactId>spring-web</artifactId>
142             <version>${org.springframework.version}</version>
143             <exclusions>
144                 <exclusion>
145                     <groupId>org.springframework</groupId>
146                     <artifactId>spring-beans</artifactId>
147                 </exclusion>
148                 <exclusion>
149                     <groupId>org.springframework</groupId>
150                     <artifactId>spring-core</artifactId>
151                 </exclusion>
152             </exclusions>
153         </dependency>
154         <dependency>
155             <groupId>org.springframework.boot</groupId>
156             <artifactId>spring-boot-starter-web</artifactId>
157             <exclusions>
158                 <exclusion>
159                     <groupId>org.springframework.boot</groupId>
160                     <artifactId>spring-boot-starter-tomcat</artifactId>
161                 </exclusion>
162                 <exclusion>
163                     <groupId>org.springframework</groupId>
164                     <artifactId>spring-web</artifactId>
165                 </exclusion>
166                 <exclusion>
167                     <groupId>org.springframework</groupId>
168                     <artifactId>spring-core</artifactId>
169                 </exclusion>
170                 <exclusion>
171                     <groupId>org.springframework</groupId>
172                     <artifactId>spring-webmvc</artifactId>
173                 </exclusion>
174             </exclusions>
175         </dependency>
176         <dependency>
177             <groupId>org.eclipse.jetty</groupId>
178             <artifactId>jetty-server</artifactId>
179             <version>${jetty.version}</version>
180             <exclusions>
181                 <exclusion>
182                     <groupId>org.eclipse.jetty</groupId>
183                     <artifactId>jetty-http</artifactId>
184                 </exclusion>
185                 <exclusion>
186                     <groupId>org.eclipse.jetty</groupId>
187                     <artifactId>jetty-io</artifactId>
188                 </exclusion>
189             </exclusions>
190         </dependency>
191         <dependency>
192             <groupId>org.eclipse.jetty</groupId>
193             <artifactId>jetty-util</artifactId>
194             <version>${jetty.version}</version>
195         </dependency>
196         <dependency>
197             <groupId>org.eclipse.jetty</groupId>
198             <artifactId>jetty-webapp</artifactId>
199             <version>${jetty.version}</version>
200             <scope>runtime</scope>
201             <exclusions>
202                 <exclusion>
203                     <groupId>org.eclipse.jetty</groupId>
204                     <artifactId>jetty-xml</artifactId>
205                 </exclusion>
206                 <exclusion>
207                     <groupId>org.eclipse.jetty</groupId>
208                     <artifactId>jetty-servlet</artifactId>
209                 </exclusion>
210             </exclusions>
211         </dependency>
212         <dependency>
213             <groupId>org.eclipse.jetty</groupId>
214             <artifactId>jetty-servlet</artifactId>
215             <version>${jetty.version}</version>
216             <scope>runtime</scope>
217             <exclusions>
218                 <exclusion>
219                     <groupId>org.eclipse.jetty</groupId>
220                     <artifactId>jetty-security</artifactId>
221                 </exclusion>
222                 <exclusion>
223                     <groupId>org.eclipse.jetty</groupId>
224                     <artifactId>jetty-util-ajax</artifactId>
225                 </exclusion>
226             </exclusions>
227         </dependency>
228         <dependency>
229             <groupId>org.eclipse.jetty</groupId>
230             <artifactId>jetty-security</artifactId>
231             <version>${jetty.version}</version>
232             <scope>runtime</scope>
233         </dependency>
234         <dependency>
235             <groupId>org.eclipse.jetty</groupId>
236             <artifactId>jetty-http</artifactId>
237             <version>${jetty.version}</version>
238             <scope>runtime</scope>
239             <exclusions>
240                 <exclusion>
241                     <groupId>org.eclipse.jetty</groupId>
242                     <artifactId>jetty-io</artifactId>
243                 </exclusion>
244             </exclusions>
245         </dependency>
246         <dependency>
247             <groupId>org.eclipse.jetty</groupId>
248             <artifactId>jetty-io</artifactId>
249             <version>${jetty.version}</version>
250             <scope>runtime</scope>
251         </dependency>
252         <dependency>
253             <groupId>org.springframework.boot</groupId>
254             <artifactId>spring-boot-starter-jetty</artifactId>
255             <exclusions>
256                 <exclusion>
257                     <groupId>org.glassfish</groupId>
258                     <artifactId>jakarta.el</artifactId>
259                 </exclusion>
260                 <exclusion>
261                     <groupId>org.eclipse.jetty</groupId>
262                     <artifactId>jetty-servlets</artifactId>
263                 </exclusion>
264                 <exclusion>
265                     <groupId>org.eclipse.jetty</groupId>
266                     <artifactId>jetty-webapp</artifactId>
267                 </exclusion>
268                 <exclusion>
269                     <groupId>org.eclipse.jetty.websocket</groupId>
270                     <artifactId>websocket-server</artifactId>
271                 </exclusion>
272                 <exclusion>
273                     <groupId>org.eclipse.jetty.websocket</groupId>
274                     <artifactId>javax-websocket-server-impl</artifactId>
275                 </exclusion>
276             </exclusions>
277         </dependency>
278         <dependency>
279             <groupId>org.springframework.boot</groupId>
280             <artifactId>spring-boot-starter-validation</artifactId>
281             <exclusions>
282                 <exclusion>
283                     <groupId>org.glassfish</groupId>
284                     <artifactId>jakarta.el</artifactId>
285                 </exclusion>
286             </exclusions>
287         </dependency>
288         <dependency>
289             <groupId>org.springframework.boot</groupId>
290             <artifactId>spring-boot-starter-data-cassandra</artifactId>
291             <exclusions>
292                 <exclusion>
293                     <artifactId>HdrHistogram</artifactId>
294                     <groupId>org.hdrhistogram</groupId>
295                 </exclusion>
296                 <exclusion>
297                     <artifactId>asm</artifactId>
298                     <groupId>org.ow2.asm</groupId>
299                 </exclusion>
300                 <exclusion>
301                     <artifactId>asm-analysis</artifactId>
302                     <groupId>org.ow2.asm</groupId>
303                 </exclusion>
304                 <exclusion>
305                     <artifactId>asm-commons</artifactId>
306                     <groupId>org.ow2.asm</groupId>
307                 </exclusion>
308                 <exclusion>
309                     <artifactId>asm-tree</artifactId>
310                     <groupId>org.ow2.asm</groupId>
311                 </exclusion>
312                 <exclusion>
313                     <groupId>com.github.jnr</groupId>
314                     <artifactId>jnr-posix</artifactId>
315                 </exclusion>
316                 <exclusion>
317                     <groupId>io.netty</groupId>
318                     <artifactId>netty-handler</artifactId>
319                 </exclusion>
320                 <exclusion>
321                     <groupId>org.springframework</groupId>
322                     <artifactId>spring-tx</artifactId>
323                 </exclusion>
324                 <exclusion>
325                     <groupId>org.springframework</groupId>
326                     <artifactId>spring-context</artifactId>
327                 </exclusion>
328                 <exclusion>
329                     <groupId>org.springframework</groupId>
330                     <artifactId>spring-beans</artifactId>
331                 </exclusion>
332                 <exclusion>
333                     <groupId>org.springframework</groupId>
334                     <artifactId>spring-core</artifactId>
335                 </exclusion>
336                 <exclusion>
337                     <groupId>org.springframework</groupId>
338                     <artifactId>spring-expression</artifactId>
339                 </exclusion>
340             </exclusions>
341         </dependency>
342         <dependency>
343             <groupId>io.netty</groupId>
344             <artifactId>netty-handler</artifactId>
345             <version>4.1.80.Final</version>
346         </dependency>
347         <dependency>
348             <groupId>org.springframework.boot</groupId>
349             <artifactId>spring-boot-devtools</artifactId>
350             <scope>runtime</scope>
351             <exclusions>
352                 <exclusion>
353                     <groupId>org.springframework</groupId>
354                     <artifactId>spring-core</artifactId>
355                 </exclusion>
356                 <exclusion>
357                     <groupId>org.springframework</groupId>
358                     <artifactId>spring-context</artifactId>
359                 </exclusion>
360             </exclusions>
361         </dependency>
362         <dependency>
363             <groupId>org.springframework.boot</groupId>
364             <artifactId>spring-boot-starter-test</artifactId>
365             <scope>test</scope>
366             <exclusions>
367                 <exclusion>
368                     <artifactId>asm</artifactId>
369                     <groupId>org.ow2.asm</groupId>
370                 </exclusion>
371                 <exclusion>
372                     <groupId>junit</groupId>
373                     <artifactId>junit</artifactId>
374                 </exclusion>
375                 <exclusion>
376                     <groupId>org.springframework</groupId>
377                     <artifactId>spring-core</artifactId>
378                 </exclusion>
379                 <exclusion>
380                     <groupId>org.springframework</groupId>
381                     <artifactId>spring-test</artifactId>
382                 </exclusion>
383             </exclusions>
384         </dependency>
385         <dependency>
386             <groupId>io.springfox</groupId>
387             <artifactId>springfox-boot-starter</artifactId>
388             <version>${springfox.version}</version>
389             <exclusions>
390                 <exclusion>
391                     <groupId>org.springframework.plugin</groupId>
392                     <artifactId>spring-plugin-core</artifactId>
393                 </exclusion>
394                 <exclusion>
395                     <groupId>org.springframework.plugin</groupId>
396                     <artifactId>spring-plugin-metadata</artifactId>
397                 </exclusion>
398             </exclusions>
399         </dependency>
400         <dependency>
401             <groupId>org.springframework.plugin</groupId>
402             <artifactId>spring-plugin-core</artifactId>
403             <version>${springframework.plugin.version}</version>
404             <exclusions>
405                 <exclusion>
406                     <groupId>org.springframework</groupId>
407                     <artifactId>spring-beans</artifactId>
408                 </exclusion>
409                 <exclusion>
410                     <groupId>org.springframework</groupId>
411                     <artifactId>spring-context</artifactId>
412                 </exclusion>
413                 <exclusion>
414                     <groupId>org.springframework</groupId>
415                     <artifactId>spring-aop</artifactId>
416                 </exclusion>
417             </exclusions>
418         </dependency>
419         <dependency>
420             <groupId>org.springframework.plugin</groupId>
421             <artifactId>spring-plugin-metadata</artifactId>
422             <version>${springframework.plugin.version}</version>
423         </dependency>
424         <dependency>
425             <groupId>org.openecomp.sdc</groupId>
426             <artifactId>openecomp-sdc-logging-api</artifactId>
427             <version>${onap.version}</version>
428         </dependency>
429         <dependency>
430             <groupId>org.openecomp.sdc</groupId>
431             <artifactId>openecomp-sdc-logging-spring</artifactId>
432             <version>${onap.version}</version>
433         </dependency>
434         <dependency>
435             <groupId>org.openecomp.sdc</groupId>
436             <artifactId>openecomp-sdc-logging-core</artifactId>
437             <version>${onap.version}</version>
438             <scope>runtime</scope>
439         </dependency>
440         <dependency>
441             <groupId>ch.qos.logback</groupId>
442             <artifactId>logback-classic</artifactId>
443             <version>1.2.11</version>
444             <scope>runtime</scope>
445         </dependency>
446         <dependency>
447             <groupId>org.apache.httpcomponents</groupId>
448             <artifactId>httpclient</artifactId>
449             <version>4.5.13</version>
450             <exclusions>
451                 <exclusion>
452                     <artifactId>commons-codec</artifactId>
453                     <groupId>commons-codec</groupId>
454                 </exclusion>
455             </exclusions>
456         </dependency>
457         <dependency>
458             <groupId>org.mapstruct</groupId>
459             <artifactId>mapstruct</artifactId>
460             <version>${mapstruct.version}</version>
461         </dependency>
462         <dependency>
463             <groupId>org.mapstruct</groupId>
464             <artifactId>mapstruct-processor</artifactId>
465             <version>${mapstruct.version}</version>
466             <scope>provided</scope>
467         </dependency>
468         <dependency>
469             <groupId>org.projectlombok</groupId>
470             <artifactId>lombok</artifactId>
471             <version>${lombok.version}</version>
472             <scope>provided</scope>
473         </dependency>
474         <dependency>
475             <groupId>org.springframework.boot</groupId>
476             <artifactId>spring-boot-starter-actuator</artifactId>
477             <scope>provided</scope>
478             <exclusions>
479                 <exclusion>
480                     <groupId>org.springframework</groupId>
481                     <artifactId>spring-core</artifactId>
482                 </exclusion>
483                 <exclusion>
484                     <groupId>org.springframework</groupId>
485                     <artifactId>spring-context</artifactId>
486                 </exclusion>
487             </exclusions>
488         </dependency>
489         <dependency>
490             <groupId>org.apache.commons</groupId>
491             <artifactId>commons-text</artifactId>
492             <version>1.3</version>
493         </dependency>
494         <dependency>
495             <groupId>commons-io</groupId>
496             <artifactId>commons-io</artifactId>
497             <version>2.8.0</version>
498         </dependency>
499         <dependency>
500             <groupId>commons-codec</groupId>
501             <artifactId>commons-codec</artifactId>
502             <version>1.15</version>
503         </dependency>
504         <dependency>
505             <groupId>org.onap.sdc.sdc-be-common</groupId>
506             <artifactId>session-lib</artifactId>
507             <version>${sdc-be-common.version}</version>
508             <exclusions>
509                 <exclusion>
510                     <artifactId>objenesis</artifactId>
511                     <groupId>org.objenesis</groupId>
512                 </exclusion>
513                 <exclusion>
514                     <groupId>junit</groupId>
515                     <artifactId>junit</artifactId>
516                 </exclusion>
517             </exclusions>
518         </dependency>
519
520         <dependency>
521             <groupId>org.junit.vintage</groupId>
522             <artifactId>junit-vintage-engine</artifactId>
523             <version>${junitJupiter.version}</version>
524             <scope>test</scope>
525         </dependency>
526         <dependency>
527             <groupId>org.junit.platform</groupId>
528             <artifactId>junit-platform-commons</artifactId>
529             <version>${junit.platform.version}</version>
530             <scope>test</scope>
531         </dependency>
532         <dependency>
533             <groupId>org.junit.platform</groupId>
534             <artifactId>junit-platform-engine</artifactId>
535             <version>${junit.platform.version}</version>
536             <scope>test</scope>
537         </dependency>
538
539         <dependency>
540             <groupId>org.onap.sdc.sdc-be-common</groupId>
541             <artifactId>versioning-lib</artifactId>
542             <version>${sdc-be-common.version}</version>
543             <exclusions>
544                 <exclusion>
545                     <groupId>org.springframework.boot</groupId>
546                     <artifactId>spring-boot-starter-data-cassandra</artifactId>
547                 </exclusion>
548             </exclusions>
549         </dependency>
550         <dependency>
551             <groupId>org.onap.sdc.sdc-be-common</groupId>
552             <artifactId>zusammen-lib</artifactId>
553             <version>${sdc-be-common.version}</version>
554             <exclusions>
555                 <exclusion>
556                     <groupId>org.springframework.boot</groupId>
557                     <artifactId>spring-boot-starter-data-cassandra</artifactId>
558                 </exclusion>
559                 <exclusion>
560                     <artifactId>jnr-posix</artifactId>
561                     <groupId>com.github.jnr</groupId>
562                 </exclusion>
563                 <exclusion>
564                     <artifactId>jnr-ffi</artifactId>
565                     <groupId>com.github.jnr</groupId>
566                 </exclusion>
567                 <exclusion>
568                     <artifactId>zusammen-sdk</artifactId>
569                     <groupId>com.amdocs.zusammen</groupId>
570                 </exclusion>
571                 <exclusion>
572                     <artifactId>zusammen-commons-configuration</artifactId>
573                     <groupId>com.amdocs.zusammen</groupId>
574                 </exclusion>
575                 <exclusion>
576                     <groupId>io.netty</groupId>
577                     <artifactId>netty-handler</artifactId>
578                 </exclusion>
579             </exclusions>
580         </dependency>
581         <dependency>
582             <groupId>javax.xml.bind</groupId>
583             <artifactId>jaxb-api</artifactId>
584             <version>${jaxb.api.version}</version>
585         </dependency>
586         <dependency>
587             <groupId>com.amdocs.zusammen</groupId>
588             <artifactId>zusammen-sdk</artifactId>
589             <version>${zusammen.version}</version>
590         </dependency>
591         <dependency>
592             <groupId>com.amdocs.zusammen</groupId>
593             <artifactId>zusammen-commons-configuration</artifactId>
594             <version>${zusammen.version}</version>
595         </dependency>
596     </dependencies>
597
598     <build>
599         <plugins>
600             <plugin>
601                 <groupId>org.springframework.boot</groupId>
602                 <artifactId>spring-boot-maven-plugin</artifactId>
603                 <version>${spring.boot.version}</version>
604                 <executions>
605                     <execution>
606                         <goals>
607                             <goal>repackage</goal>
608                         </goals>
609                     </execution>
610                 </executions>
611             </plugin>
612             <plugin>
613                 <groupId>org.apache.maven.plugins</groupId>
614                 <artifactId>maven-surefire-plugin</artifactId>
615                 <version>2.22.2</version>
616                 <dependencies>
617                     <dependency>
618                         <groupId>org.apache.maven.surefire</groupId>
619                         <artifactId>surefire-junit-platform</artifactId>
620                         <version>2.22.2</version>
621                     </dependency>
622                 </dependencies>
623             </plugin>
624         </plugins>
625     </build>
626
627     <profiles>
628         <profile>
629             <id>docker</id>
630             <activation>
631                 <activeByDefault>false</activeByDefault>
632             </activation>
633             <build>
634                 <plugins>
635                     <plugin>
636                         <groupId>org.apache.maven.plugins</groupId>
637                         <artifactId>maven-resources-plugin</artifactId>
638                         <version>3.2.0</version>
639                         <executions>
640                             <execution>
641                                 <id>copy-resources-docker</id>
642                                 <phase>install</phase>
643                                 <goals>
644                                     <goal>copy-resources</goal>
645                                 </goals>
646                                 <configuration>
647                                     <outputDirectory>${basedir}/docker</outputDirectory>
648                                     <resources>
649                                         <resource>
650                                             <directory>${project.build.directory}</directory>
651                                             <include>${project.build.finalName}.jar</include>
652                                         </resource>
653                                     </resources>
654                                 </configuration>
655                             </execution>
656                         </executions>
657                     </plugin>
658                     <plugin>
659                         <groupId>io.fabric8</groupId>
660                         <artifactId>docker-maven-plugin</artifactId>
661                         <configuration>
662                             <apiVersion>${docker.api.version}</apiVersion>
663                             <images>
664                                 <image>
665                                     <name>onap/sdc-workflow-backend</name>
666                                     <build>
667                                         <tags>
668                                             <tag>latest</tag>
669                                             <tag>${project.docker.latesttagtimestamp.version}</tag>
670                                             <tag>${project.docker.latesttag.version}</tag>
671                                         </tags>
672                                         <dockerFileDir>${project.basedir}/docker</dockerFileDir>
673                                         <args>
674                                             <ARTIFACT>${project.build.finalName}.jar</ARTIFACT>
675                                         </args>
676                                     </build>
677                                 </image>
678                             </images>
679                         </configuration>
680                     </plugin>
681                 </plugins>
682             </build>
683         </profile>
684     </profiles>
685
686 </project>