waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | Copyright (C) 2018 Ericsson. All rights reserved. |
rameshiyer27 | 5e484ea | 2024-01-31 15:02:48 +0000 | [diff] [blame] | 4 | Modifications Copyright (C) 2019-2020,2022-2024 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" |
adheli.tavares | a3a032d | 2023-08-10 16:58:48 +0100 | [diff] [blame] | 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> |
saul.gill | 2516099 | 2024-05-20 11:08:53 +0100 | [diff] [blame] | 30 | <version>4.0.0-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 | |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 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> |
liamfallon | f0fd964 | 2022-02-11 00:43:14 +0000 | [diff] [blame] | 44 | <artifactId>core</artifactId> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 45 | <version>${project.version}</version> |
| 46 | </dependency> |
| 47 | <dependency> |
liamfallon | b109c21 | 2018-07-18 11:23:20 +0100 | [diff] [blame] | 48 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-schema</groupId> |
| 49 | <artifactId>plugins-context-schema-avro</artifactId> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 50 | <version>${project.version}</version> |
| 51 | <scope>test</scope> |
| 52 | </dependency> |
| 53 | <dependency> |
| 54 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 55 | <artifactId>plugins-executor-javascript</artifactId> |
| 56 | <version>${project.version}</version> |
| 57 | <scope>test</scope> |
| 58 | </dependency> |
| 59 | <dependency> |
liamfallon | da727fa | 2018-11-15 22:07:45 +0000 | [diff] [blame] | 60 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId> |
| 61 | <artifactId>plugins-executor-mvel</artifactId> |
| 62 | <version>${project.version}</version> |
| 63 | <scope>test</scope> |
| 64 | </dependency> |
| 65 | <dependency> |
liamfallon | b109c21 | 2018-07-18 11:23:20 +0100 | [diff] [blame] | 66 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-distribution</groupId> |
| 67 | <artifactId>plugins-context-distribution-infinispan</artifactId> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 68 | <version>${project.version}</version> |
| 69 | <scope>test</scope> |
| 70 | </dependency> |
| 71 | <dependency> |
| 72 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId> |
| 73 | <artifactId>plugins-event-carrier-kafka</artifactId> |
| 74 | <version>${project.version}</version> |
| 75 | <scope>test</scope> |
| 76 | </dependency> |
| 77 | <dependency> |
| 78 | <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] | 79 | <artifactId>plugins-event-carrier-jms</artifactId> |
| 80 | <version>${project.version}</version> |
| 81 | <scope>test</scope> |
| 82 | </dependency> |
| 83 | <dependency> |
| 84 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId> |
| 85 | <artifactId>plugins-event-carrier-restclient</artifactId> |
| 86 | <version>${project.version}</version> |
| 87 | <scope>test</scope> |
| 88 | </dependency> |
| 89 | <dependency> |
| 90 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId> |
| 91 | <artifactId>plugins-event-carrier-restserver</artifactId> |
| 92 | <version>${project.version}</version> |
| 93 | <scope>test</scope> |
| 94 | </dependency> |
| 95 | <dependency> |
| 96 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId> |
| 97 | <artifactId>plugins-event-carrier-restrequestor</artifactId> |
| 98 | <version>${project.version}</version> |
| 99 | <scope>test</scope> |
| 100 | </dependency> |
| 101 | <dependency> |
| 102 | <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] | 103 | <artifactId>plugins-event-protocol-jms</artifactId> |
| 104 | <version>${project.version}</version> |
| 105 | <scope>test</scope> |
| 106 | </dependency> |
| 107 | <dependency> |
| 108 | <groupId>org.onap.policy.apex-pdp.auth</groupId> |
| 109 | <artifactId>cli-editor</artifactId> |
| 110 | <version>${project.version}</version> |
| 111 | <scope>test</scope> |
| 112 | </dependency> |
| 113 | <dependency> |
| 114 | <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId> |
| 115 | <artifactId>integration-common</artifactId> |
| 116 | <version>${project.version}</version> |
| 117 | <scope>test</scope> |
| 118 | </dependency> |
| 119 | <dependency> |
| 120 | <groupId>org.apache.kafka</groupId> |
rameshiyer27 | 5e484ea | 2024-01-31 15:02:48 +0000 | [diff] [blame] | 121 | <artifactId>kafka_2.13</artifactId> |
liamfallon | 4d6fc38 | 2018-06-27 12:50:17 +0100 | [diff] [blame] | 122 | <version>${version.kafka}</version> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 123 | <scope>test</scope> |
Jim Hahn | f0e8b6d | 2021-02-11 13:41:45 -0500 | [diff] [blame] | 124 | </dependency> |
| 125 | <dependency> |
liamfallon | e13ff2c | 2018-09-14 23:05:56 +0100 | [diff] [blame] | 126 | <groupId>com.salesforce.kafka.test</groupId> |
| 127 | <artifactId>kafka-junit4</artifactId> |
liamfallon | 367daa9 | 2023-02-17 19:16:34 +0000 | [diff] [blame] | 128 | <version>${version.kafka-junit4}</version> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 129 | <scope>test</scope> |
Ram Krishna Verma | eee939f | 2020-04-03 14:26:15 -0400 | [diff] [blame] | 130 | </dependency> |
liamfallon | 5cd5e12 | 2022-01-18 10:39:06 +0000 | [diff] [blame] | 131 | <dependency> |
| 132 | <groupId>org.apache.zookeeper</groupId> |
| 133 | <artifactId>zookeeper</artifactId> |
liamfallon | 367daa9 | 2023-02-17 19:16:34 +0000 | [diff] [blame] | 134 | <version>${version.zookeeper}</version> |
liamfallon | 5cd5e12 | 2022-01-18 10:39:06 +0000 | [diff] [blame] | 135 | <scope>test</scope> |
| 136 | <exclusions> |
adheli.tavares | a3a032d | 2023-08-10 16:58:48 +0100 | [diff] [blame] | 137 | <!-- The default netty version in kafka-junit4 has vulnerabilities --> |
liamfallon | 5cd5e12 | 2022-01-18 10:39:06 +0000 | [diff] [blame] | 138 | <exclusion> |
| 139 | <groupId>org.slf4j</groupId> |
adheli.tavares | a3a032d | 2023-08-10 16:58:48 +0100 | [diff] [blame] | 140 | <artifactId>slf4j-reload4j</artifactId> |
liamfallon | 5cd5e12 | 2022-01-18 10:39:06 +0000 | [diff] [blame] | 141 | </exclusion> |
| 142 | </exclusions> |
| 143 | </dependency> |
Ram Krishna Verma | eee939f | 2020-04-03 14:26:15 -0400 | [diff] [blame] | 144 | <!-- This netty version fixes the vulnerabilities --> |
| 145 | <dependency> |
| 146 | <groupId>io.netty</groupId> |
| 147 | <artifactId>netty-all</artifactId> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 148 | </dependency> |
| 149 | <dependency> |
adheli.tavares | a3a032d | 2023-08-10 16:58:48 +0100 | [diff] [blame] | 150 | <groupId>org.apache.activemq</groupId> |
| 151 | <artifactId>artemis-core-client</artifactId> |
| 152 | <version>${version.artemis}</version> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 153 | <scope>test</scope> |
| 154 | </dependency> |
| 155 | <dependency> |
| 156 | <groupId>org.apache.activemq</groupId> |
adheli.tavares | a3a032d | 2023-08-10 16:58:48 +0100 | [diff] [blame] | 157 | <artifactId>artemis-jakarta-client</artifactId> |
| 158 | <version>${version.artemis}</version> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 159 | <scope>test</scope> |
| 160 | </dependency> |
| 161 | <dependency> |
| 162 | <groupId>org.apache.activemq</groupId> |
adheli.tavares | a3a032d | 2023-08-10 16:58:48 +0100 | [diff] [blame] | 163 | <artifactId>artemis-server</artifactId> |
| 164 | <version>${version.artemis}</version> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 165 | <scope>test</scope> |
| 166 | </dependency> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 167 | <dependency> |
adheli.tavares | a3a032d | 2023-08-10 16:58:48 +0100 | [diff] [blame] | 168 | <groupId>jakarta.jms</groupId> |
| 169 | <artifactId>jakarta.jms-api</artifactId> |
| 170 | <version>${version.jms}</version> |
liamfallon | adf6749 | 2019-07-10 19:44:39 +0000 | [diff] [blame] | 171 | <scope>test</scope> |
| 172 | </dependency> |
adheli.tavares | a3a032d | 2023-08-10 16:58:48 +0100 | [diff] [blame] | 173 | <dependency> |
| 174 | <groupId>com.fasterxml.jackson.core</groupId> |
| 175 | <artifactId>jackson-databind</artifactId> |
adheli.tavares | a3a032d | 2023-08-10 16:58:48 +0100 | [diff] [blame] | 176 | </dependency> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 177 | </dependencies> |
| 178 | |
| 179 | <build> |
| 180 | <plugins> |
adheli.tavares | a3a032d | 2023-08-10 16:58:48 +0100 | [diff] [blame] | 181 | <!-- Copy required resources and examples --> |
liamfallon | 53d8916 | 2018-11-06 12:02:46 +0000 | [diff] [blame] | 182 | <plugin> |
| 183 | <groupId>org.apache.maven.plugins</groupId> |
| 184 | <artifactId>maven-dependency-plugin</artifactId> |
| 185 | <executions> |
| 186 | <execution> |
| 187 | <id>unpack-examples</id> |
| 188 | <phase>generate-test-resources</phase> |
| 189 | <goals> |
| 190 | <goal>unpack</goal> |
| 191 | </goals> |
| 192 | <configuration> |
| 193 | <artifactItems> |
| 194 | <artifactItem> |
| 195 | <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId> |
| 196 | <artifactId>integration-common</artifactId> |
| 197 | <version>${project.version}</version> |
| 198 | <type>jar</type> |
| 199 | <overWrite>false</overWrite> |
| 200 | <outputDirectory>${project.build.directory}</outputDirectory> |
| 201 | <includes>examples/**/*</includes> |
| 202 | </artifactItem> |
| 203 | </artifactItems> |
| 204 | <overWriteReleases>true</overWriteReleases> |
| 205 | <overWriteSnapshots>true</overWriteSnapshots> |
| 206 | </configuration> |
| 207 | </execution> |
| 208 | </executions> |
| 209 | </plugin> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 210 | <plugin> |
| 211 | <groupId>org.apache.maven.plugins</groupId> |
| 212 | <artifactId>maven-surefire-plugin</artifactId> |
| 213 | <configuration> |
liamfallon | 53d8916 | 2018-11-06 12:02:46 +0000 | [diff] [blame] | 214 | <reuseForks>false</reuseForks> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 215 | </configuration> |
| 216 | </plugin> |
| 217 | </plugins> |
| 218 | </build> |
| 219 | |
Dinh Danh Le | a4a9922 | 2018-08-23 00:00:00 +0100 | [diff] [blame] | 220 | <profiles> |
liamfallon | adf6749 | 2019-07-10 19:44:39 +0000 | [diff] [blame] | 221 | <profile> |
liamfallon | 3249761 | 2018-11-10 00:39:12 +0000 | [diff] [blame] | 222 | <id>only-eclipse</id> |
| 223 | <activation> |
| 224 | <property> |
| 225 | <name>m2e.version</name> |
| 226 | </property> |
| 227 | </activation> |
| 228 | <build> |
| 229 | <pluginManagement> |
| 230 | <plugins> |
| 231 | <plugin> |
| 232 | <groupId>org.eclipse.m2e</groupId> |
| 233 | <artifactId>lifecycle-mapping</artifactId> |
liamfallon | 3249761 | 2018-11-10 00:39:12 +0000 | [diff] [blame] | 234 | <configuration> |
| 235 | <lifecycleMappingMetadata> |
| 236 | <pluginExecutions> |
| 237 | <pluginExecution> |
| 238 | <pluginExecutionFilter> |
| 239 | <groupId>org.apache.maven.plugins</groupId> |
| 240 | <artifactId>maven-dependency-plugin</artifactId> |
| 241 | <versionRange>[2.0,)</versionRange> |
| 242 | <goals> |
| 243 | <goal>unpack</goal> |
| 244 | </goals> |
| 245 | </pluginExecutionFilter> |
| 246 | <action> |
adheli.tavares | a3a032d | 2023-08-10 16:58:48 +0100 | [diff] [blame] | 247 | <ignore/> |
liamfallon | 3249761 | 2018-11-10 00:39:12 +0000 | [diff] [blame] | 248 | </action> |
| 249 | </pluginExecution> |
| 250 | </pluginExecutions> |
| 251 | </lifecycleMappingMetadata> |
| 252 | </configuration> |
| 253 | </plugin> |
| 254 | </plugins> |
| 255 | </pluginManagement> |
| 256 | </build> |
| 257 | </profile> |
Dinh Danh Le | a4a9922 | 2018-08-23 00:00:00 +0100 | [diff] [blame] | 258 | </profiles> |
liamfallon | a41c877 | 2018-09-05 15:46:31 +0100 | [diff] [blame] | 259 | </project> |