Bump CPS to 3.4.7-SNAPSHOT
[cps.git] / integration-test / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4   Copyright (c) 2023-2024 Nordix Foundation
5   ================================================================================
6   Licensed under the Apache License, Version 2.0 (the "License");
7   you may not use this file except in compliance with the License.
8   You may obtain a copy of the License at
9
10         http://www.apache.org/licenses/LICENSE-2.0
11
12   Unless required by applicable law or agreed to in writing, software
13   distributed under the License is distributed on an "AS IS" BASIS,
14   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15   See the License for the specific language governing permissions and
16   limitations under the License.
17   ============LICENSE_END=========================================================
18 -->
19
20 <project xmlns="http://maven.apache.org/POM/4.0.0"
21          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23     <parent>
24         <groupId>org.onap.cps</groupId>
25         <artifactId>cps-parent</artifactId>
26         <version>3.4.7-SNAPSHOT</version>
27         <relativePath>../cps-parent/pom.xml</relativePath>
28     </parent>
29     <modelVersion>4.0.0</modelVersion>
30
31     <artifactId>integration-test</artifactId>
32
33     <dependencies>
34         <!-- T E S T   D E P E N D E N C I E S -->
35         <dependency>
36             <groupId>org.codehaus.groovy</groupId>
37             <artifactId>groovy</artifactId>
38             <scope>test</scope>
39         </dependency>
40         <dependency>
41             <groupId>${project.groupId}</groupId>
42             <artifactId>cps-rest</artifactId>
43             <scope>test</scope>
44         </dependency>
45         <dependency>
46             <groupId>${project.groupId}</groupId>
47             <artifactId>cps-ncmp-rest</artifactId>
48             <scope>test</scope>
49         </dependency>
50         <dependency>
51             <groupId>${project.groupId}</groupId>
52             <artifactId>cps-ri</artifactId>
53             <scope>test</scope>
54         </dependency>
55         <dependency>
56             <groupId>${project.groupId}</groupId>
57             <artifactId>cps-service</artifactId>
58             <scope>test</scope>
59         </dependency>
60         <dependency>
61             <groupId>${project.groupId}</groupId>
62             <artifactId>cps-ncmp-service</artifactId>
63             <scope>test</scope>
64         </dependency>
65         <dependency>
66             <groupId>org.spockframework</groupId>
67             <artifactId>spock-core</artifactId>
68             <scope>test</scope>
69         </dependency>
70         <dependency>
71             <groupId>org.spockframework</groupId>
72             <artifactId>spock-spring</artifactId>
73             <scope>test</scope>
74         </dependency>
75         <dependency>
76             <groupId>org.springframework.boot</groupId>
77             <artifactId>spring-boot-starter-test</artifactId>
78             <scope>test</scope>
79         </dependency>
80         <dependency>
81             <groupId>org.testcontainers</groupId>
82             <artifactId>postgresql</artifactId>
83             <scope>test</scope>
84         </dependency>
85         <dependency>
86             <groupId>org.testcontainers</groupId>
87             <artifactId>spock</artifactId>
88             <scope>test</scope>
89         </dependency>
90         <dependency>
91             <groupId>org.springframework</groupId>
92             <artifactId>spring-web</artifactId>
93             <scope>test</scope>
94         </dependency>
95     </dependencies>
96
97     <profiles>
98         <!-- Performance tests are run with maven-failsafe-plugin using a separate profile, so they will
99              not affect Jacoco coverage. Heap size is set here to ensure consistent test environment. -->
100         <profile>
101             <id>include-performance</id>
102             <properties>
103                 <failsafeArgLine>-Xms512m -Xmx512m</failsafeArgLine>
104             </properties>
105             <build>
106                 <plugins>
107                     <plugin>
108                         <groupId>org.apache.maven.plugins</groupId>
109                         <artifactId>maven-failsafe-plugin</artifactId>
110                         <configuration>
111                             <includes>
112                                 <include>**/*PerfTest.java</include>
113                             </includes>
114                         </configuration>
115                     </plugin>
116                 </plugins>
117             </build>
118         </profile>
119     </profiles>
120
121 </project>