73998cd135f15ed3accc419f278d42062e9e9098
[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.4-SNAPSHOT</version>
27         <relativePath>../cps-parent/pom.xml</relativePath>
28     </parent>
29
30     <modelVersion>4.0.0</modelVersion>
31
32     <artifactId>integration-test</artifactId>
33
34     <dependencies>
35         <!-- T E S T   D E P E N D E N C I E S -->
36         <dependency>
37             <groupId>org.codehaus.groovy</groupId>
38             <artifactId>groovy</artifactId>
39             <scope>test</scope>
40         </dependency>
41         <dependency>
42             <groupId>${project.groupId}</groupId>
43             <artifactId>cps-rest</artifactId>
44             <scope>test</scope>
45         </dependency>
46         <dependency>
47             <groupId>${project.groupId}</groupId>
48             <artifactId>cps-ri</artifactId>
49             <scope>test</scope>
50         </dependency>
51         <dependency>
52             <groupId>${project.groupId}</groupId>
53             <artifactId>cps-service</artifactId>
54             <scope>test</scope>
55         </dependency>
56         <dependency>
57             <groupId>org.spockframework</groupId>
58             <artifactId>spock-core</artifactId>
59             <scope>test</scope>
60         </dependency>
61         <dependency>
62             <groupId>org.spockframework</groupId>
63             <artifactId>spock-spring</artifactId>
64             <scope>test</scope>
65         </dependency>
66         <dependency>
67             <groupId>org.springframework.boot</groupId>
68             <artifactId>spring-boot-starter-test</artifactId>
69             <scope>test</scope>
70         </dependency>
71         <dependency>
72             <groupId>org.testcontainers</groupId>
73             <artifactId>postgresql</artifactId>
74             <scope>test</scope>
75         </dependency>
76         <dependency>
77             <groupId>org.testcontainers</groupId>
78             <artifactId>spock</artifactId>
79             <scope>test</scope>
80         </dependency>
81         <dependency>
82             <groupId>org.springframework.kafka</groupId>
83             <artifactId>spring-kafka-test</artifactId>
84             <scope>test</scope>
85         </dependency>
86         <dependency>
87             <groupId>org.springframework</groupId>
88             <artifactId>spring-web</artifactId>
89             <scope>test</scope>
90         </dependency>
91     </dependencies>
92
93     <build>
94         <plugins>
95             <plugin>
96                 <groupId>org.apache.maven.plugins</groupId>
97                 <artifactId>maven-failsafe-plugin</artifactId>
98                 <configuration>
99                     <argLine>-Xms512m -Xmx512m</argLine>
100                 </configuration>
101             </plugin>
102             <plugin>
103                 <groupId>org.apache.maven.plugins</groupId>
104                 <artifactId>maven-surefire-plugin</artifactId>
105                 <configuration>
106                     <argLine>-Xms512m -Xmx512m</argLine>
107                 </configuration>
108             </plugin>
109         </plugins>
110     </build>
111
112     <profiles>
113         <profile>
114             <id>default</id>
115             <activation>
116                 <activeByDefault>true</activeByDefault>
117             </activation>
118             <build>
119                 <plugins>
120                     <plugin>
121                         <groupId>org.apache.maven.plugins</groupId>
122                         <artifactId>maven-surefire-plugin</artifactId>
123                         <configuration>
124                             <excludes>
125                                 <exclude>%regex[.*PerfTest.*]</exclude>
126                             </excludes>
127                         </configuration>
128                     </plugin>
129                 </plugins>
130             </build>
131         </profile>
132         <profile>
133             <id>include-performance</id>
134         </profile>
135     </profiles>
136
137
138 </project>