waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 1 | <!-- |
| 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 | |
liamfallon | 3aa7cbe | 2018-10-31 16:35:54 +0000 | [diff] [blame] | 21 | <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.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 22 | <modelVersion>4.0.0</modelVersion> |
| 23 | <parent> |
| 24 | <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId> |
| 25 | <artifactId>integration</artifactId> |
liamfallon | 3aa7cbe | 2018-10-31 16:35:54 +0000 | [diff] [blame] | 26 | <version>2.1.0-SNAPSHOT</version> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 27 | </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> |
liamfallon | efdaa0d | 2018-08-03 16:12:01 +0100 | [diff] [blame] | 39 | <groupId>org.onap.policy.common</groupId> |
| 40 | <artifactId>utils</artifactId> |
| 41 | </dependency> |
| 42 | <dependency> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 43 | <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.ikram | 3f300de | 2018-07-05 18:57:02 +0100 | [diff] [blame] | 54 | <artifactId>context-test-utils</artifactId> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 55 | <version>${project.version}</version> |
| 56 | <scope>test</scope> |
| 57 | </dependency> |
| 58 | <dependency> |
liamfallon | b109c21 | 2018-07-18 11:23:20 +0100 | [diff] [blame] | 59 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-schema</groupId> |
| 60 | <artifactId>plugins-context-schema-avro</artifactId> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 61 | <version>${project.version}</version> |
| 62 | <scope>test</scope> |
| 63 | </dependency> |
| 64 | <dependency> |
| 65 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 66 | <artifactId>plugins-executor-javascript</artifactId> |
| 67 | <version>${project.version}</version> |
| 68 | <scope>test</scope> |
| 69 | </dependency> |
| 70 | <dependency> |
liamfallon | da727fa | 2018-11-15 22:07:45 +0000 | [diff] [blame^] | 71 | <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> |
liamfallon | b109c21 | 2018-07-18 11:23:20 +0100 | [diff] [blame] | 77 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-distribution</groupId> |
| 78 | <artifactId>plugins-context-distribution-infinispan</artifactId> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 79 | <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> |
liamfallon | e13ff2c | 2018-09-14 23:05:56 +0100 | [diff] [blame] | 144 | <artifactId>kafka_2.12</artifactId> |
liamfallon | 4d6fc38 | 2018-06-27 12:50:17 +0100 | [diff] [blame] | 145 | <version>${version.kafka}</version> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 146 | <scope>test</scope> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 147 | </dependency> |
| 148 | <dependency> |
liamfallon | e13ff2c | 2018-09-14 23:05:56 +0100 | [diff] [blame] | 149 | <groupId>com.salesforce.kafka.test</groupId> |
| 150 | <artifactId>kafka-junit4</artifactId> |
| 151 | <version>3.0.1</version> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 152 | <scope>test</scope> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 153 | </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> |
liamfallon | a40a383 | 2018-07-06 09:41:40 +0100 | [diff] [blame] | 176 | <version>${version.jersey}</version> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 177 | </dependency> |
| 178 | <dependency> |
| 179 | <groupId>org.glassfish.jersey.containers</groupId> |
| 180 | <artifactId>jersey-container-grizzly2-http</artifactId> |
liamfallon | a40a383 | 2018-07-06 09:41:40 +0100 | [diff] [blame] | 181 | <version>${version.jersey}</version> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 182 | <scope>test</scope> |
| 183 | </dependency> |
| 184 | <dependency> |
| 185 | <groupId>org.glassfish.jersey.containers</groupId> |
| 186 | <artifactId>jersey-container-servlet-core</artifactId> |
liamfallon | a40a383 | 2018-07-06 09:41:40 +0100 | [diff] [blame] | 187 | <version>${version.jersey}</version> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 188 | </dependency> |
| 189 | </dependencies> |
| 190 | |
| 191 | <build> |
| 192 | <plugins> |
liamfallon | 53d8916 | 2018-11-06 12:02:46 +0000 | [diff] [blame] | 193 | <!-- 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.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 222 | <plugin> |
| 223 | <groupId>org.apache.maven.plugins</groupId> |
| 224 | <artifactId>maven-surefire-plugin</artifactId> |
| 225 | <configuration> |
liamfallon | 53d8916 | 2018-11-06 12:02:46 +0000 | [diff] [blame] | 226 | <reuseForks>false</reuseForks> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 227 | </configuration> |
| 228 | </plugin> |
| 229 | </plugins> |
| 230 | </build> |
| 231 | |
Dinh Danh Le | a4a9922 | 2018-08-23 00:00:00 +0100 | [diff] [blame] | 232 | <profiles> |
liamfallon | 3249761 | 2018-11-10 00:39:12 +0000 | [diff] [blame] | 233 | <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 Le | a4a9922 | 2018-08-23 00:00:00 +0100 | [diff] [blame] | 272 | <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> |
liamfallon | a41c877 | 2018-09-05 15:46:31 +0100 | [diff] [blame] | 287 | </project> |