blob: 6efbc706804fda8eec6466621062bfbe4883fe4a [file] [log] [blame]
waqas.ikram2816ea62018-06-27 16:16:42 +01001<!--
2 ============LICENSE_START=======================================================
3 Copyright (C) 2018 Ericsson. All rights reserved.
liamfallon367daa92023-02-17 19:16:34 +00004 Modifications Copyright (C) 2019-2020,2022-2023 Nordix Foundation.
Ram Krishna Vermaeee939f2020-04-03 14:26:15 -04005 Modifications Copyright (C) 2020 Bell Canada.
Jim Hahnf0e8b6d2021-02-11 13:41:45 -05006 Modifications Copyright (C) 2020-2021 AT&T Intellectual Property. All rights reserved.
waqas.ikram2816ea62018-06-27 16:16:42 +01007 ================================================================================
8 Licensed under the Apache License, Version 2.0 (the "License");
9 you may not use this file except in compliance with the License.
10 You may obtain a copy of the License at
11
12 http://www.apache.org/licenses/LICENSE-2.0
13
14 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19
20 SPDX-License-Identifier: Apache-2.0
21 ============LICENSE_END=========================================================
22-->
23
liamfallonadf67492019-07-10 19:44:39 +000024<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
waqas.ikram2816ea62018-06-27 16:16:42 +010026 <modelVersion>4.0.0</modelVersion>
27 <parent>
28 <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId>
liamfallon35840d82020-02-25 16:10:08 +000029 <artifactId>apex-integration</artifactId>
liamfallona54acdf2022-12-15 16:19:41 +000030 <version>2.9.1-SNAPSHOT</version>
waqas.ikram2816ea62018-06-27 16:16:42 +010031 </parent>
32
33 <artifactId>integration-uservice-test</artifactId>
34 <name>${project.artifactId}</name>
35 <description>Integration tests for Apex microservices</description>
36
waqas.ikram2816ea62018-06-27 16:16:42 +010037 <dependencies>
38 <dependency>
liamfallonefdaa0d2018-08-03 16:12:01 +010039 <groupId>org.onap.policy.common</groupId>
40 <artifactId>utils</artifactId>
41 </dependency>
42 <dependency>
waqas.ikram2816ea62018-06-27 16:16:42 +010043 <groupId>org.onap.policy.apex-pdp.core</groupId>
liamfallonf0fd9642022-02-11 00:43:14 +000044 <artifactId>core</artifactId>
waqas.ikram2816ea62018-06-27 16:16:42 +010045 <version>${project.version}</version>
46 </dependency>
47 <dependency>
liamfallonb109c212018-07-18 11:23:20 +010048 <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-schema</groupId>
49 <artifactId>plugins-context-schema-avro</artifactId>
waqas.ikram2816ea62018-06-27 16:16:42 +010050 <version>${project.version}</version>
51 <scope>test</scope>
52 </dependency>
53 <dependency>
54 <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId>
waqas.ikram2816ea62018-06-27 16:16:42 +010055 <artifactId>plugins-executor-javascript</artifactId>
56 <version>${project.version}</version>
57 <scope>test</scope>
58 </dependency>
59 <dependency>
liamfallonda727fa2018-11-15 22:07:45 +000060 <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId>
61 <artifactId>plugins-executor-mvel</artifactId>
62 <version>${project.version}</version>
63 <scope>test</scope>
64 </dependency>
65 <dependency>
liamfallonb109c212018-07-18 11:23:20 +010066 <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-distribution</groupId>
67 <artifactId>plugins-context-distribution-infinispan</artifactId>
waqas.ikram2816ea62018-06-27 16:16:42 +010068 <version>${project.version}</version>
69 <scope>test</scope>
70 </dependency>
71 <dependency>
72 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
73 <artifactId>plugins-event-carrier-kafka</artifactId>
74 <version>${project.version}</version>
75 <scope>test</scope>
76 </dependency>
77 <dependency>
78 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
waqas.ikram2816ea62018-06-27 16:16:42 +010079 <artifactId>plugins-event-carrier-jms</artifactId>
80 <version>${project.version}</version>
81 <scope>test</scope>
82 </dependency>
83 <dependency>
84 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
85 <artifactId>plugins-event-carrier-restclient</artifactId>
86 <version>${project.version}</version>
87 <scope>test</scope>
88 </dependency>
89 <dependency>
90 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
91 <artifactId>plugins-event-carrier-restserver</artifactId>
92 <version>${project.version}</version>
93 <scope>test</scope>
94 </dependency>
95 <dependency>
96 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
97 <artifactId>plugins-event-carrier-restrequestor</artifactId>
98 <version>${project.version}</version>
99 <scope>test</scope>
100 </dependency>
101 <dependency>
102 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-protocol</groupId>
waqas.ikram2816ea62018-06-27 16:16:42 +0100103 <artifactId>plugins-event-protocol-jms</artifactId>
104 <version>${project.version}</version>
105 <scope>test</scope>
106 </dependency>
107 <dependency>
108 <groupId>org.onap.policy.apex-pdp.auth</groupId>
109 <artifactId>cli-editor</artifactId>
110 <version>${project.version}</version>
111 <scope>test</scope>
112 </dependency>
113 <dependency>
114 <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId>
115 <artifactId>integration-common</artifactId>
116 <version>${project.version}</version>
117 <scope>test</scope>
118 </dependency>
119 <dependency>
120 <groupId>org.apache.kafka</groupId>
liamfallone13ff2c2018-09-14 23:05:56 +0100121 <artifactId>kafka_2.12</artifactId>
liamfallon4d6fc382018-06-27 12:50:17 +0100122 <version>${version.kafka}</version>
waqas.ikram2816ea62018-06-27 16:16:42 +0100123 <scope>test</scope>
Jim Hahnf0e8b6d2021-02-11 13:41:45 -0500124 </dependency>
125 <dependency>
liamfallone13ff2c2018-09-14 23:05:56 +0100126 <groupId>com.salesforce.kafka.test</groupId>
127 <artifactId>kafka-junit4</artifactId>
liamfallon367daa92023-02-17 19:16:34 +0000128 <version>${version.kafka-junit4}</version>
waqas.ikram2816ea62018-06-27 16:16:42 +0100129 <scope>test</scope>
Ram Krishna Vermaeee939f2020-04-03 14:26:15 -0400130 <exclusions>
131 <!-- The default netty version in kafka-junit4 has vulnerabilities -->
132 <exclusion>
133 <groupId>io.netty</groupId>
134 <artifactId>*</artifactId>
135 </exclusion>
liamfallon50a52062022-01-06 14:32:33 +0000136 <exclusion>
137 <groupId>log4j</groupId>
138 <artifactId>log4j</artifactId>
139 </exclusion>
Ram Krishna Vermaeee939f2020-04-03 14:26:15 -0400140 </exclusions>
141 </dependency>
liamfallon5cd5e122022-01-18 10:39:06 +0000142 <dependency>
143 <groupId>org.apache.zookeeper</groupId>
144 <artifactId>zookeeper</artifactId>
liamfallon367daa92023-02-17 19:16:34 +0000145 <version>${version.zookeeper}</version>
liamfallon5cd5e122022-01-18 10:39:06 +0000146 <scope>test</scope>
147 <exclusions>
148 <!-- The default netty version in kafka-junit4 has vulnerabilities -->
149 <exclusion>
150 <groupId>io.netty</groupId>
151 <artifactId>*</artifactId>
152 </exclusion>
153 <exclusion>
154 <groupId>org.slf4j</groupId>
155 <artifactId>slf4j-log4j12</artifactId>
156 </exclusion>
157 </exclusions>
158 </dependency>
Ram Krishna Vermaeee939f2020-04-03 14:26:15 -0400159 <!-- This netty version fixes the vulnerabilities -->
160 <dependency>
161 <groupId>io.netty</groupId>
162 <artifactId>netty-all</artifactId>
waqas.ikram2816ea62018-06-27 16:16:42 +0100163 </dependency>
164 <dependency>
165 <groupId>org.apache.activemq.tooling</groupId>
166 <artifactId>activemq-junit</artifactId>
liamfallon367daa92023-02-17 19:16:34 +0000167 <version>${version.activemq}</version>
waqas.ikram2816ea62018-06-27 16:16:42 +0100168 <scope>test</scope>
169 </dependency>
170 <dependency>
171 <groupId>org.apache.activemq</groupId>
172 <artifactId>activemq-broker</artifactId>
liamfallon367daa92023-02-17 19:16:34 +0000173 <version>${version.activemq}</version>
waqas.ikram2816ea62018-06-27 16:16:42 +0100174 <scope>test</scope>
175 </dependency>
176 <dependency>
177 <groupId>org.apache.activemq</groupId>
178 <artifactId>activemq-jaas</artifactId>
liamfallon367daa92023-02-17 19:16:34 +0000179 <version>${version.activemq}</version>
waqas.ikram2816ea62018-06-27 16:16:42 +0100180 <scope>test</scope>
181 </dependency>
waqas.ikram2816ea62018-06-27 16:16:42 +0100182 <dependency>
liamfallonadf67492019-07-10 19:44:39 +0000183 <groupId>org.awaitility</groupId>
184 <artifactId>awaitility</artifactId>
liamfallonadf67492019-07-10 19:44:39 +0000185 <scope>test</scope>
186 </dependency>
waqas.ikram2816ea62018-06-27 16:16:42 +0100187 </dependencies>
188
189 <build>
190 <plugins>
liamfallon53d89162018-11-06 12:02:46 +0000191 <!-- Copy required resources and examples -->
192 <plugin>
193 <groupId>org.apache.maven.plugins</groupId>
194 <artifactId>maven-dependency-plugin</artifactId>
195 <executions>
196 <execution>
197 <id>unpack-examples</id>
198 <phase>generate-test-resources</phase>
199 <goals>
200 <goal>unpack</goal>
201 </goals>
202 <configuration>
203 <artifactItems>
204 <artifactItem>
205 <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId>
206 <artifactId>integration-common</artifactId>
207 <version>${project.version}</version>
208 <type>jar</type>
209 <overWrite>false</overWrite>
210 <outputDirectory>${project.build.directory}</outputDirectory>
211 <includes>examples/**/*</includes>
212 </artifactItem>
213 </artifactItems>
214 <overWriteReleases>true</overWriteReleases>
215 <overWriteSnapshots>true</overWriteSnapshots>
216 </configuration>
217 </execution>
218 </executions>
219 </plugin>
waqas.ikram2816ea62018-06-27 16:16:42 +0100220 <plugin>
221 <groupId>org.apache.maven.plugins</groupId>
222 <artifactId>maven-surefire-plugin</artifactId>
223 <configuration>
liamfallon53d89162018-11-06 12:02:46 +0000224 <reuseForks>false</reuseForks>
waqas.ikram2816ea62018-06-27 16:16:42 +0100225 </configuration>
226 </plugin>
227 </plugins>
228 </build>
229
Dinh Danh Lea4a99222018-08-23 00:00:00 +0100230 <profiles>
liamfallonadf67492019-07-10 19:44:39 +0000231 <profile>
liamfallon32497612018-11-10 00:39:12 +0000232 <id>only-eclipse</id>
233 <activation>
234 <property>
235 <name>m2e.version</name>
236 </property>
237 </activation>
238 <build>
239 <pluginManagement>
240 <plugins>
241 <plugin>
242 <groupId>org.eclipse.m2e</groupId>
243 <artifactId>lifecycle-mapping</artifactId>
liamfallon32497612018-11-10 00:39:12 +0000244 <configuration>
245 <lifecycleMappingMetadata>
246 <pluginExecutions>
247 <pluginExecution>
248 <pluginExecutionFilter>
249 <groupId>org.apache.maven.plugins</groupId>
250 <artifactId>maven-dependency-plugin</artifactId>
251 <versionRange>[2.0,)</versionRange>
252 <goals>
253 <goal>unpack</goal>
254 </goals>
255 </pluginExecutionFilter>
256 <action>
257 <ignore />
258 </action>
259 </pluginExecution>
260 </pluginExecutions>
261 </lifecycleMappingMetadata>
262 </configuration>
263 </plugin>
264 </plugins>
265 </pluginManagement>
266 </build>
267 </profile>
Dinh Danh Lea4a99222018-08-23 00:00:00 +0100268 </profiles>
liamfallona41c8772018-09-05 15:46:31 +0100269</project>