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. |
Ram Krishna Verma | eee939f | 2020-04-03 14:26:15 -0400 | [diff] [blame^] | 5 | Modifications Copyright (C) 2020 Bell Canada. |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 6 | ================================================================================ |
| 7 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | you may not use this file except in compliance with the License. |
| 9 | You may obtain a copy of the License at |
| 10 | |
| 11 | http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | |
| 13 | Unless required by applicable law or agreed to in writing, software |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | See the License for the specific language governing permissions and |
| 17 | limitations under the License. |
| 18 | |
| 19 | SPDX-License-Identifier: Apache-2.0 |
| 20 | ============LICENSE_END========================================================= |
| 21 | --> |
| 22 | |
liamfallon | adf6749 | 2019-07-10 19:44:39 +0000 | [diff] [blame] | 23 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 24 | 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] | 25 | <modelVersion>4.0.0</modelVersion> |
| 26 | <parent> |
| 27 | <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId> |
liamfallon | 35840d8 | 2020-02-25 16:10:08 +0000 | [diff] [blame] | 28 | <artifactId>apex-integration</artifactId> |
a.sreekumar | f1f9a30 | 2020-03-25 23:01:06 +0000 | [diff] [blame] | 29 | <version>2.3.1-SNAPSHOT</version> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 30 | </parent> |
| 31 | |
| 32 | <artifactId>integration-uservice-test</artifactId> |
| 33 | <name>${project.artifactId}</name> |
| 34 | <description>Integration tests for Apex microservices</description> |
| 35 | |
| 36 | <properties> |
| 37 | <activemq-version>5.15.4</activemq-version> |
| 38 | </properties> |
| 39 | |
| 40 | <dependencies> |
| 41 | <dependency> |
liamfallon | efdaa0d | 2018-08-03 16:12:01 +0100 | [diff] [blame] | 42 | <groupId>org.onap.policy.common</groupId> |
| 43 | <artifactId>utils</artifactId> |
| 44 | </dependency> |
| 45 | <dependency> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 46 | <groupId>org.onap.policy.apex-pdp.core</groupId> |
| 47 | <artifactId>core-engine</artifactId> |
| 48 | <version>${project.version}</version> |
| 49 | </dependency> |
| 50 | <dependency> |
| 51 | <groupId>org.onap.policy.apex-pdp.core</groupId> |
| 52 | <artifactId>core-deployment</artifactId> |
| 53 | <version>${project.version}</version> |
| 54 | </dependency> |
| 55 | <dependency> |
liamfallon | b109c21 | 2018-07-18 11:23:20 +0100 | [diff] [blame] | 56 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-schema</groupId> |
| 57 | <artifactId>plugins-context-schema-avro</artifactId> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 58 | <version>${project.version}</version> |
| 59 | <scope>test</scope> |
| 60 | </dependency> |
| 61 | <dependency> |
| 62 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 63 | <artifactId>plugins-executor-javascript</artifactId> |
| 64 | <version>${project.version}</version> |
| 65 | <scope>test</scope> |
| 66 | </dependency> |
| 67 | <dependency> |
liamfallon | da727fa | 2018-11-15 22:07:45 +0000 | [diff] [blame] | 68 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId> |
| 69 | <artifactId>plugins-executor-mvel</artifactId> |
| 70 | <version>${project.version}</version> |
| 71 | <scope>test</scope> |
| 72 | </dependency> |
| 73 | <dependency> |
liamfallon | b109c21 | 2018-07-18 11:23:20 +0100 | [diff] [blame] | 74 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-distribution</groupId> |
| 75 | <artifactId>plugins-context-distribution-infinispan</artifactId> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 76 | <version>${project.version}</version> |
| 77 | <scope>test</scope> |
| 78 | </dependency> |
| 79 | <dependency> |
| 80 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId> |
| 81 | <artifactId>plugins-event-carrier-kafka</artifactId> |
| 82 | <version>${project.version}</version> |
| 83 | <scope>test</scope> |
| 84 | </dependency> |
| 85 | <dependency> |
| 86 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId> |
| 87 | <artifactId>plugins-event-carrier-websocket</artifactId> |
| 88 | <version>${project.version}</version> |
| 89 | <scope>test</scope> |
| 90 | </dependency> |
| 91 | <dependency> |
| 92 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId> |
| 93 | <artifactId>plugins-event-carrier-jms</artifactId> |
| 94 | <version>${project.version}</version> |
| 95 | <scope>test</scope> |
| 96 | </dependency> |
| 97 | <dependency> |
| 98 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId> |
| 99 | <artifactId>plugins-event-carrier-restclient</artifactId> |
| 100 | <version>${project.version}</version> |
| 101 | <scope>test</scope> |
| 102 | </dependency> |
| 103 | <dependency> |
| 104 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId> |
| 105 | <artifactId>plugins-event-carrier-restserver</artifactId> |
| 106 | <version>${project.version}</version> |
| 107 | <scope>test</scope> |
| 108 | </dependency> |
| 109 | <dependency> |
| 110 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId> |
| 111 | <artifactId>plugins-event-carrier-restrequestor</artifactId> |
| 112 | <version>${project.version}</version> |
| 113 | <scope>test</scope> |
| 114 | </dependency> |
| 115 | <dependency> |
| 116 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-protocol</groupId> |
| 117 | <artifactId>plugins-event-protocol-xml</artifactId> |
| 118 | <version>${project.version}</version> |
| 119 | <scope>test</scope> |
| 120 | </dependency> |
| 121 | <dependency> |
| 122 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-protocol</groupId> |
| 123 | <artifactId>plugins-event-protocol-jms</artifactId> |
| 124 | <version>${project.version}</version> |
| 125 | <scope>test</scope> |
| 126 | </dependency> |
| 127 | <dependency> |
| 128 | <groupId>org.onap.policy.apex-pdp.auth</groupId> |
| 129 | <artifactId>cli-editor</artifactId> |
| 130 | <version>${project.version}</version> |
| 131 | <scope>test</scope> |
| 132 | </dependency> |
| 133 | <dependency> |
| 134 | <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId> |
| 135 | <artifactId>integration-common</artifactId> |
| 136 | <version>${project.version}</version> |
| 137 | <scope>test</scope> |
| 138 | </dependency> |
| 139 | <dependency> |
| 140 | <groupId>org.apache.kafka</groupId> |
liamfallon | e13ff2c | 2018-09-14 23:05:56 +0100 | [diff] [blame] | 141 | <artifactId>kafka_2.12</artifactId> |
liamfallon | 4d6fc38 | 2018-06-27 12:50:17 +0100 | [diff] [blame] | 142 | <version>${version.kafka}</version> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 143 | <scope>test</scope> |
liamfallon | adf6749 | 2019-07-10 19:44:39 +0000 | [diff] [blame] | 144 | <exclusions> |
liamfallon | 2ba499f | 2019-04-15 15:31:55 +0000 | [diff] [blame] | 145 | <!-- The default Zookeeper version in Kafka has vulnerabilities --> |
| 146 | <exclusion> |
| 147 | <groupId>org.apache.zookeeper</groupId> |
| 148 | <artifactId>zookeeper</artifactId> |
| 149 | </exclusion> |
| 150 | </exclusions> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 151 | </dependency> |
| 152 | <dependency> |
liamfallon | e13ff2c | 2018-09-14 23:05:56 +0100 | [diff] [blame] | 153 | <groupId>com.salesforce.kafka.test</groupId> |
| 154 | <artifactId>kafka-junit4</artifactId> |
| 155 | <version>3.0.1</version> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 156 | <scope>test</scope> |
Ram Krishna Verma | eee939f | 2020-04-03 14:26:15 -0400 | [diff] [blame^] | 157 | <exclusions> |
| 158 | <!-- The default netty version in kafka-junit4 has vulnerabilities --> |
| 159 | <exclusion> |
| 160 | <groupId>io.netty</groupId> |
| 161 | <artifactId>*</artifactId> |
| 162 | </exclusion> |
| 163 | </exclusions> |
| 164 | </dependency> |
| 165 | <!-- This netty version fixes the vulnerabilities --> |
| 166 | <dependency> |
| 167 | <groupId>io.netty</groupId> |
| 168 | <artifactId>netty-all</artifactId> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 169 | </dependency> |
| 170 | <dependency> |
| 171 | <groupId>org.apache.activemq.tooling</groupId> |
| 172 | <artifactId>activemq-junit</artifactId> |
| 173 | <version>${activemq-version}</version> |
| 174 | <scope>test</scope> |
| 175 | </dependency> |
| 176 | <dependency> |
| 177 | <groupId>org.apache.activemq</groupId> |
| 178 | <artifactId>activemq-broker</artifactId> |
| 179 | <version>${activemq-version}</version> |
| 180 | <scope>test</scope> |
| 181 | </dependency> |
| 182 | <dependency> |
| 183 | <groupId>org.apache.activemq</groupId> |
| 184 | <artifactId>activemq-jaas</artifactId> |
| 185 | <version>${activemq-version}</version> |
| 186 | <scope>test</scope> |
| 187 | </dependency> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 188 | <dependency> |
liamfallon | adf6749 | 2019-07-10 19:44:39 +0000 | [diff] [blame] | 189 | <groupId>org.awaitility</groupId> |
| 190 | <artifactId>awaitility</artifactId> |
liamfallon | adf6749 | 2019-07-10 19:44:39 +0000 | [diff] [blame] | 191 | <scope>test</scope> |
| 192 | </dependency> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 193 | </dependencies> |
| 194 | |
| 195 | <build> |
| 196 | <plugins> |
liamfallon | 53d8916 | 2018-11-06 12:02:46 +0000 | [diff] [blame] | 197 | <!-- Copy required resources and examples --> |
| 198 | <plugin> |
| 199 | <groupId>org.apache.maven.plugins</groupId> |
| 200 | <artifactId>maven-dependency-plugin</artifactId> |
| 201 | <executions> |
| 202 | <execution> |
| 203 | <id>unpack-examples</id> |
| 204 | <phase>generate-test-resources</phase> |
| 205 | <goals> |
| 206 | <goal>unpack</goal> |
| 207 | </goals> |
| 208 | <configuration> |
| 209 | <artifactItems> |
| 210 | <artifactItem> |
| 211 | <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId> |
| 212 | <artifactId>integration-common</artifactId> |
| 213 | <version>${project.version}</version> |
| 214 | <type>jar</type> |
| 215 | <overWrite>false</overWrite> |
| 216 | <outputDirectory>${project.build.directory}</outputDirectory> |
| 217 | <includes>examples/**/*</includes> |
| 218 | </artifactItem> |
| 219 | </artifactItems> |
| 220 | <overWriteReleases>true</overWriteReleases> |
| 221 | <overWriteSnapshots>true</overWriteSnapshots> |
| 222 | </configuration> |
| 223 | </execution> |
| 224 | </executions> |
| 225 | </plugin> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 226 | <plugin> |
| 227 | <groupId>org.apache.maven.plugins</groupId> |
| 228 | <artifactId>maven-surefire-plugin</artifactId> |
| 229 | <configuration> |
liamfallon | 53d8916 | 2018-11-06 12:02:46 +0000 | [diff] [blame] | 230 | <reuseForks>false</reuseForks> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 231 | </configuration> |
| 232 | </plugin> |
| 233 | </plugins> |
| 234 | </build> |
| 235 | |
Dinh Danh Le | a4a9922 | 2018-08-23 00:00:00 +0100 | [diff] [blame] | 236 | <profiles> |
liamfallon | adf6749 | 2019-07-10 19:44:39 +0000 | [diff] [blame] | 237 | <profile> |
liamfallon | 3249761 | 2018-11-10 00:39:12 +0000 | [diff] [blame] | 238 | <id>only-eclipse</id> |
| 239 | <activation> |
| 240 | <property> |
| 241 | <name>m2e.version</name> |
| 242 | </property> |
| 243 | </activation> |
| 244 | <build> |
| 245 | <pluginManagement> |
| 246 | <plugins> |
| 247 | <plugin> |
| 248 | <groupId>org.eclipse.m2e</groupId> |
| 249 | <artifactId>lifecycle-mapping</artifactId> |
| 250 | <version>1.0.0</version> |
| 251 | <configuration> |
| 252 | <lifecycleMappingMetadata> |
| 253 | <pluginExecutions> |
| 254 | <pluginExecution> |
| 255 | <pluginExecutionFilter> |
| 256 | <groupId>org.apache.maven.plugins</groupId> |
| 257 | <artifactId>maven-dependency-plugin</artifactId> |
| 258 | <versionRange>[2.0,)</versionRange> |
| 259 | <goals> |
| 260 | <goal>unpack</goal> |
| 261 | </goals> |
| 262 | </pluginExecutionFilter> |
| 263 | <action> |
| 264 | <ignore /> |
| 265 | </action> |
| 266 | </pluginExecution> |
| 267 | </pluginExecutions> |
| 268 | </lifecycleMappingMetadata> |
| 269 | </configuration> |
| 270 | </plugin> |
| 271 | </plugins> |
| 272 | </pluginManagement> |
| 273 | </build> |
| 274 | </profile> |
| 275 | |
Dinh Danh Le | a4a9922 | 2018-08-23 00:00:00 +0100 | [diff] [blame] | 276 | <profile> |
| 277 | <id>apexSite</id> |
| 278 | <activation> |
| 279 | <property> |
| 280 | <name>apexSite</name> |
| 281 | </property> |
| 282 | </activation> |
| 283 | <distributionManagement> |
| 284 | <site> |
| 285 | <id>${project.artifactId}-site</id> |
| 286 | <url>${apex.adsite.prefix}/modules/testsuites/${project.parent.artifactId}/${project.artifactId}/</url> |
| 287 | </site> |
| 288 | </distributionManagement> |
| 289 | </profile> |
| 290 | </profiles> |
liamfallon | a41c877 | 2018-09-05 15:46:31 +0100 | [diff] [blame] | 291 | </project> |