waqas.ikram | cb768ce | 2018-07-12 12:47:09 +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 | cb768ce | 2018-07-12 12:47:09 +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 | |
| 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"> |
| 24 | <modelVersion>4.0.0</modelVersion> |
| 25 | <parent> |
| 26 | <groupId>org.onap.policy.apex-pdp.testsuites.performance</groupId> |
liamfallon | 35840d8 | 2020-02-25 16:10:08 +0000 | [diff] [blame] | 27 | <artifactId>apex-performance</artifactId> |
a.sreekumar | eb923a7 | 2021-02-24 13:40:41 +0000 | [diff] [blame] | 28 | <version>2.5.1-SNAPSHOT</version> |
waqas.ikram | cb768ce | 2018-07-12 12:47:09 +0100 | [diff] [blame] | 29 | </parent> |
| 30 | |
| 31 | <artifactId>performance-benchmark-test</artifactId> |
| 32 | |
| 33 | <dependencies> |
| 34 | <dependency> |
| 35 | <groupId>org.onap.policy.apex-pdp.services</groupId> |
| 36 | <artifactId>services-engine</artifactId> |
| 37 | <version>${project.version}</version> |
| 38 | </dependency> |
| 39 | <dependency> |
liamfallon | 1f7c861 | 2018-11-20 15:59:50 +0000 | [diff] [blame] | 40 | <groupId>org.glassfish.jersey.containers</groupId> |
| 41 | <artifactId>jersey-container-grizzly2-http</artifactId> |
liamfallon | 1f7c861 | 2018-11-20 15:59:50 +0000 | [diff] [blame] | 42 | </dependency> |
| 43 | <dependency> |
waqas.ikram | cb768ce | 2018-07-12 12:47:09 +0100 | [diff] [blame] | 44 | <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId> |
| 45 | <artifactId>integration-common</artifactId> |
| 46 | <version>${project.version}</version> |
| 47 | <scope>test</scope> |
| 48 | </dependency> |
| 49 | <dependency> |
| 50 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId> |
| 51 | <artifactId>plugins-executor-mvel</artifactId> |
| 52 | <version>${project.version}</version> |
| 53 | <scope>test</scope> |
| 54 | </dependency> |
| 55 | <dependency> |
| 56 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId> |
| 57 | <artifactId>plugins-executor-javascript</artifactId> |
| 58 | <version>${project.version}</version> |
| 59 | <scope>test</scope> |
| 60 | </dependency> |
liamfallon | 88f1759 | 2019-09-14 12:39:25 +0100 | [diff] [blame] | 61 | <!-- Jython support disabled due to security concerns --> |
| 62 | <!-- dependency> |
waqas.ikram | cb768ce | 2018-07-12 12:47:09 +0100 | [diff] [blame] | 63 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId> |
| 64 | <artifactId>plugins-executor-jython</artifactId> |
| 65 | <version>${project.version}</version> |
| 66 | <scope>test</scope> |
liamfallon | 88f1759 | 2019-09-14 12:39:25 +0100 | [diff] [blame] | 67 | </dependency--> |
waqas.ikram | cb768ce | 2018-07-12 12:47:09 +0100 | [diff] [blame] | 68 | <dependency> |
| 69 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId> |
| 70 | <artifactId>plugins-executor-java</artifactId> |
| 71 | <version>${project.version}</version> |
| 72 | <scope>test</scope> |
| 73 | </dependency> |
| 74 | <dependency> |
| 75 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId> |
| 76 | <artifactId>plugins-executor-jruby</artifactId> |
| 77 | <version>${project.version}</version> |
| 78 | <scope>test</scope> |
| 79 | </dependency> |
| 80 | <dependency> |
liamfallon | b109c21 | 2018-07-18 11:23:20 +0100 | [diff] [blame] | 81 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-schema</groupId> |
| 82 | <artifactId>plugins-context-schema-avro</artifactId> |
waqas.ikram | cb768ce | 2018-07-12 12:47:09 +0100 | [diff] [blame] | 83 | <version>${project.version}</version> |
| 84 | <scope>test</scope> |
| 85 | </dependency> |
| 86 | <dependency> |
liamfallon | 1f7c861 | 2018-11-20 15:59:50 +0000 | [diff] [blame] | 87 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId> |
| 88 | <artifactId>plugins-event-carrier-restclient</artifactId> |
| 89 | <version>${project.version}</version> |
| 90 | <scope>test</scope> |
| 91 | </dependency> |
| 92 | <dependency> |
liamfallon | 1f7c861 | 2018-11-20 15:59:50 +0000 | [diff] [blame] | 93 | <groupId>org.mockito</groupId> |
| 94 | <artifactId>mockito-all</artifactId> |
| 95 | <scope>test</scope> |
| 96 | </dependency> |
waqas.ikram | cb768ce | 2018-07-12 12:47:09 +0100 | [diff] [blame] | 97 | </dependencies> |
| 98 | |
| 99 | <build> |
| 100 | <plugins> |
liamfallon | 1f7c861 | 2018-11-20 15:59:50 +0000 | [diff] [blame] | 101 | <!-- Copy required resources and examples --> |
| 102 | <plugin> |
| 103 | <groupId>org.apache.maven.plugins</groupId> |
| 104 | <artifactId>maven-dependency-plugin</artifactId> |
| 105 | <executions> |
| 106 | <execution> |
| 107 | <id>unpack-examples</id> |
| 108 | <phase>generate-test-resources</phase> |
| 109 | <goals> |
| 110 | <goal>unpack</goal> |
| 111 | </goals> |
| 112 | <configuration> |
| 113 | <artifactItems> |
| 114 | <artifactItem> |
| 115 | <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId> |
| 116 | <artifactId>integration-common</artifactId> |
| 117 | <version>${project.version}</version> |
| 118 | <type>jar</type> |
| 119 | <overWrite>false</overWrite> |
| 120 | <outputDirectory>${project.build.directory}</outputDirectory> |
| 121 | <includes>examples/**/*</includes> |
| 122 | </artifactItem> |
| 123 | </artifactItems> |
| 124 | <overWriteReleases>true</overWriteReleases> |
| 125 | <overWriteSnapshots>true</overWriteSnapshots> |
| 126 | </configuration> |
| 127 | </execution> |
| 128 | </executions> |
| 129 | </plugin> |
waqas.ikram | cb768ce | 2018-07-12 12:47:09 +0100 | [diff] [blame] | 130 | <plugin> |
| 131 | <groupId>org.apache.maven.plugins</groupId> |
| 132 | <artifactId>maven-surefire-plugin</artifactId> |
| 133 | <configuration> |
liamfallon | 1f7c861 | 2018-11-20 15:59:50 +0000 | [diff] [blame] | 134 | <reuseForks>false</reuseForks> |
waqas.ikram | cb768ce | 2018-07-12 12:47:09 +0100 | [diff] [blame] | 135 | </configuration> |
| 136 | </plugin> |
| 137 | </plugins> |
| 138 | </build> |
Dinh Danh Le | a4a9922 | 2018-08-23 00:00:00 +0100 | [diff] [blame] | 139 | |
| 140 | <profiles> |
liamfallon | 1f7c861 | 2018-11-20 15:59:50 +0000 | [diff] [blame] | 141 | <profile> |
| 142 | <id>only-eclipse</id> |
| 143 | <activation> |
| 144 | <property> |
| 145 | <name>m2e.version</name> |
| 146 | </property> |
| 147 | </activation> |
| 148 | <build> |
| 149 | <pluginManagement> |
| 150 | <plugins> |
| 151 | <plugin> |
| 152 | <groupId>org.eclipse.m2e</groupId> |
| 153 | <artifactId>lifecycle-mapping</artifactId> |
| 154 | <version>1.0.0</version> |
| 155 | <configuration> |
| 156 | <lifecycleMappingMetadata> |
| 157 | <pluginExecutions> |
| 158 | <pluginExecution> |
| 159 | <pluginExecutionFilter> |
| 160 | <groupId>org.apache.maven.plugins</groupId> |
| 161 | <artifactId>maven-dependency-plugin</artifactId> |
| 162 | <versionRange>[2.0,)</versionRange> |
| 163 | <goals> |
| 164 | <goal>unpack</goal> |
| 165 | </goals> |
| 166 | </pluginExecutionFilter> |
| 167 | <action> |
| 168 | <ignore /> |
| 169 | </action> |
| 170 | </pluginExecution> |
| 171 | </pluginExecutions> |
| 172 | </lifecycleMappingMetadata> |
| 173 | </configuration> |
| 174 | </plugin> |
| 175 | </plugins> |
| 176 | </pluginManagement> |
| 177 | </build> |
| 178 | </profile> |
Dinh Danh Le | a4a9922 | 2018-08-23 00:00:00 +0100 | [diff] [blame] | 179 | </profiles> |
liamfallon | 1f7c861 | 2018-11-20 15:59:50 +0000 | [diff] [blame] | 180 | </project> |