waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | Copyright (C) 2018 Ericsson. All rights reserved. |
liamfallon | 35840d8 | 2020-02-25 16:10:08 +0000 | [diff] [blame] | 4 | Modifications Copyright (C) 2019-2020 Nordix Foundation. |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 5 | ================================================================================ |
| 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 | |
liamfallon | adf6749 | 2019-07-10 19:44:39 +0000 | [diff] [blame] | 22 | <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.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 24 | <modelVersion>4.0.0</modelVersion> |
| 25 | <parent> |
| 26 | <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId> |
liamfallon | 35840d8 | 2020-02-25 16:10:08 +0000 | [diff] [blame] | 27 | <artifactId>apex-integration</artifactId> |
jrh3 | d7d9df6 | 2019-09-12 10:07:06 -0400 | [diff] [blame] | 28 | <version>2.3.0-SNAPSHOT</version> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 29 | </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> |
liamfallon | efdaa0d | 2018-08-03 16:12:01 +0100 | [diff] [blame] | 41 | <groupId>org.onap.policy.common</groupId> |
| 42 | <artifactId>utils</artifactId> |
| 43 | </dependency> |
| 44 | <dependency> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 45 | <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> |
liamfallon | b109c21 | 2018-07-18 11:23:20 +0100 | [diff] [blame] | 55 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-schema</groupId> |
| 56 | <artifactId>plugins-context-schema-avro</artifactId> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 57 | <version>${project.version}</version> |
| 58 | <scope>test</scope> |
| 59 | </dependency> |
| 60 | <dependency> |
| 61 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 62 | <artifactId>plugins-executor-javascript</artifactId> |
| 63 | <version>${project.version}</version> |
| 64 | <scope>test</scope> |
| 65 | </dependency> |
| 66 | <dependency> |
liamfallon | da727fa | 2018-11-15 22:07:45 +0000 | [diff] [blame] | 67 | <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> |
liamfallon | b109c21 | 2018-07-18 11:23:20 +0100 | [diff] [blame] | 73 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-distribution</groupId> |
| 74 | <artifactId>plugins-context-distribution-infinispan</artifactId> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 75 | <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> |
liamfallon | e13ff2c | 2018-09-14 23:05:56 +0100 | [diff] [blame] | 140 | <artifactId>kafka_2.12</artifactId> |
liamfallon | 4d6fc38 | 2018-06-27 12:50:17 +0100 | [diff] [blame] | 141 | <version>${version.kafka}</version> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 142 | <scope>test</scope> |
liamfallon | adf6749 | 2019-07-10 19:44:39 +0000 | [diff] [blame] | 143 | <exclusions> |
liamfallon | 2ba499f | 2019-04-15 15:31:55 +0000 | [diff] [blame] | 144 | <!-- 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.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 150 | </dependency> |
| 151 | <dependency> |
liamfallon | e13ff2c | 2018-09-14 23:05:56 +0100 | [diff] [blame] | 152 | <groupId>com.salesforce.kafka.test</groupId> |
| 153 | <artifactId>kafka-junit4</artifactId> |
| 154 | <version>3.0.1</version> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 155 | <scope>test</scope> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 156 | </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.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 175 | <dependency> |
liamfallon | adf6749 | 2019-07-10 19:44:39 +0000 | [diff] [blame] | 176 | <groupId>org.awaitility</groupId> |
| 177 | <artifactId>awaitility</artifactId> |
liamfallon | adf6749 | 2019-07-10 19:44:39 +0000 | [diff] [blame] | 178 | <scope>test</scope> |
| 179 | </dependency> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 180 | </dependencies> |
| 181 | |
| 182 | <build> |
| 183 | <plugins> |
liamfallon | 53d8916 | 2018-11-06 12:02:46 +0000 | [diff] [blame] | 184 | <!-- 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.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 213 | <plugin> |
| 214 | <groupId>org.apache.maven.plugins</groupId> |
| 215 | <artifactId>maven-surefire-plugin</artifactId> |
| 216 | <configuration> |
liamfallon | 53d8916 | 2018-11-06 12:02:46 +0000 | [diff] [blame] | 217 | <reuseForks>false</reuseForks> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 218 | </configuration> |
| 219 | </plugin> |
| 220 | </plugins> |
| 221 | </build> |
| 222 | |
Dinh Danh Le | a4a9922 | 2018-08-23 00:00:00 +0100 | [diff] [blame] | 223 | <profiles> |
liamfallon | adf6749 | 2019-07-10 19:44:39 +0000 | [diff] [blame] | 224 | <profile> |
liamfallon | 3249761 | 2018-11-10 00:39:12 +0000 | [diff] [blame] | 225 | <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 Le | a4a9922 | 2018-08-23 00:00:00 +0100 | [diff] [blame] | 263 | <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> |
liamfallon | a41c877 | 2018-09-05 15:46:31 +0100 | [diff] [blame] | 278 | </project> |