blob: c1d76b02dc9678829c354c256b41d6fe8d37fe2a [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.
waqas.ikram2816ea62018-06-27 16:16:42 +01005 ================================================================================
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
18 SPDX-License-Identifier: Apache-2.0
19 ============LICENSE_END=========================================================
20-->
21
liamfallonadf67492019-07-10 19:44:39 +000022<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23 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 +010024 <modelVersion>4.0.0</modelVersion>
25 <parent>
26 <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId>
liamfallon35840d82020-02-25 16:10:08 +000027 <artifactId>apex-integration</artifactId>
jrh3d7d9df62019-09-12 10:07:06 -040028 <version>2.3.0-SNAPSHOT</version>
waqas.ikram2816ea62018-06-27 16:16:42 +010029 </parent>
30
31 <artifactId>integration-uservice-test</artifactId>
32 <name>${project.artifactId}</name>
33 <description>Integration tests for Apex microservices</description>
34
35 <properties>
36 <activemq-version>5.15.4</activemq-version>
37 </properties>
38
39 <dependencies>
40 <dependency>
liamfallonefdaa0d2018-08-03 16:12:01 +010041 <groupId>org.onap.policy.common</groupId>
42 <artifactId>utils</artifactId>
43 </dependency>
44 <dependency>
waqas.ikram2816ea62018-06-27 16:16:42 +010045 <groupId>org.onap.policy.apex-pdp.core</groupId>
46 <artifactId>core-engine</artifactId>
47 <version>${project.version}</version>
48 </dependency>
49 <dependency>
50 <groupId>org.onap.policy.apex-pdp.core</groupId>
51 <artifactId>core-deployment</artifactId>
52 <version>${project.version}</version>
53 </dependency>
54 <dependency>
liamfallonb109c212018-07-18 11:23:20 +010055 <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-schema</groupId>
56 <artifactId>plugins-context-schema-avro</artifactId>
waqas.ikram2816ea62018-06-27 16:16:42 +010057 <version>${project.version}</version>
58 <scope>test</scope>
59 </dependency>
60 <dependency>
61 <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId>
waqas.ikram2816ea62018-06-27 16:16:42 +010062 <artifactId>plugins-executor-javascript</artifactId>
63 <version>${project.version}</version>
64 <scope>test</scope>
65 </dependency>
66 <dependency>
liamfallonda727fa2018-11-15 22:07:45 +000067 <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId>
68 <artifactId>plugins-executor-mvel</artifactId>
69 <version>${project.version}</version>
70 <scope>test</scope>
71 </dependency>
72 <dependency>
liamfallonb109c212018-07-18 11:23:20 +010073 <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-distribution</groupId>
74 <artifactId>plugins-context-distribution-infinispan</artifactId>
waqas.ikram2816ea62018-06-27 16:16:42 +010075 <version>${project.version}</version>
76 <scope>test</scope>
77 </dependency>
78 <dependency>
79 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
80 <artifactId>plugins-event-carrier-kafka</artifactId>
81 <version>${project.version}</version>
82 <scope>test</scope>
83 </dependency>
84 <dependency>
85 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
86 <artifactId>plugins-event-carrier-websocket</artifactId>
87 <version>${project.version}</version>
88 <scope>test</scope>
89 </dependency>
90 <dependency>
91 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
92 <artifactId>plugins-event-carrier-jms</artifactId>
93 <version>${project.version}</version>
94 <scope>test</scope>
95 </dependency>
96 <dependency>
97 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
98 <artifactId>plugins-event-carrier-restclient</artifactId>
99 <version>${project.version}</version>
100 <scope>test</scope>
101 </dependency>
102 <dependency>
103 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
104 <artifactId>plugins-event-carrier-restserver</artifactId>
105 <version>${project.version}</version>
106 <scope>test</scope>
107 </dependency>
108 <dependency>
109 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
110 <artifactId>plugins-event-carrier-restrequestor</artifactId>
111 <version>${project.version}</version>
112 <scope>test</scope>
113 </dependency>
114 <dependency>
115 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-protocol</groupId>
116 <artifactId>plugins-event-protocol-xml</artifactId>
117 <version>${project.version}</version>
118 <scope>test</scope>
119 </dependency>
120 <dependency>
121 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-protocol</groupId>
122 <artifactId>plugins-event-protocol-jms</artifactId>
123 <version>${project.version}</version>
124 <scope>test</scope>
125 </dependency>
126 <dependency>
127 <groupId>org.onap.policy.apex-pdp.auth</groupId>
128 <artifactId>cli-editor</artifactId>
129 <version>${project.version}</version>
130 <scope>test</scope>
131 </dependency>
132 <dependency>
133 <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId>
134 <artifactId>integration-common</artifactId>
135 <version>${project.version}</version>
136 <scope>test</scope>
137 </dependency>
138 <dependency>
139 <groupId>org.apache.kafka</groupId>
liamfallone13ff2c2018-09-14 23:05:56 +0100140 <artifactId>kafka_2.12</artifactId>
liamfallon4d6fc382018-06-27 12:50:17 +0100141 <version>${version.kafka}</version>
waqas.ikram2816ea62018-06-27 16:16:42 +0100142 <scope>test</scope>
liamfallonadf67492019-07-10 19:44:39 +0000143 <exclusions>
liamfallon2ba499f2019-04-15 15:31:55 +0000144 <!-- The default Zookeeper version in Kafka has vulnerabilities -->
145 <exclusion>
146 <groupId>org.apache.zookeeper</groupId>
147 <artifactId>zookeeper</artifactId>
148 </exclusion>
149 </exclusions>
waqas.ikram2816ea62018-06-27 16:16:42 +0100150 </dependency>
151 <dependency>
liamfallone13ff2c2018-09-14 23:05:56 +0100152 <groupId>com.salesforce.kafka.test</groupId>
153 <artifactId>kafka-junit4</artifactId>
154 <version>3.0.1</version>
waqas.ikram2816ea62018-06-27 16:16:42 +0100155 <scope>test</scope>
waqas.ikram2816ea62018-06-27 16:16:42 +0100156 </dependency>
157 <dependency>
158 <groupId>org.apache.activemq.tooling</groupId>
159 <artifactId>activemq-junit</artifactId>
160 <version>${activemq-version}</version>
161 <scope>test</scope>
162 </dependency>
163 <dependency>
164 <groupId>org.apache.activemq</groupId>
165 <artifactId>activemq-broker</artifactId>
166 <version>${activemq-version}</version>
167 <scope>test</scope>
168 </dependency>
169 <dependency>
170 <groupId>org.apache.activemq</groupId>
171 <artifactId>activemq-jaas</artifactId>
172 <version>${activemq-version}</version>
173 <scope>test</scope>
174 </dependency>
waqas.ikram2816ea62018-06-27 16:16:42 +0100175 <dependency>
liamfallonadf67492019-07-10 19:44:39 +0000176 <groupId>org.awaitility</groupId>
177 <artifactId>awaitility</artifactId>
liamfallonadf67492019-07-10 19:44:39 +0000178 <scope>test</scope>
179 </dependency>
waqas.ikram2816ea62018-06-27 16:16:42 +0100180 </dependencies>
181
182 <build>
183 <plugins>
liamfallon53d89162018-11-06 12:02:46 +0000184 <!-- Copy required resources and examples -->
185 <plugin>
186 <groupId>org.apache.maven.plugins</groupId>
187 <artifactId>maven-dependency-plugin</artifactId>
188 <executions>
189 <execution>
190 <id>unpack-examples</id>
191 <phase>generate-test-resources</phase>
192 <goals>
193 <goal>unpack</goal>
194 </goals>
195 <configuration>
196 <artifactItems>
197 <artifactItem>
198 <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId>
199 <artifactId>integration-common</artifactId>
200 <version>${project.version}</version>
201 <type>jar</type>
202 <overWrite>false</overWrite>
203 <outputDirectory>${project.build.directory}</outputDirectory>
204 <includes>examples/**/*</includes>
205 </artifactItem>
206 </artifactItems>
207 <overWriteReleases>true</overWriteReleases>
208 <overWriteSnapshots>true</overWriteSnapshots>
209 </configuration>
210 </execution>
211 </executions>
212 </plugin>
waqas.ikram2816ea62018-06-27 16:16:42 +0100213 <plugin>
214 <groupId>org.apache.maven.plugins</groupId>
215 <artifactId>maven-surefire-plugin</artifactId>
216 <configuration>
liamfallon53d89162018-11-06 12:02:46 +0000217 <reuseForks>false</reuseForks>
waqas.ikram2816ea62018-06-27 16:16:42 +0100218 </configuration>
219 </plugin>
220 </plugins>
221 </build>
222
Dinh Danh Lea4a99222018-08-23 00:00:00 +0100223 <profiles>
liamfallonadf67492019-07-10 19:44:39 +0000224 <profile>
liamfallon32497612018-11-10 00:39:12 +0000225 <id>only-eclipse</id>
226 <activation>
227 <property>
228 <name>m2e.version</name>
229 </property>
230 </activation>
231 <build>
232 <pluginManagement>
233 <plugins>
234 <plugin>
235 <groupId>org.eclipse.m2e</groupId>
236 <artifactId>lifecycle-mapping</artifactId>
237 <version>1.0.0</version>
238 <configuration>
239 <lifecycleMappingMetadata>
240 <pluginExecutions>
241 <pluginExecution>
242 <pluginExecutionFilter>
243 <groupId>org.apache.maven.plugins</groupId>
244 <artifactId>maven-dependency-plugin</artifactId>
245 <versionRange>[2.0,)</versionRange>
246 <goals>
247 <goal>unpack</goal>
248 </goals>
249 </pluginExecutionFilter>
250 <action>
251 <ignore />
252 </action>
253 </pluginExecution>
254 </pluginExecutions>
255 </lifecycleMappingMetadata>
256 </configuration>
257 </plugin>
258 </plugins>
259 </pluginManagement>
260 </build>
261 </profile>
262
Dinh Danh Lea4a99222018-08-23 00:00:00 +0100263 <profile>
264 <id>apexSite</id>
265 <activation>
266 <property>
267 <name>apexSite</name>
268 </property>
269 </activation>
270 <distributionManagement>
271 <site>
272 <id>${project.artifactId}-site</id>
273 <url>${apex.adsite.prefix}/modules/testsuites/${project.parent.artifactId}/${project.artifactId}/</url>
274 </site>
275 </distributionManagement>
276 </profile>
277 </profiles>
liamfallona41c8772018-09-05 15:46:31 +0100278</project>