0e3bb633f08d6d4dd4045e4c4611873289243f81
[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 and Postgres arrays -->\r
71         <dependency>\r
72             <groupId>io.hypersistence</groupId>\r
73             <artifactId>hypersistence-utils-hibernate-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         </dependency>\r
83         <dependency>\r
84             <groupId>commons-codec</groupId>\r
85             <artifactId>commons-codec</artifactId>\r
86         </dependency>\r
87         <dependency>\r
88             <groupId>org.apache.commons</groupId>\r
89             <artifactId>commons-lang3</artifactId>\r
90         </dependency>\r
91         <dependency>\r
92             <groupId>com.fasterxml.jackson.core</groupId>\r
93             <artifactId>jackson-databind</artifactId>\r
94         </dependency>\r
95         <!-- T E S T   D E P E N D E N C I E S -->\r
96         <dependency>\r
97             <groupId>org.codehaus.groovy</groupId>\r
98             <artifactId>groovy</artifactId>\r
99             <scope>test</scope>\r
100         </dependency>\r
101         <dependency>\r
102             <groupId>org.spockframework</groupId>\r
103             <artifactId>spock-core</artifactId>\r
104             <scope>test</scope>\r
105         </dependency>\r
106         <dependency>\r
107             <groupId>org.spockframework</groupId>\r
108             <artifactId>spock-spring</artifactId>\r
109             <scope>test</scope>\r
110         </dependency>\r
111         <dependency>\r
112             <groupId>cglib</groupId>\r
113             <artifactId>cglib-nodep</artifactId>\r
114             <scope>test</scope>\r
115         </dependency>\r
116         <dependency>\r
117             <groupId>org.springframework.boot</groupId>\r
118             <artifactId>spring-boot-starter-test</artifactId>\r
119             <scope>test</scope>\r
120             <exclusions>\r
121                 <exclusion>\r
122                     <groupId>org.junit.vintage</groupId>\r
123                     <artifactId>junit-vintage-engine</artifactId>\r
124                 </exclusion>\r
125             </exclusions>\r
126         </dependency>\r
127         <dependency>\r
128             <groupId>org.testcontainers</groupId>\r
129             <artifactId>postgresql</artifactId>\r
130             <scope>test</scope>\r
131         </dependency>\r
132         <dependency>\r
133             <groupId>org.testcontainers</groupId>\r
134             <artifactId>spock</artifactId>\r
135             <scope>test</scope>\r
136         </dependency>\r
137     </dependencies>\r
138 \r
139     <profiles>\r
140         <profile>\r
141             <id>default</id>\r
142             <activation>\r
143                 <activeByDefault>true</activeByDefault>\r
144             </activation>\r
145             <build>\r
146                 <plugins>\r
147                     <plugin>\r
148                         <groupId>org.apache.maven.plugins</groupId>\r
149                         <artifactId>maven-surefire-plugin</artifactId>\r
150                         <configuration>\r
151                             <excludes>\r
152                                 <exclude>%regex[.*PerfTest.*]</exclude>\r
153                             </excludes>\r
154                         </configuration>\r
155                     </plugin>\r
156                 </plugins>\r
157             </build>\r
158         </profile>\r
159         <profile>\r
160             <id>include-performance</id>\r
161         </profile>\r
162     </profiles>\r
163 \r
164     <build>\r
165         <plugins>\r
166             <plugin>\r
167                 <groupId>org.apache.maven.plugins</groupId>\r
168                 <artifactId>maven-surefire-plugin</artifactId>\r
169                 <configuration>\r
170                     <environmentVariables>\r
171                         <TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX>${docker.pull.registry}/library/</TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX>\r
172                     </environmentVariables>\r
173                 </configuration>\r
174             </plugin>\r
175         </plugins>\r
176     </build>\r
177 </project>\r