blob: 323b5806e3fcd1add00335bfb20977d827aef788 [file] [log] [blame]
waqas.ikram2816ea62018-06-27 16:16:42 +01001<!--
2 ============LICENSE_START=======================================================
3 Copyright (C) 2018 Ericsson. All rights reserved.
liamfallon35840d82020-02-25 16:10:08 +00004 Modifications Copyright (C) 2019-2020 Nordix Foundation.
Ram Krishna Vermaeee939f2020-04-03 14:26:15 -04005 Modifications Copyright (C) 2020 Bell Canada.
waqas.ikram2816ea62018-06-27 16:16:42 +01006 ================================================================================
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18
19 SPDX-License-Identifier: Apache-2.0
20 ============LICENSE_END=========================================================
21-->
22
liamfallonadf67492019-07-10 19:44:39 +000023<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24 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 +010025 <modelVersion>4.0.0</modelVersion>
26 <parent>
27 <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId>
liamfallon35840d82020-02-25 16:10:08 +000028 <artifactId>apex-integration</artifactId>
a.sreekumarf1f9a302020-03-25 23:01:06 +000029 <version>2.3.1-SNAPSHOT</version>
waqas.ikram2816ea62018-06-27 16:16:42 +010030 </parent>
31
32 <artifactId>integration-uservice-test</artifactId>
33 <name>${project.artifactId}</name>
34 <description>Integration tests for Apex microservices</description>
35
36 <properties>
37 <activemq-version>5.15.4</activemq-version>
38 </properties>
39
40 <dependencies>
41 <dependency>
liamfallonefdaa0d2018-08-03 16:12:01 +010042 <groupId>org.onap.policy.common</groupId>
43 <artifactId>utils</artifactId>
44 </dependency>
45 <dependency>
waqas.ikram2816ea62018-06-27 16:16:42 +010046 <groupId>org.onap.policy.apex-pdp.core</groupId>
47 <artifactId>core-engine</artifactId>
48 <version>${project.version}</version>
49 </dependency>
50 <dependency>
51 <groupId>org.onap.policy.apex-pdp.core</groupId>
52 <artifactId>core-deployment</artifactId>
53 <version>${project.version}</version>
54 </dependency>
55 <dependency>
liamfallonb109c212018-07-18 11:23:20 +010056 <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-schema</groupId>
57 <artifactId>plugins-context-schema-avro</artifactId>
waqas.ikram2816ea62018-06-27 16:16:42 +010058 <version>${project.version}</version>
59 <scope>test</scope>
60 </dependency>
61 <dependency>
62 <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId>
waqas.ikram2816ea62018-06-27 16:16:42 +010063 <artifactId>plugins-executor-javascript</artifactId>
64 <version>${project.version}</version>
65 <scope>test</scope>
66 </dependency>
67 <dependency>
liamfallonda727fa2018-11-15 22:07:45 +000068 <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId>
69 <artifactId>plugins-executor-mvel</artifactId>
70 <version>${project.version}</version>
71 <scope>test</scope>
72 </dependency>
73 <dependency>
liamfallonb109c212018-07-18 11:23:20 +010074 <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-distribution</groupId>
75 <artifactId>plugins-context-distribution-infinispan</artifactId>
waqas.ikram2816ea62018-06-27 16:16:42 +010076 <version>${project.version}</version>
77 <scope>test</scope>
78 </dependency>
79 <dependency>
80 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
81 <artifactId>plugins-event-carrier-kafka</artifactId>
82 <version>${project.version}</version>
83 <scope>test</scope>
84 </dependency>
85 <dependency>
86 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
87 <artifactId>plugins-event-carrier-websocket</artifactId>
88 <version>${project.version}</version>
89 <scope>test</scope>
90 </dependency>
91 <dependency>
92 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
93 <artifactId>plugins-event-carrier-jms</artifactId>
94 <version>${project.version}</version>
95 <scope>test</scope>
96 </dependency>
97 <dependency>
98 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
99 <artifactId>plugins-event-carrier-restclient</artifactId>
100 <version>${project.version}</version>
101 <scope>test</scope>
102 </dependency>
103 <dependency>
104 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
105 <artifactId>plugins-event-carrier-restserver</artifactId>
106 <version>${project.version}</version>
107 <scope>test</scope>
108 </dependency>
109 <dependency>
110 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
111 <artifactId>plugins-event-carrier-restrequestor</artifactId>
112 <version>${project.version}</version>
113 <scope>test</scope>
114 </dependency>
115 <dependency>
116 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-protocol</groupId>
117 <artifactId>plugins-event-protocol-xml</artifactId>
118 <version>${project.version}</version>
119 <scope>test</scope>
120 </dependency>
121 <dependency>
122 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-protocol</groupId>
123 <artifactId>plugins-event-protocol-jms</artifactId>
124 <version>${project.version}</version>
125 <scope>test</scope>
126 </dependency>
127 <dependency>
128 <groupId>org.onap.policy.apex-pdp.auth</groupId>
129 <artifactId>cli-editor</artifactId>
130 <version>${project.version}</version>
131 <scope>test</scope>
132 </dependency>
133 <dependency>
134 <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId>
135 <artifactId>integration-common</artifactId>
136 <version>${project.version}</version>
137 <scope>test</scope>
138 </dependency>
139 <dependency>
140 <groupId>org.apache.kafka</groupId>
liamfallone13ff2c2018-09-14 23:05:56 +0100141 <artifactId>kafka_2.12</artifactId>
liamfallon4d6fc382018-06-27 12:50:17 +0100142 <version>${version.kafka}</version>
waqas.ikram2816ea62018-06-27 16:16:42 +0100143 <scope>test</scope>
liamfallonadf67492019-07-10 19:44:39 +0000144 <exclusions>
liamfallon2ba499f2019-04-15 15:31:55 +0000145 <!-- The default Zookeeper version in Kafka has vulnerabilities -->
146 <exclusion>
147 <groupId>org.apache.zookeeper</groupId>
148 <artifactId>zookeeper</artifactId>
149 </exclusion>
150 </exclusions>
waqas.ikram2816ea62018-06-27 16:16:42 +0100151 </dependency>
152 <dependency>
liamfallone13ff2c2018-09-14 23:05:56 +0100153 <groupId>com.salesforce.kafka.test</groupId>
154 <artifactId>kafka-junit4</artifactId>
155 <version>3.0.1</version>
waqas.ikram2816ea62018-06-27 16:16:42 +0100156 <scope>test</scope>
Ram Krishna Vermaeee939f2020-04-03 14:26:15 -0400157 <exclusions>
158 <!-- The default netty version in kafka-junit4 has vulnerabilities -->
159 <exclusion>
160 <groupId>io.netty</groupId>
161 <artifactId>*</artifactId>
162 </exclusion>
163 </exclusions>
164 </dependency>
165 <!-- This netty version fixes the vulnerabilities -->
166 <dependency>
167 <groupId>io.netty</groupId>
168 <artifactId>netty-all</artifactId>
waqas.ikram2816ea62018-06-27 16:16:42 +0100169 </dependency>
170 <dependency>
171 <groupId>org.apache.activemq.tooling</groupId>
172 <artifactId>activemq-junit</artifactId>
173 <version>${activemq-version}</version>
174 <scope>test</scope>
175 </dependency>
176 <dependency>
177 <groupId>org.apache.activemq</groupId>
178 <artifactId>activemq-broker</artifactId>
179 <version>${activemq-version}</version>
180 <scope>test</scope>
181 </dependency>
182 <dependency>
183 <groupId>org.apache.activemq</groupId>
184 <artifactId>activemq-jaas</artifactId>
185 <version>${activemq-version}</version>
186 <scope>test</scope>
187 </dependency>
waqas.ikram2816ea62018-06-27 16:16:42 +0100188 <dependency>
liamfallonadf67492019-07-10 19:44:39 +0000189 <groupId>org.awaitility</groupId>
190 <artifactId>awaitility</artifactId>
liamfallonadf67492019-07-10 19:44:39 +0000191 <scope>test</scope>
192 </dependency>
waqas.ikram2816ea62018-06-27 16:16:42 +0100193 </dependencies>
194
195 <build>
196 <plugins>
liamfallon53d89162018-11-06 12:02:46 +0000197 <!-- Copy required resources and examples -->
198 <plugin>
199 <groupId>org.apache.maven.plugins</groupId>
200 <artifactId>maven-dependency-plugin</artifactId>
201 <executions>
202 <execution>
203 <id>unpack-examples</id>
204 <phase>generate-test-resources</phase>
205 <goals>
206 <goal>unpack</goal>
207 </goals>
208 <configuration>
209 <artifactItems>
210 <artifactItem>
211 <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId>
212 <artifactId>integration-common</artifactId>
213 <version>${project.version}</version>
214 <type>jar</type>
215 <overWrite>false</overWrite>
216 <outputDirectory>${project.build.directory}</outputDirectory>
217 <includes>examples/**/*</includes>
218 </artifactItem>
219 </artifactItems>
220 <overWriteReleases>true</overWriteReleases>
221 <overWriteSnapshots>true</overWriteSnapshots>
222 </configuration>
223 </execution>
224 </executions>
225 </plugin>
waqas.ikram2816ea62018-06-27 16:16:42 +0100226 <plugin>
227 <groupId>org.apache.maven.plugins</groupId>
228 <artifactId>maven-surefire-plugin</artifactId>
229 <configuration>
liamfallon53d89162018-11-06 12:02:46 +0000230 <reuseForks>false</reuseForks>
waqas.ikram2816ea62018-06-27 16:16:42 +0100231 </configuration>
232 </plugin>
233 </plugins>
234 </build>
235
Dinh Danh Lea4a99222018-08-23 00:00:00 +0100236 <profiles>
liamfallonadf67492019-07-10 19:44:39 +0000237 <profile>
liamfallon32497612018-11-10 00:39:12 +0000238 <id>only-eclipse</id>
239 <activation>
240 <property>
241 <name>m2e.version</name>
242 </property>
243 </activation>
244 <build>
245 <pluginManagement>
246 <plugins>
247 <plugin>
248 <groupId>org.eclipse.m2e</groupId>
249 <artifactId>lifecycle-mapping</artifactId>
250 <version>1.0.0</version>
251 <configuration>
252 <lifecycleMappingMetadata>
253 <pluginExecutions>
254 <pluginExecution>
255 <pluginExecutionFilter>
256 <groupId>org.apache.maven.plugins</groupId>
257 <artifactId>maven-dependency-plugin</artifactId>
258 <versionRange>[2.0,)</versionRange>
259 <goals>
260 <goal>unpack</goal>
261 </goals>
262 </pluginExecutionFilter>
263 <action>
264 <ignore />
265 </action>
266 </pluginExecution>
267 </pluginExecutions>
268 </lifecycleMappingMetadata>
269 </configuration>
270 </plugin>
271 </plugins>
272 </pluginManagement>
273 </build>
274 </profile>
275
Dinh Danh Lea4a99222018-08-23 00:00:00 +0100276 <profile>
277 <id>apexSite</id>
278 <activation>
279 <property>
280 <name>apexSite</name>
281 </property>
282 </activation>
283 <distributionManagement>
284 <site>
285 <id>${project.artifactId}-site</id>
286 <url>${apex.adsite.prefix}/modules/testsuites/${project.parent.artifactId}/${project.artifactId}/</url>
287 </site>
288 </distributionManagement>
289 </profile>
290 </profiles>
liamfallona41c8772018-09-05 15:46:31 +0100291</project>