blob: d4ee0cc685801c238e67315237567f843a441454 [file] [log] [blame]
lukegleeson665e2242023-01-11 09:45:53 +00001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ============LICENSE_START=======================================================
danielhanrahan7a35d922024-01-29 14:28:06 +00004 Copyright (c) 2023-2024 Nordix Foundation
lukegleeson665e2242023-01-11 09:45:53 +00005 ================================================================================
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>
mpriyank0ac5d962024-03-29 13:47:19 +000026 <version>3.4.8-SNAPSHOT</version>
lukegleeson665e2242023-01-11 09:45:53 +000027 <relativePath>../cps-parent/pom.xml</relativePath>
28 </parent>
lukegleeson665e2242023-01-11 09:45:53 +000029 <modelVersion>4.0.0</modelVersion>
30
31 <artifactId>integration-test</artifactId>
32
lukegleesondfd26652023-01-26 17:17:56 +000033 <dependencies>
lukegleesondfd26652023-01-26 17:17:56 +000034 <!-- 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>
emacleeea7d1b42024-03-24 19:05:34 +000041 <groupId>org.junit.jupiter</groupId>
42 <artifactId>junit-jupiter</artifactId>
43 </dependency>
44 <dependency>
ToineSiebelink0133eb02023-02-28 18:12:51 +000045 <groupId>${project.groupId}</groupId>
46 <artifactId>cps-rest</artifactId>
47 <scope>test</scope>
48 </dependency>
49 <dependency>
50 <groupId>${project.groupId}</groupId>
danielhanrahanfc00c0c2024-02-13 11:12:29 +000051 <artifactId>cps-ncmp-rest</artifactId>
52 <scope>test</scope>
53 </dependency>
54 <dependency>
55 <groupId>${project.groupId}</groupId>
ToineSiebelink0133eb02023-02-28 18:12:51 +000056 <artifactId>cps-ri</artifactId>
57 <scope>test</scope>
58 </dependency>
59 <dependency>
60 <groupId>${project.groupId}</groupId>
61 <artifactId>cps-service</artifactId>
62 <scope>test</scope>
63 </dependency>
64 <dependency>
danielhanrahanfc00c0c2024-02-13 11:12:29 +000065 <groupId>${project.groupId}</groupId>
66 <artifactId>cps-ncmp-service</artifactId>
67 <scope>test</scope>
68 </dependency>
69 <dependency>
lukegleesondfd26652023-01-26 17:17:56 +000070 <groupId>org.spockframework</groupId>
71 <artifactId>spock-core</artifactId>
72 <scope>test</scope>
73 </dependency>
74 <dependency>
halil.cakal00245ee2024-03-22 11:46:03 +000075 <groupId>org.springframework</groupId>
76 <artifactId>spring-web</artifactId>
77 <scope>test</scope>
78 </dependency>
79 <dependency>
lukegleesondfd26652023-01-26 17:17:56 +000080 <groupId>org.spockframework</groupId>
81 <artifactId>spock-spring</artifactId>
82 <scope>test</scope>
83 </dependency>
84 <dependency>
85 <groupId>org.springframework.boot</groupId>
86 <artifactId>spring-boot-starter-test</artifactId>
87 <scope>test</scope>
88 </dependency>
89 <dependency>
halil.cakal00245ee2024-03-22 11:46:03 +000090 <groupId>org.springframework.kafka</groupId>
91 <artifactId>spring-kafka-test</artifactId>
92 <scope>test</scope>
93 </dependency>
94 <dependency>
lukegleesondfd26652023-01-26 17:17:56 +000095 <groupId>org.testcontainers</groupId>
96 <artifactId>postgresql</artifactId>
97 <scope>test</scope>
98 </dependency>
99 <dependency>
100 <groupId>org.testcontainers</groupId>
101 <artifactId>spock</artifactId>
102 <scope>test</scope>
103 </dependency>
104 <dependency>
halil.cakal93dd1b42024-03-11 14:19:36 +0000105 <groupId>org.testcontainers</groupId>
106 <artifactId>kafka</artifactId>
107 <scope>test</scope>
108 </dependency>
lukegleesondfd26652023-01-26 17:17:56 +0000109 </dependencies>
110
ToineSiebelink0133eb02023-02-28 18:12:51 +0000111 <profiles>
danielhanrahanc72a0132024-02-09 17:40:18 +0000112 <!-- Performance tests are run with maven-failsafe-plugin using a separate profile, so they will
113 not affect Jacoco coverage. Heap size is set here to ensure consistent test environment. -->
ToineSiebelink0133eb02023-02-28 18:12:51 +0000114 <profile>
danielhanrahanc72a0132024-02-09 17:40:18 +0000115 <id>include-performance</id>
116 <properties>
117 <failsafeArgLine>-Xms512m -Xmx512m</failsafeArgLine>
118 </properties>
ToineSiebelink0133eb02023-02-28 18:12:51 +0000119 <build>
120 <plugins>
121 <plugin>
122 <groupId>org.apache.maven.plugins</groupId>
danielhanrahanc72a0132024-02-09 17:40:18 +0000123 <artifactId>maven-failsafe-plugin</artifactId>
ToineSiebelink0133eb02023-02-28 18:12:51 +0000124 <configuration>
danielhanrahanc72a0132024-02-09 17:40:18 +0000125 <includes>
126 <include>**/*PerfTest.java</include>
127 </includes>
ToineSiebelink0133eb02023-02-28 18:12:51 +0000128 </configuration>
129 </plugin>
130 </plugins>
131 </build>
132 </profile>
ToineSiebelink0133eb02023-02-28 18:12:51 +0000133 </profiles>
134
lukegleeson665e2242023-01-11 09:45:53 +0000135</project>