3.0.0 Release Step 7
[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.1-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.80</minimum-coverage>\r
37     </properties>\r
38 \r
39     <dependencies>\r
40         <dependency>\r
41             <groupId>${project.groupId}</groupId>\r
42             <artifactId>cps-service</artifactId>\r
43         </dependency>\r
44         <dependency>\r
45             <groupId>${project.groupId}</groupId>\r
46             <artifactId>cps-path-parser</artifactId>\r
47             <version>${project.version}</version>\r
48         </dependency>\r
49         <dependency>\r
50             <groupId>org.springframework.boot</groupId>\r
51             <artifactId>spring-boot-starter-data-jpa</artifactId>\r
52         </dependency>\r
53         <dependency>\r
54             <groupId>org.springframework.boot</groupId>\r
55             <artifactId>spring-boot-starter-validation</artifactId>\r
56         </dependency>\r
57         <dependency>\r
58             <groupId>org.springframework.retry</groupId>\r
59             <artifactId>spring-retry</artifactId>\r
60         </dependency>\r
61         <dependency>\r
62             <groupId>org.springframework</groupId>\r
63             <artifactId>spring-aspects</artifactId>\r
64         </dependency>\r
65         <dependency>\r
66             <groupId>org.postgresql</groupId>\r
67             <artifactId>postgresql</artifactId>\r
68             <version>${postgres.version}</version>\r
69         </dependency>\r
70         <!-- Add Hibernate support for Postgres datatype JSONB -->\r
71         <dependency>\r
72             <groupId>com.vladmihalcea</groupId>\r
73             <artifactId>hibernate-types-52</artifactId>\r
74         </dependency>\r
75         <dependency>\r
76             <groupId>org.projectlombok</groupId>\r
77             <artifactId>lombok</artifactId>\r
78         </dependency>\r
79         <dependency>\r
80             <groupId>org.liquibase</groupId>\r
81             <artifactId>liquibase-core</artifactId>\r
82             <version>4.14.0</version>\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         <dependency>\r
129             <groupId>org.testcontainers</groupId>\r
130             <artifactId>postgresql</artifactId>\r
131             <scope>test</scope>\r
132         </dependency>\r
133         <dependency>\r
134             <groupId>org.testcontainers</groupId>\r
135             <artifactId>spock</artifactId>\r
136             <scope>test</scope>\r
137         </dependency>\r
138     </dependencies>\r
139 \r
140     <profiles>\r
141         <profile>\r
142             <id>default</id>\r
143             <activation>\r
144                 <activeByDefault>true</activeByDefault>\r
145             </activation>\r
146             <build>\r
147                 <plugins>\r
148                     <plugin>\r
149                         <groupId>org.apache.maven.plugins</groupId>\r
150                         <artifactId>maven-surefire-plugin</artifactId>\r
151                         <configuration>\r
152                             <excludes>\r
153                                 <exclude>%regex[.*PerfTest.*]</exclude>\r
154                             </excludes>\r
155                         </configuration>\r
156                     </plugin>\r
157                 </plugins>\r
158             </build>\r
159         </profile>\r
160         <profile>\r
161             <id>include-performance</id>\r
162         </profile>\r
163     </profiles>\r
164 \r
165     <build>\r
166         <plugins>\r
167             <plugin>\r
168                 <groupId>org.apache.maven.plugins</groupId>\r
169                 <artifactId>maven-surefire-plugin</artifactId>\r
170                 <configuration>\r
171                     <environmentVariables>\r
172                         <TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX>${docker.pull.registry}/library/</TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX>\r
173                     </environmentVariables>\r
174                 </configuration>\r
175             </plugin>\r
176         </plugins>\r
177     </build>\r
178 </project>\r