blob: 25a479c3536337b2e123fe4dd6ab42d8b037ccc2 [file] [log] [blame]
waqas.ikram2816ea62018-06-27 16:16:42 +01001<!--
2 ============LICENSE_START=======================================================
3 Copyright (C) 2018 Ericsson. All rights reserved.
liamfallon50a52062022-01-06 14:32:33 +00004 Modifications Copyright (C) 2019-2020,2022 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>
liamfallonbdf7e002022-09-23 10:58:52 +010030 <version>2.8.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
37 <properties>
38 <activemq-version>5.15.4</activemq-version>
39 </properties>
40
41 <dependencies>
42 <dependency>
liamfallonefdaa0d2018-08-03 16:12:01 +010043 <groupId>org.onap.policy.common</groupId>
44 <artifactId>utils</artifactId>
45 </dependency>
46 <dependency>
waqas.ikram2816ea62018-06-27 16:16:42 +010047 <groupId>org.onap.policy.apex-pdp.core</groupId>
liamfallonf0fd9642022-02-11 00:43:14 +000048 <artifactId>core</artifactId>
waqas.ikram2816ea62018-06-27 16:16:42 +010049 <version>${project.version}</version>
50 </dependency>
51 <dependency>
liamfallonb109c212018-07-18 11:23:20 +010052 <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-schema</groupId>
53 <artifactId>plugins-context-schema-avro</artifactId>
waqas.ikram2816ea62018-06-27 16:16:42 +010054 <version>${project.version}</version>
55 <scope>test</scope>
56 </dependency>
57 <dependency>
58 <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId>
waqas.ikram2816ea62018-06-27 16:16:42 +010059 <artifactId>plugins-executor-javascript</artifactId>
60 <version>${project.version}</version>
61 <scope>test</scope>
62 </dependency>
63 <dependency>
liamfallonda727fa2018-11-15 22:07:45 +000064 <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId>
65 <artifactId>plugins-executor-mvel</artifactId>
66 <version>${project.version}</version>
67 <scope>test</scope>
68 </dependency>
69 <dependency>
liamfallonb109c212018-07-18 11:23:20 +010070 <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-distribution</groupId>
71 <artifactId>plugins-context-distribution-infinispan</artifactId>
waqas.ikram2816ea62018-06-27 16:16:42 +010072 <version>${project.version}</version>
73 <scope>test</scope>
74 </dependency>
75 <dependency>
76 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
77 <artifactId>plugins-event-carrier-kafka</artifactId>
78 <version>${project.version}</version>
79 <scope>test</scope>
80 </dependency>
81 <dependency>
82 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
waqas.ikram2816ea62018-06-27 16:16:42 +010083 <artifactId>plugins-event-carrier-jms</artifactId>
84 <version>${project.version}</version>
85 <scope>test</scope>
86 </dependency>
87 <dependency>
88 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
89 <artifactId>plugins-event-carrier-restclient</artifactId>
90 <version>${project.version}</version>
91 <scope>test</scope>
92 </dependency>
93 <dependency>
94 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
95 <artifactId>plugins-event-carrier-restserver</artifactId>
96 <version>${project.version}</version>
97 <scope>test</scope>
98 </dependency>
99 <dependency>
100 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
101 <artifactId>plugins-event-carrier-restrequestor</artifactId>
102 <version>${project.version}</version>
103 <scope>test</scope>
104 </dependency>
105 <dependency>
106 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-protocol</groupId>
waqas.ikram2816ea62018-06-27 16:16:42 +0100107 <artifactId>plugins-event-protocol-jms</artifactId>
108 <version>${project.version}</version>
109 <scope>test</scope>
110 </dependency>
111 <dependency>
112 <groupId>org.onap.policy.apex-pdp.auth</groupId>
113 <artifactId>cli-editor</artifactId>
114 <version>${project.version}</version>
115 <scope>test</scope>
116 </dependency>
117 <dependency>
118 <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId>
119 <artifactId>integration-common</artifactId>
120 <version>${project.version}</version>
121 <scope>test</scope>
122 </dependency>
123 <dependency>
124 <groupId>org.apache.kafka</groupId>
liamfallone13ff2c2018-09-14 23:05:56 +0100125 <artifactId>kafka_2.12</artifactId>
liamfallon4d6fc382018-06-27 12:50:17 +0100126 <version>${version.kafka}</version>
waqas.ikram2816ea62018-06-27 16:16:42 +0100127 <scope>test</scope>
Jim Hahnf0e8b6d2021-02-11 13:41:45 -0500128 </dependency>
129 <dependency>
liamfallone13ff2c2018-09-14 23:05:56 +0100130 <groupId>com.salesforce.kafka.test</groupId>
131 <artifactId>kafka-junit4</artifactId>
liamfallon50a52062022-01-06 14:32:33 +0000132 <version>3.2.3</version>
waqas.ikram2816ea62018-06-27 16:16:42 +0100133 <scope>test</scope>
Ram Krishna Vermaeee939f2020-04-03 14:26:15 -0400134 <exclusions>
135 <!-- The default netty version in kafka-junit4 has vulnerabilities -->
136 <exclusion>
137 <groupId>io.netty</groupId>
138 <artifactId>*</artifactId>
139 </exclusion>
liamfallon50a52062022-01-06 14:32:33 +0000140 <exclusion>
141 <groupId>log4j</groupId>
142 <artifactId>log4j</artifactId>
143 </exclusion>
Ram Krishna Vermaeee939f2020-04-03 14:26:15 -0400144 </exclusions>
145 </dependency>
liamfallon5cd5e122022-01-18 10:39:06 +0000146 <dependency>
147 <groupId>org.apache.zookeeper</groupId>
148 <artifactId>zookeeper</artifactId>
149 <version>3.7.0</version>
150 <scope>test</scope>
151 <exclusions>
152 <!-- The default netty version in kafka-junit4 has vulnerabilities -->
153 <exclusion>
154 <groupId>io.netty</groupId>
155 <artifactId>*</artifactId>
156 </exclusion>
157 <exclusion>
158 <groupId>org.slf4j</groupId>
159 <artifactId>slf4j-log4j12</artifactId>
160 </exclusion>
161 </exclusions>
162 </dependency>
Ram Krishna Vermaeee939f2020-04-03 14:26:15 -0400163 <!-- This netty version fixes the vulnerabilities -->
164 <dependency>
165 <groupId>io.netty</groupId>
166 <artifactId>netty-all</artifactId>
waqas.ikram2816ea62018-06-27 16:16:42 +0100167 </dependency>
168 <dependency>
169 <groupId>org.apache.activemq.tooling</groupId>
170 <artifactId>activemq-junit</artifactId>
171 <version>${activemq-version}</version>
172 <scope>test</scope>
173 </dependency>
174 <dependency>
175 <groupId>org.apache.activemq</groupId>
176 <artifactId>activemq-broker</artifactId>
177 <version>${activemq-version}</version>
178 <scope>test</scope>
179 </dependency>
180 <dependency>
181 <groupId>org.apache.activemq</groupId>
182 <artifactId>activemq-jaas</artifactId>
183 <version>${activemq-version}</version>
184 <scope>test</scope>
185 </dependency>
waqas.ikram2816ea62018-06-27 16:16:42 +0100186 <dependency>
liamfallonadf67492019-07-10 19:44:39 +0000187 <groupId>org.awaitility</groupId>
188 <artifactId>awaitility</artifactId>
liamfallonadf67492019-07-10 19:44:39 +0000189 <scope>test</scope>
190 </dependency>
waqas.ikram2816ea62018-06-27 16:16:42 +0100191 </dependencies>
192
193 <build>
194 <plugins>
liamfallon53d89162018-11-06 12:02:46 +0000195 <!-- Copy required resources and examples -->
196 <plugin>
197 <groupId>org.apache.maven.plugins</groupId>
198 <artifactId>maven-dependency-plugin</artifactId>
199 <executions>
200 <execution>
201 <id>unpack-examples</id>
202 <phase>generate-test-resources</phase>
203 <goals>
204 <goal>unpack</goal>
205 </goals>
206 <configuration>
207 <artifactItems>
208 <artifactItem>
209 <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId>
210 <artifactId>integration-common</artifactId>
211 <version>${project.version}</version>
212 <type>jar</type>
213 <overWrite>false</overWrite>
214 <outputDirectory>${project.build.directory}</outputDirectory>
215 <includes>examples/**/*</includes>
216 </artifactItem>
217 </artifactItems>
218 <overWriteReleases>true</overWriteReleases>
219 <overWriteSnapshots>true</overWriteSnapshots>
220 </configuration>
221 </execution>
222 </executions>
223 </plugin>
waqas.ikram2816ea62018-06-27 16:16:42 +0100224 <plugin>
225 <groupId>org.apache.maven.plugins</groupId>
226 <artifactId>maven-surefire-plugin</artifactId>
227 <configuration>
liamfallon53d89162018-11-06 12:02:46 +0000228 <reuseForks>false</reuseForks>
waqas.ikram2816ea62018-06-27 16:16:42 +0100229 </configuration>
230 </plugin>
231 </plugins>
232 </build>
233
Dinh Danh Lea4a99222018-08-23 00:00:00 +0100234 <profiles>
liamfallonadf67492019-07-10 19:44:39 +0000235 <profile>
liamfallon32497612018-11-10 00:39:12 +0000236 <id>only-eclipse</id>
237 <activation>
238 <property>
239 <name>m2e.version</name>
240 </property>
241 </activation>
242 <build>
243 <pluginManagement>
244 <plugins>
245 <plugin>
246 <groupId>org.eclipse.m2e</groupId>
247 <artifactId>lifecycle-mapping</artifactId>
248 <version>1.0.0</version>
249 <configuration>
250 <lifecycleMappingMetadata>
251 <pluginExecutions>
252 <pluginExecution>
253 <pluginExecutionFilter>
254 <groupId>org.apache.maven.plugins</groupId>
255 <artifactId>maven-dependency-plugin</artifactId>
256 <versionRange>[2.0,)</versionRange>
257 <goals>
258 <goal>unpack</goal>
259 </goals>
260 </pluginExecutionFilter>
261 <action>
262 <ignore />
263 </action>
264 </pluginExecution>
265 </pluginExecutions>
266 </lifecycleMappingMetadata>
267 </configuration>
268 </plugin>
269 </plugins>
270 </pluginManagement>
271 </build>
272 </profile>
Dinh Danh Lea4a99222018-08-23 00:00:00 +0100273 </profiles>
liamfallona41c8772018-09-05 15:46:31 +0100274</project>