blob: 3d8f973a76069f7c5f5fe33f094a7700b35a07a5 [file] [log] [blame]
waqas.ikramcb768ce2018-07-12 12:47:09 +01001<!--
2 ============LICENSE_START=======================================================
3 Copyright (C) 2018 Ericsson. All rights reserved.
liamfallon35840d82020-02-25 16:10:08 +00004 Modifications Copyright (C) 2019-2020 Nordix Foundation.
waqas.ikramcb768ce2018-07-12 12:47:09 +01005 ================================================================================
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>
liamfallon35840d82020-02-25 16:10:08 +000027 <artifactId>apex-performance</artifactId>
a.sreekumareb923a72021-02-24 13:40:41 +000028 <version>2.5.1-SNAPSHOT</version>
waqas.ikramcb768ce2018-07-12 12:47:09 +010029 </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>
liamfallon1f7c8612018-11-20 15:59:50 +000040 <groupId>org.glassfish.jersey.containers</groupId>
41 <artifactId>jersey-container-grizzly2-http</artifactId>
liamfallon1f7c8612018-11-20 15:59:50 +000042 </dependency>
43 <dependency>
waqas.ikramcb768ce2018-07-12 12:47:09 +010044 <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>
liamfallon88f17592019-09-14 12:39:25 +010061 <!-- Jython support disabled due to security concerns -->
62 <!-- dependency>
waqas.ikramcb768ce2018-07-12 12:47:09 +010063 <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>
liamfallon88f17592019-09-14 12:39:25 +010067 </dependency-->
waqas.ikramcb768ce2018-07-12 12:47:09 +010068 <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>
liamfallonb109c212018-07-18 11:23:20 +010081 <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-schema</groupId>
82 <artifactId>plugins-context-schema-avro</artifactId>
waqas.ikramcb768ce2018-07-12 12:47:09 +010083 <version>${project.version}</version>
84 <scope>test</scope>
85 </dependency>
86 <dependency>
liamfallon1f7c8612018-11-20 15:59:50 +000087 <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>
liamfallon1f7c8612018-11-20 15:59:50 +000093 <groupId>org.mockito</groupId>
94 <artifactId>mockito-all</artifactId>
95 <scope>test</scope>
96 </dependency>
waqas.ikramcb768ce2018-07-12 12:47:09 +010097 </dependencies>
98
99 <build>
100 <plugins>
liamfallon1f7c8612018-11-20 15:59:50 +0000101 <!-- 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.ikramcb768ce2018-07-12 12:47:09 +0100130 <plugin>
131 <groupId>org.apache.maven.plugins</groupId>
132 <artifactId>maven-surefire-plugin</artifactId>
133 <configuration>
liamfallon1f7c8612018-11-20 15:59:50 +0000134 <reuseForks>false</reuseForks>
waqas.ikramcb768ce2018-07-12 12:47:09 +0100135 </configuration>
136 </plugin>
137 </plugins>
138 </build>
Dinh Danh Lea4a99222018-08-23 00:00:00 +0100139
140 <profiles>
liamfallon1f7c8612018-11-20 15:59:50 +0000141 <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 Lea4a99222018-08-23 00:00:00 +0100179 </profiles>
liamfallon1f7c8612018-11-20 15:59:50 +0000180</project>