Revert "Migrate CPS to Spring-boot 3.0"
[cps.git] / cps-ri / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!--\r
3   ============LICENSE_START=======================================================\r
4   Copyright (C) 2020-2021 Pantheon.tech\r
5   Modifications Copyright (C) 2020-2021 Bell Canada\r
6   Modifications Copyright (C) 2020-2023 Nordix Foundation\r
7   ================================================================================\r
8   Licensed under the Apache License, Version 2.0 (the "License");\r
9   you may not use this file except in compliance with the License.\r
10   You may obtain a copy of the License at\r
11 \r
12         http://www.apache.org/licenses/LICENSE-2.0\r
13 \r
14   Unless required by applicable law or agreed to in writing, software\r
15   distributed under the License is distributed on an "AS IS" BASIS,\r
16   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
17   See the License for the specific language governing permissions and\r
18   limitations under the License.\r
19   ============LICENSE_END=========================================================\r
20 -->\r
21 \r
22 <project xmlns="http://maven.apache.org/POM/4.0.0"\r
23     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
24     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">\r
25     <modelVersion>4.0.0</modelVersion>\r
26     <parent>\r
27         <groupId>org.onap.cps</groupId>\r
28         <artifactId>cps-parent</artifactId>\r
29         <version>3.3.7-SNAPSHOT</version>\r
30         <relativePath>../cps-parent/pom.xml</relativePath>\r
31     </parent>\r
32 \r
33     <artifactId>cps-ri</artifactId>\r
34 \r
35     <properties>\r
36         <minimum-coverage>0.29</minimum-coverage>\r
37         <!-- Additional coverage is provided by integration-test module -->\r
38     </properties>\r
39 \r
40     <dependencies>\r
41         <dependency>\r
42             <groupId>${project.groupId}</groupId>\r
43             <artifactId>cps-service</artifactId>\r
44         </dependency>\r
45         <dependency>\r
46             <groupId>${project.groupId}</groupId>\r
47             <artifactId>cps-path-parser</artifactId>\r
48             <version>${project.version}</version>\r
49         </dependency>\r
50         <dependency>\r
51             <groupId>org.springframework.boot</groupId>\r
52             <artifactId>spring-boot-starter-data-jpa</artifactId>\r
53         </dependency>\r
54         <dependency>\r
55             <groupId>org.springframework.boot</groupId>\r
56             <artifactId>spring-boot-starter-validation</artifactId>\r
57         </dependency>\r
58         <dependency>\r
59             <groupId>org.springframework.retry</groupId>\r
60             <artifactId>spring-retry</artifactId>\r
61         </dependency>\r
62         <dependency>\r
63             <groupId>org.springframework</groupId>\r
64             <artifactId>spring-aspects</artifactId>\r
65         </dependency>\r
66         <dependency>\r
67             <groupId>org.postgresql</groupId>\r
68             <artifactId>postgresql</artifactId>\r
69             <version>${postgres.version}</version>\r
70         </dependency>\r
71         <!-- Add Hibernate support for Postgres datatype JSONB and Postgres arrays -->\r
72         <dependency>\r
73             <groupId>io.hypersistence</groupId>\r
74             <artifactId>hypersistence-utils-hibernate-52</artifactId>\r
75         </dependency>\r
76         <dependency>\r
77             <groupId>org.projectlombok</groupId>\r
78             <artifactId>lombok</artifactId>\r
79         </dependency>\r
80         <dependency>\r
81             <groupId>org.liquibase</groupId>\r
82             <artifactId>liquibase-core</artifactId>\r
83         </dependency>\r
84         <dependency>\r
85             <groupId>commons-codec</groupId>\r
86             <artifactId>commons-codec</artifactId>\r
87         </dependency>\r
88         <dependency>\r
89             <groupId>org.apache.commons</groupId>\r
90             <artifactId>commons-lang3</artifactId>\r
91         </dependency>\r
92         <dependency>\r
93             <groupId>com.fasterxml.jackson.core</groupId>\r
94             <artifactId>jackson-databind</artifactId>\r
95         </dependency>\r
96         <!-- T E S T   D E P E N D E N C I E S -->\r
97         <dependency>\r
98             <groupId>org.codehaus.groovy</groupId>\r
99             <artifactId>groovy</artifactId>\r
100             <scope>test</scope>\r
101         </dependency>\r
102         <dependency>\r
103             <groupId>org.spockframework</groupId>\r
104             <artifactId>spock-core</artifactId>\r
105             <scope>test</scope>\r
106         </dependency>\r
107         <dependency>\r
108             <groupId>org.spockframework</groupId>\r
109             <artifactId>spock-spring</artifactId>\r
110             <scope>test</scope>\r
111         </dependency>\r
112         <dependency>\r
113             <groupId>cglib</groupId>\r
114             <artifactId>cglib-nodep</artifactId>\r
115             <scope>test</scope>\r
116         </dependency>\r
117         <dependency>\r
118             <groupId>org.springframework.boot</groupId>\r
119             <artifactId>spring-boot-starter-test</artifactId>\r
120             <scope>test</scope>\r
121             <exclusions>\r
122                 <exclusion>\r
123                     <groupId>org.junit.vintage</groupId>\r
124                     <artifactId>junit-vintage-engine</artifactId>\r
125                 </exclusion>\r
126             </exclusions>\r
127         </dependency>\r
128     </dependencies>\r
129 \r
130     <profiles>\r
131         <profile>\r
132             <id>default</id>\r
133             <activation>\r
134                 <activeByDefault>true</activeByDefault>\r
135             </activation>\r
136             <build>\r
137                 <plugins>\r
138                     <plugin>\r
139                         <groupId>org.apache.maven.plugins</groupId>\r
140                         <artifactId>maven-surefire-plugin</artifactId>\r
141                     </plugin>\r
142                 </plugins>\r
143             </build>\r
144         </profile>\r
145     </profiles>\r
146 \r
147     <build>\r
148         <plugins>\r
149             <plugin>\r
150                 <groupId>org.apache.maven.plugins</groupId>\r
151                 <artifactId>maven-surefire-plugin</artifactId>\r
152                 <configuration>\r
153                     <environmentVariables>\r
154                         <TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX>${docker.pull.registry}/library/</TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX>\r
155                     </environmentVariables>\r
156                 </configuration>\r
157             </plugin>\r
158         </plugins>\r
159     </build>\r
160 </project>\r