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