blob: 34fb2a9a9d1707a17395f6e2aca99aa0ff1fc296 [file] [log] [blame]
waqas.ikram2816ea62018-06-27 16:16:42 +01001<!--
2 ============LICENSE_START=======================================================
3 Copyright (C) 2018 Ericsson. All rights reserved.
4 ================================================================================
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16
17 SPDX-License-Identifier: Apache-2.0
18 ============LICENSE_END=========================================================
19-->
20
liamfallonadf67492019-07-10 19:44:39 +000021<project xmlns="http://maven.apache.org/POM/4.0.0" 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">
waqas.ikram2816ea62018-06-27 16:16:42 +010023 <modelVersion>4.0.0</modelVersion>
24 <parent>
25 <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId>
26 <artifactId>integration</artifactId>
jrh3d7a0af72019-08-07 15:27:11 -040027 <version>2.2.2-SNAPSHOT</version>
waqas.ikram2816ea62018-06-27 16:16:42 +010028 </parent>
29
30 <artifactId>integration-uservice-test</artifactId>
31 <name>${project.artifactId}</name>
32 <description>Integration tests for Apex microservices</description>
33
34 <properties>
35 <activemq-version>5.15.4</activemq-version>
36 </properties>
37
38 <dependencies>
39 <dependency>
liamfallonefdaa0d2018-08-03 16:12:01 +010040 <groupId>org.onap.policy.common</groupId>
41 <artifactId>utils</artifactId>
42 </dependency>
43 <dependency>
waqas.ikram2816ea62018-06-27 16:16:42 +010044 <groupId>org.onap.policy.apex-pdp.core</groupId>
45 <artifactId>core-engine</artifactId>
46 <version>${project.version}</version>
47 </dependency>
48 <dependency>
49 <groupId>org.onap.policy.apex-pdp.core</groupId>
50 <artifactId>core-deployment</artifactId>
51 <version>${project.version}</version>
52 </dependency>
53 <dependency>
liamfallonb109c212018-07-18 11:23:20 +010054 <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-schema</groupId>
55 <artifactId>plugins-context-schema-avro</artifactId>
waqas.ikram2816ea62018-06-27 16:16:42 +010056 <version>${project.version}</version>
57 <scope>test</scope>
58 </dependency>
59 <dependency>
60 <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId>
waqas.ikram2816ea62018-06-27 16:16:42 +010061 <artifactId>plugins-executor-javascript</artifactId>
62 <version>${project.version}</version>
63 <scope>test</scope>
64 </dependency>
65 <dependency>
liamfallonda727fa2018-11-15 22:07:45 +000066 <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId>
67 <artifactId>plugins-executor-mvel</artifactId>
68 <version>${project.version}</version>
69 <scope>test</scope>
70 </dependency>
71 <dependency>
liamfallonb109c212018-07-18 11:23:20 +010072 <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-distribution</groupId>
73 <artifactId>plugins-context-distribution-infinispan</artifactId>
waqas.ikram2816ea62018-06-27 16:16:42 +010074 <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>
79 <artifactId>plugins-event-carrier-kafka</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-websocket</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-jms</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-restclient</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-carrier</groupId>
103 <artifactId>plugins-event-carrier-restserver</artifactId>
104 <version>${project.version}</version>
105 <scope>test</scope>
106 </dependency>
107 <dependency>
108 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
109 <artifactId>plugins-event-carrier-restrequestor</artifactId>
110 <version>${project.version}</version>
111 <scope>test</scope>
112 </dependency>
113 <dependency>
114 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-protocol</groupId>
115 <artifactId>plugins-event-protocol-xml</artifactId>
116 <version>${project.version}</version>
117 <scope>test</scope>
118 </dependency>
119 <dependency>
120 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-protocol</groupId>
121 <artifactId>plugins-event-protocol-jms</artifactId>
122 <version>${project.version}</version>
123 <scope>test</scope>
124 </dependency>
125 <dependency>
126 <groupId>org.onap.policy.apex-pdp.auth</groupId>
127 <artifactId>cli-editor</artifactId>
128 <version>${project.version}</version>
129 <scope>test</scope>
130 </dependency>
131 <dependency>
132 <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId>
133 <artifactId>integration-common</artifactId>
134 <version>${project.version}</version>
135 <scope>test</scope>
136 </dependency>
137 <dependency>
138 <groupId>org.apache.kafka</groupId>
liamfallone13ff2c2018-09-14 23:05:56 +0100139 <artifactId>kafka_2.12</artifactId>
liamfallon4d6fc382018-06-27 12:50:17 +0100140 <version>${version.kafka}</version>
waqas.ikram2816ea62018-06-27 16:16:42 +0100141 <scope>test</scope>
liamfallonadf67492019-07-10 19:44:39 +0000142 <exclusions>
liamfallon2ba499f2019-04-15 15:31:55 +0000143 <!-- The default Zookeeper version in Kafka has vulnerabilities -->
144 <exclusion>
145 <groupId>org.apache.zookeeper</groupId>
146 <artifactId>zookeeper</artifactId>
147 </exclusion>
148 </exclusions>
waqas.ikram2816ea62018-06-27 16:16:42 +0100149 </dependency>
150 <dependency>
liamfallone13ff2c2018-09-14 23:05:56 +0100151 <groupId>com.salesforce.kafka.test</groupId>
152 <artifactId>kafka-junit4</artifactId>
153 <version>3.0.1</version>
waqas.ikram2816ea62018-06-27 16:16:42 +0100154 <scope>test</scope>
waqas.ikram2816ea62018-06-27 16:16:42 +0100155 </dependency>
156 <dependency>
157 <groupId>org.apache.activemq.tooling</groupId>
158 <artifactId>activemq-junit</artifactId>
159 <version>${activemq-version}</version>
160 <scope>test</scope>
161 </dependency>
162 <dependency>
163 <groupId>org.apache.activemq</groupId>
164 <artifactId>activemq-broker</artifactId>
165 <version>${activemq-version}</version>
166 <scope>test</scope>
167 </dependency>
168 <dependency>
169 <groupId>org.apache.activemq</groupId>
170 <artifactId>activemq-jaas</artifactId>
171 <version>${activemq-version}</version>
172 <scope>test</scope>
173 </dependency>
174
175 <dependency>
176 <groupId>org.glassfish.jersey.core</groupId>
177 <artifactId>jersey-client</artifactId>
liamfallona40a3832018-07-06 09:41:40 +0100178 <version>${version.jersey}</version>
waqas.ikram2816ea62018-06-27 16:16:42 +0100179 </dependency>
180 <dependency>
181 <groupId>org.glassfish.jersey.containers</groupId>
182 <artifactId>jersey-container-grizzly2-http</artifactId>
liamfallona40a3832018-07-06 09:41:40 +0100183 <version>${version.jersey}</version>
waqas.ikram2816ea62018-06-27 16:16:42 +0100184 <scope>test</scope>
185 </dependency>
186 <dependency>
liamfallonadf67492019-07-10 19:44:39 +0000187 <groupId>org.awaitility</groupId>
188 <artifactId>awaitility</artifactId>
189 <version>3.0.0</version>
190 <scope>test</scope>
191 </dependency>
192
193 <dependency>
waqas.ikram2816ea62018-06-27 16:16:42 +0100194 <groupId>org.glassfish.jersey.containers</groupId>
195 <artifactId>jersey-container-servlet-core</artifactId>
liamfallona40a3832018-07-06 09:41:40 +0100196 <version>${version.jersey}</version>
waqas.ikram2816ea62018-06-27 16:16:42 +0100197 </dependency>
liamfallon5b97cd42018-12-08 11:27:17 +0000198 <dependency>
199 <groupId>org.glassfish.jersey.inject</groupId>
200 <artifactId>jersey-hk2</artifactId>
201 <version>${version.jersey}</version>
202 </dependency>
waqas.ikram2816ea62018-06-27 16:16:42 +0100203 </dependencies>
204
205 <build>
206 <plugins>
liamfallon53d89162018-11-06 12:02:46 +0000207 <!-- Copy required resources and examples -->
208 <plugin>
209 <groupId>org.apache.maven.plugins</groupId>
210 <artifactId>maven-dependency-plugin</artifactId>
211 <executions>
212 <execution>
213 <id>unpack-examples</id>
214 <phase>generate-test-resources</phase>
215 <goals>
216 <goal>unpack</goal>
217 </goals>
218 <configuration>
219 <artifactItems>
220 <artifactItem>
221 <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId>
222 <artifactId>integration-common</artifactId>
223 <version>${project.version}</version>
224 <type>jar</type>
225 <overWrite>false</overWrite>
226 <outputDirectory>${project.build.directory}</outputDirectory>
227 <includes>examples/**/*</includes>
228 </artifactItem>
229 </artifactItems>
230 <overWriteReleases>true</overWriteReleases>
231 <overWriteSnapshots>true</overWriteSnapshots>
232 </configuration>
233 </execution>
234 </executions>
235 </plugin>
waqas.ikram2816ea62018-06-27 16:16:42 +0100236 <plugin>
237 <groupId>org.apache.maven.plugins</groupId>
238 <artifactId>maven-surefire-plugin</artifactId>
239 <configuration>
liamfallon53d89162018-11-06 12:02:46 +0000240 <reuseForks>false</reuseForks>
waqas.ikram2816ea62018-06-27 16:16:42 +0100241 </configuration>
242 </plugin>
243 </plugins>
244 </build>
245
Dinh Danh Lea4a99222018-08-23 00:00:00 +0100246 <profiles>
liamfallonadf67492019-07-10 19:44:39 +0000247 <profile>
liamfallon32497612018-11-10 00:39:12 +0000248 <id>only-eclipse</id>
249 <activation>
250 <property>
251 <name>m2e.version</name>
252 </property>
253 </activation>
254 <build>
255 <pluginManagement>
256 <plugins>
257 <plugin>
258 <groupId>org.eclipse.m2e</groupId>
259 <artifactId>lifecycle-mapping</artifactId>
260 <version>1.0.0</version>
261 <configuration>
262 <lifecycleMappingMetadata>
263 <pluginExecutions>
264 <pluginExecution>
265 <pluginExecutionFilter>
266 <groupId>org.apache.maven.plugins</groupId>
267 <artifactId>maven-dependency-plugin</artifactId>
268 <versionRange>[2.0,)</versionRange>
269 <goals>
270 <goal>unpack</goal>
271 </goals>
272 </pluginExecutionFilter>
273 <action>
274 <ignore />
275 </action>
276 </pluginExecution>
277 </pluginExecutions>
278 </lifecycleMappingMetadata>
279 </configuration>
280 </plugin>
281 </plugins>
282 </pluginManagement>
283 </build>
284 </profile>
285
Dinh Danh Lea4a99222018-08-23 00:00:00 +0100286 <profile>
287 <id>apexSite</id>
288 <activation>
289 <property>
290 <name>apexSite</name>
291 </property>
292 </activation>
293 <distributionManagement>
294 <site>
295 <id>${project.artifactId}-site</id>
296 <url>${apex.adsite.prefix}/modules/testsuites/${project.parent.artifactId}/${project.artifactId}/</url>
297 </site>
298 </distributionManagement>
299 </profile>
300 </profiles>
liamfallona41c8772018-09-05 15:46:31 +0100301</project>