blob: b139f249418157d9627f69af7c2e1c07a5be1c1e [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
liamfallon3aa7cbe2018-10-31 16:35:54 +000021<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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 +010022 <modelVersion>4.0.0</modelVersion>
23 <parent>
24 <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId>
25 <artifactId>integration</artifactId>
liamfallon3aa7cbe2018-10-31 16:35:54 +000026 <version>2.1.0-SNAPSHOT</version>
waqas.ikram2816ea62018-06-27 16:16:42 +010027 </parent>
28
29 <artifactId>integration-uservice-test</artifactId>
30 <name>${project.artifactId}</name>
31 <description>Integration tests for Apex microservices</description>
32
33 <properties>
34 <activemq-version>5.15.4</activemq-version>
35 </properties>
36
37 <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>
44 <artifactId>core-engine</artifactId>
45 <version>${project.version}</version>
46 </dependency>
47 <dependency>
48 <groupId>org.onap.policy.apex-pdp.core</groupId>
49 <artifactId>core-deployment</artifactId>
50 <version>${project.version}</version>
51 </dependency>
52 <dependency>
53 <groupId>org.onap.policy.apex-pdp.context</groupId>
waqas.ikram3f300de2018-07-05 18:57:02 +010054 <artifactId>context-test-utils</artifactId>
waqas.ikram2816ea62018-06-27 16:16:42 +010055 <version>${project.version}</version>
56 <scope>test</scope>
57 </dependency>
58 <dependency>
liamfallonb109c212018-07-18 11:23:20 +010059 <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-schema</groupId>
60 <artifactId>plugins-context-schema-avro</artifactId>
waqas.ikram2816ea62018-06-27 16:16:42 +010061 <version>${project.version}</version>
62 <scope>test</scope>
63 </dependency>
64 <dependency>
65 <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId>
waqas.ikram2816ea62018-06-27 16:16:42 +010066 <artifactId>plugins-executor-javascript</artifactId>
67 <version>${project.version}</version>
68 <scope>test</scope>
69 </dependency>
70 <dependency>
liamfallonda727fa2018-11-15 22:07:45 +000071 <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId>
72 <artifactId>plugins-executor-mvel</artifactId>
73 <version>${project.version}</version>
74 <scope>test</scope>
75 </dependency>
76 <dependency>
liamfallonb109c212018-07-18 11:23:20 +010077 <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-distribution</groupId>
78 <artifactId>plugins-context-distribution-infinispan</artifactId>
waqas.ikram2816ea62018-06-27 16:16:42 +010079 <version>${project.version}</version>
80 <scope>test</scope>
81 </dependency>
82 <dependency>
83 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
84 <artifactId>plugins-event-carrier-kafka</artifactId>
85 <version>${project.version}</version>
86 <scope>test</scope>
87 </dependency>
88 <dependency>
89 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
90 <artifactId>plugins-event-carrier-websocket</artifactId>
91 <version>${project.version}</version>
92 <scope>test</scope>
93 </dependency>
94 <dependency>
95 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
96 <artifactId>plugins-event-carrier-jms</artifactId>
97 <version>${project.version}</version>
98 <scope>test</scope>
99 </dependency>
100 <dependency>
101 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
102 <artifactId>plugins-event-carrier-restclient</artifactId>
103 <version>${project.version}</version>
104 <scope>test</scope>
105 </dependency>
106 <dependency>
107 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
108 <artifactId>plugins-event-carrier-restserver</artifactId>
109 <version>${project.version}</version>
110 <scope>test</scope>
111 </dependency>
112 <dependency>
113 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
114 <artifactId>plugins-event-carrier-restrequestor</artifactId>
115 <version>${project.version}</version>
116 <scope>test</scope>
117 </dependency>
118 <dependency>
119 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-protocol</groupId>
120 <artifactId>plugins-event-protocol-xml</artifactId>
121 <version>${project.version}</version>
122 <scope>test</scope>
123 </dependency>
124 <dependency>
125 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-protocol</groupId>
126 <artifactId>plugins-event-protocol-jms</artifactId>
127 <version>${project.version}</version>
128 <scope>test</scope>
129 </dependency>
130 <dependency>
131 <groupId>org.onap.policy.apex-pdp.auth</groupId>
132 <artifactId>cli-editor</artifactId>
133 <version>${project.version}</version>
134 <scope>test</scope>
135 </dependency>
136 <dependency>
137 <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId>
138 <artifactId>integration-common</artifactId>
139 <version>${project.version}</version>
140 <scope>test</scope>
141 </dependency>
142 <dependency>
143 <groupId>org.apache.kafka</groupId>
liamfallone13ff2c2018-09-14 23:05:56 +0100144 <artifactId>kafka_2.12</artifactId>
liamfallon4d6fc382018-06-27 12:50:17 +0100145 <version>${version.kafka}</version>
waqas.ikram2816ea62018-06-27 16:16:42 +0100146 <scope>test</scope>
waqas.ikram2816ea62018-06-27 16:16:42 +0100147 </dependency>
148 <dependency>
liamfallone13ff2c2018-09-14 23:05:56 +0100149 <groupId>com.salesforce.kafka.test</groupId>
150 <artifactId>kafka-junit4</artifactId>
151 <version>3.0.1</version>
waqas.ikram2816ea62018-06-27 16:16:42 +0100152 <scope>test</scope>
waqas.ikram2816ea62018-06-27 16:16:42 +0100153 </dependency>
154 <dependency>
155 <groupId>org.apache.activemq.tooling</groupId>
156 <artifactId>activemq-junit</artifactId>
157 <version>${activemq-version}</version>
158 <scope>test</scope>
159 </dependency>
160 <dependency>
161 <groupId>org.apache.activemq</groupId>
162 <artifactId>activemq-broker</artifactId>
163 <version>${activemq-version}</version>
164 <scope>test</scope>
165 </dependency>
166 <dependency>
167 <groupId>org.apache.activemq</groupId>
168 <artifactId>activemq-jaas</artifactId>
169 <version>${activemq-version}</version>
170 <scope>test</scope>
171 </dependency>
172
173 <dependency>
174 <groupId>org.glassfish.jersey.core</groupId>
175 <artifactId>jersey-client</artifactId>
liamfallona40a3832018-07-06 09:41:40 +0100176 <version>${version.jersey}</version>
waqas.ikram2816ea62018-06-27 16:16:42 +0100177 </dependency>
178 <dependency>
179 <groupId>org.glassfish.jersey.containers</groupId>
180 <artifactId>jersey-container-grizzly2-http</artifactId>
liamfallona40a3832018-07-06 09:41:40 +0100181 <version>${version.jersey}</version>
waqas.ikram2816ea62018-06-27 16:16:42 +0100182 <scope>test</scope>
183 </dependency>
184 <dependency>
185 <groupId>org.glassfish.jersey.containers</groupId>
186 <artifactId>jersey-container-servlet-core</artifactId>
liamfallona40a3832018-07-06 09:41:40 +0100187 <version>${version.jersey}</version>
waqas.ikram2816ea62018-06-27 16:16:42 +0100188 </dependency>
189 </dependencies>
190
191 <build>
192 <plugins>
liamfallon53d89162018-11-06 12:02:46 +0000193 <!-- Copy required resources and examples -->
194 <plugin>
195 <groupId>org.apache.maven.plugins</groupId>
196 <artifactId>maven-dependency-plugin</artifactId>
197 <executions>
198 <execution>
199 <id>unpack-examples</id>
200 <phase>generate-test-resources</phase>
201 <goals>
202 <goal>unpack</goal>
203 </goals>
204 <configuration>
205 <artifactItems>
206 <artifactItem>
207 <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId>
208 <artifactId>integration-common</artifactId>
209 <version>${project.version}</version>
210 <type>jar</type>
211 <overWrite>false</overWrite>
212 <outputDirectory>${project.build.directory}</outputDirectory>
213 <includes>examples/**/*</includes>
214 </artifactItem>
215 </artifactItems>
216 <overWriteReleases>true</overWriteReleases>
217 <overWriteSnapshots>true</overWriteSnapshots>
218 </configuration>
219 </execution>
220 </executions>
221 </plugin>
waqas.ikram2816ea62018-06-27 16:16:42 +0100222 <plugin>
223 <groupId>org.apache.maven.plugins</groupId>
224 <artifactId>maven-surefire-plugin</artifactId>
225 <configuration>
liamfallon53d89162018-11-06 12:02:46 +0000226 <reuseForks>false</reuseForks>
waqas.ikram2816ea62018-06-27 16:16:42 +0100227 </configuration>
228 </plugin>
229 </plugins>
230 </build>
231
Dinh Danh Lea4a99222018-08-23 00:00:00 +0100232 <profiles>
liamfallon32497612018-11-10 00:39:12 +0000233 <profile>
234 <id>only-eclipse</id>
235 <activation>
236 <property>
237 <name>m2e.version</name>
238 </property>
239 </activation>
240 <build>
241 <pluginManagement>
242 <plugins>
243 <plugin>
244 <groupId>org.eclipse.m2e</groupId>
245 <artifactId>lifecycle-mapping</artifactId>
246 <version>1.0.0</version>
247 <configuration>
248 <lifecycleMappingMetadata>
249 <pluginExecutions>
250 <pluginExecution>
251 <pluginExecutionFilter>
252 <groupId>org.apache.maven.plugins</groupId>
253 <artifactId>maven-dependency-plugin</artifactId>
254 <versionRange>[2.0,)</versionRange>
255 <goals>
256 <goal>unpack</goal>
257 </goals>
258 </pluginExecutionFilter>
259 <action>
260 <ignore />
261 </action>
262 </pluginExecution>
263 </pluginExecutions>
264 </lifecycleMappingMetadata>
265 </configuration>
266 </plugin>
267 </plugins>
268 </pluginManagement>
269 </build>
270 </profile>
271
Dinh Danh Lea4a99222018-08-23 00:00:00 +0100272 <profile>
273 <id>apexSite</id>
274 <activation>
275 <property>
276 <name>apexSite</name>
277 </property>
278 </activation>
279 <distributionManagement>
280 <site>
281 <id>${project.artifactId}-site</id>
282 <url>${apex.adsite.prefix}/modules/testsuites/${project.parent.artifactId}/${project.artifactId}/</url>
283 </site>
284 </distributionManagement>
285 </profile>
286 </profiles>
liamfallona41c8772018-09-05 15:46:31 +0100287</project>