37d93156ae5474dcf65d8a47ea746013d91ce06a
[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) 2021 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.0.0-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     <repositories>\r
36         <repository>\r
37             <id>nordix-liquibase-repo</id>\r
38             <name>liquibase</name>\r
39             <url>https://artifactory.nordix.org/artifactory/liquibase</url>\r
40         </repository>\r
41     </repositories>\r
42 \r
43     <dependencies>\r
44         <dependency>\r
45             <groupId>${project.groupId}</groupId>\r
46             <artifactId>cps-service</artifactId>\r
47         </dependency>\r
48         <dependency>\r
49             <groupId>${project.groupId}</groupId>\r
50             <artifactId>cps-path-parser</artifactId>\r
51             <version>${project.version}</version>\r
52         </dependency>\r
53         <dependency>\r
54             <groupId>org.springframework.boot</groupId>\r
55             <artifactId>spring-boot-starter-data-jpa</artifactId>\r
56         </dependency>\r
57         <dependency>\r
58             <groupId>org.springframework.boot</groupId>\r
59             <artifactId>spring-boot-starter-validation</artifactId>\r
60         </dependency>\r
61         <dependency>\r
62             <groupId>org.springframework.retry</groupId>\r
63             <artifactId>spring-retry</artifactId>\r
64         </dependency>\r
65         <dependency>\r
66             <groupId>org.springframework</groupId>\r
67             <artifactId>spring-aspects</artifactId>\r
68         </dependency>\r
69         <dependency>\r
70             <groupId>org.postgresql</groupId>\r
71             <artifactId>postgresql</artifactId>\r
72         </dependency>\r
73         <!-- Add Hibernate support for Postgres datatype JSONB -->\r
74         <dependency>\r
75             <groupId>com.vladmihalcea</groupId>\r
76             <artifactId>hibernate-types-52</artifactId>\r
77         </dependency>\r
78         <dependency>\r
79             <groupId>org.projectlombok</groupId>\r
80             <artifactId>lombok</artifactId>\r
81         </dependency>\r
82         <dependency>\r
83             <groupId>org.modelmapper</groupId>\r
84             <artifactId>modelmapper</artifactId>\r
85         </dependency>\r
86         <dependency>\r
87             <groupId>org.liquibase</groupId>\r
88             <artifactId>liquibase-core</artifactId>\r
89             <version>4.4.2-nordix</version>\r
90         </dependency>\r
91         <dependency>\r
92             <groupId>commons-codec</groupId>\r
93             <artifactId>commons-codec</artifactId>\r
94         </dependency>\r
95         <dependency>\r
96             <groupId>org.apache.commons</groupId>\r
97             <artifactId>commons-lang3</artifactId>\r
98         </dependency>\r
99         <dependency>\r
100             <groupId>com.fasterxml.jackson.core</groupId>\r
101             <artifactId>jackson-databind</artifactId>\r
102         </dependency>\r
103         <!-- T E S T   D E P E N D E N C I E S -->\r
104         <dependency>\r
105             <groupId>org.codehaus.groovy</groupId>\r
106             <artifactId>groovy</artifactId>\r
107             <scope>test</scope>\r
108         </dependency>\r
109         <dependency>\r
110             <groupId>org.spockframework</groupId>\r
111             <artifactId>spock-core</artifactId>\r
112             <scope>test</scope>\r
113         </dependency>\r
114         <dependency>\r
115             <groupId>org.spockframework</groupId>\r
116             <artifactId>spock-spring</artifactId>\r
117             <scope>test</scope>\r
118         </dependency>\r
119         <dependency>\r
120             <groupId>cglib</groupId>\r
121             <artifactId>cglib-nodep</artifactId>\r
122             <scope>test</scope>\r
123         </dependency>\r
124         <dependency>\r
125             <groupId>org.springframework.boot</groupId>\r
126             <artifactId>spring-boot-starter-test</artifactId>\r
127             <scope>test</scope>\r
128             <exclusions>\r
129                 <exclusion>\r
130                     <groupId>org.junit.vintage</groupId>\r
131                     <artifactId>junit-vintage-engine</artifactId>\r
132                 </exclusion>\r
133             </exclusions>\r
134         </dependency>\r
135         <dependency>\r
136             <groupId>org.testcontainers</groupId>\r
137             <artifactId>postgresql</artifactId>\r
138             <scope>test</scope>\r
139         </dependency>\r
140         <dependency>\r
141             <groupId>org.testcontainers</groupId>\r
142             <artifactId>spock</artifactId>\r
143             <scope>test</scope>\r
144         </dependency>\r
145     </dependencies>\r
146 \r
147 \r
148     <build>\r
149         <plugins>\r
150             <plugin>\r
151                 <groupId>org.apache.maven.plugins</groupId>\r
152                 <artifactId>maven-surefire-plugin</artifactId>\r
153                 <configuration>\r
154                     <environmentVariables>\r
155                         <TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX>${docker.pull.registry}/library/</TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX>\r
156                     </environmentVariables>\r
157                 </configuration>\r
158             </plugin>\r
159         </plugins>\r
160     </build>\r
161 </project>\r