2 ============LICENSE_START=======================================================
3 Copyright (C) 2018 Ericsson. All rights reserved.
4 Modifications Copyright (C) 2019-2020, 2022 Nordix Foundation
5 Modifications Copyright (C) 2019-2020, 2022 Bell Canada.
6 Modifications Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
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
12 http://www.apache.org/licenses/LICENSE-2.0
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.
20 SPDX-License-Identifier: Apache-2.0
21 ============LICENSE_END=========================================================
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">
25 <modelVersion>4.0.0</modelVersion>
27 <groupId>org.onap.policy.apex-pdp.packages</groupId>
28 <artifactId>apex-packages</artifactId>
29 <version>3.0.2-SNAPSHOT</version>
32 <artifactId>apex-pdp-package-full</artifactId>
33 <packaging>pom</packaging>
34 <name>${project.artifactId}</name>
35 <description>[${project.parent.artifactId}] packaging, with all optional functionality, clients, servlets, and examples included</description>
38 <install.package.name>${project.artifactId}</install.package.name>
43 <groupId>org.onap.policy.apex-pdp.services</groupId>
44 <artifactId>services-engine</artifactId>
45 <version>${project.version}</version>
48 <groupId>org.onap.policy.apex-pdp.services</groupId>
49 <artifactId>services-onappf</artifactId>
50 <version>${project.version}</version>
53 <!-- Plugins for Context Distribution -->
55 <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-distribution</groupId>
56 <artifactId>plugins-context-distribution-hazelcast</artifactId>
57 <version>${project.version}</version>
60 <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-distribution</groupId>
61 <artifactId>plugins-context-distribution-infinispan</artifactId>
62 <version>${project.version}</version>
65 <!-- Plugins for Context Locking -->
67 <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-locking</groupId>
68 <artifactId>plugins-context-locking-hazelcast</artifactId>
69 <version>${project.version}</version>
72 <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-locking</groupId>
73 <artifactId>plugins-context-locking-curator</artifactId>
74 <version>${project.version}</version>
77 <!-- Plugins for Context Schemas -->
79 <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-schema</groupId>
80 <artifactId>plugins-context-schema-avro</artifactId>
81 <version>${project.version}</version>
84 <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-schema</groupId>
85 <artifactId>plugins-context-schema-json</artifactId>
86 <version>${project.version}</version>
89 <!-- Plugins for Executors -->
91 <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId>
92 <artifactId>plugins-executor-java</artifactId>
93 <version>${project.version}</version>
96 <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId>
97 <artifactId>plugins-executor-javascript</artifactId>
98 <version>${project.version}</version>
101 <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId>
102 <artifactId>plugins-executor-jruby</artifactId>
103 <version>${project.version}</version>
105 <!-- Jython support disabled due to security concerns -->
107 <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId>
108 <artifactId>plugins-executor-jython</artifactId>
109 <version>${project.version}</version>
112 <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId>
113 <artifactId>plugins-executor-mvel</artifactId>
114 <version>${project.version}</version>
117 <!-- Plugins for event carrier technologies -->
119 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
120 <artifactId>plugins-event-carrier-kafka</artifactId>
121 <version>${project.version}</version>
124 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
125 <artifactId>plugins-event-carrier-jms</artifactId>
126 <version>${project.version}</version>
129 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
130 <artifactId>plugins-event-carrier-restclient</artifactId>
131 <version>${project.version}</version>
134 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
135 <artifactId>plugins-event-carrier-restserver</artifactId>
136 <version>${project.version}</version>
139 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
140 <artifactId>plugins-event-carrier-restrequestor</artifactId>
141 <version>${project.version}</version>
144 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
145 <artifactId>plugins-event-carrier-grpc</artifactId>
146 <version>${project.version}</version>
148 <!-- Benchmark test event generator -->
150 <groupId>org.onap.policy.apex-pdp.testsuites.performance</groupId>
151 <artifactId>performance-benchmark-test</artifactId>
152 <version>${project.version}</version>
155 <!-- Plugins for event protocols -->
157 <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-protocol</groupId>
158 <artifactId>plugins-event-protocol-jms</artifactId>
159 <version>${project.version}</version>
162 <!-- Authoring and Editors -->
164 <groupId>org.onap.policy.apex-pdp.auth</groupId>
165 <artifactId>cli-editor</artifactId>
166 <version>${project.version}</version>
171 <groupId>org.onap.policy.apex-pdp.tools</groupId>
172 <artifactId>simple-wsclient</artifactId>
173 <version>${project.version}</version>
176 <groupId>org.onap.policy.apex-pdp.tools</groupId>
177 <artifactId>model-generator</artifactId>
178 <version>${project.version}</version>
181 <!-- Test Data used by examples -->
183 <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId>
184 <artifactId>integration-common</artifactId>
185 <version>${project.version}</version>
188 <!-- Sample Examples -->
190 <groupId>org.onap.policy.apex-pdp.examples</groupId>
191 <artifactId>examples-aadm</artifactId>
192 <version>${project.version}</version>
195 <groupId>org.onap.policy.apex-pdp.examples</groupId>
196 <artifactId>examples-adaptive</artifactId>
197 <version>${project.version}</version>
200 <groupId>org.onap.policy.apex-pdp.examples</groupId>
201 <artifactId>examples-myfirstpolicy</artifactId>
202 <version>${project.version}</version>
205 <groupId>org.onap.policy.apex-pdp.examples</groupId>
206 <artifactId>examples-decisionmaker</artifactId>
207 <version>${project.version}</version>
210 <groupId>org.onap.policy.apex-pdp.examples</groupId>
211 <artifactId>examples-periodic</artifactId>
212 <version>${project.version}</version>
215 <groupId>org.onap.policy.apex-pdp.examples</groupId>
216 <artifactId>examples-onap-vcpe</artifactId>
217 <version>${project.version}</version>
220 <groupId>org.onap.policy.apex-pdp.examples</groupId>
221 <artifactId>examples-onap-bbs</artifactId>
222 <version>${project.version}</version>
225 <groupId>org.onap.policy.apex-pdp.examples</groupId>
226 <artifactId>examples-grpc</artifactId>
227 <version>${project.version}</version>
233 <filter>src/main/resources/properties/db.properties</filter>
237 <directory>src/main/resources/META-INF</directory>
238 <filtering>true</filtering>
240 <include>**/*.xml</include>
245 <!-- Copy required resources and examples -->
247 <groupId>org.apache.maven.plugins</groupId>
248 <artifactId>maven-dependency-plugin</artifactId>
251 <id>unpack-etc-examples</id>
252 <phase>package</phase>
259 <groupId>org.onap.policy.apex-pdp.services</groupId>
260 <artifactId>services-onappf</artifactId>
261 <version>${project.version}</version>
263 <overWrite>false</overWrite>
264 <outputDirectory>${project.build.directory}/etc/onappf</outputDirectory>
265 <includes>config/*</includes>
268 <groupId>org.onap.policy.apex-pdp.auth</groupId>
269 <artifactId>cli-editor</artifactId>
270 <version>${project.version}</version>
272 <overWrite>false</overWrite>
273 <outputDirectory>${project.build.directory}</outputDirectory>
274 <includes>etc/**/*,examples/**/*</includes>
277 <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId>
278 <artifactId>integration-common</artifactId>
279 <version>${project.version}</version>
281 <overWrite>false</overWrite>
282 <outputDirectory>${project.build.directory}</outputDirectory>
283 <includes>etc/**/*,examples/**/*</includes>
286 <groupId>org.onap.policy.apex-pdp.testsuites.performance</groupId>
287 <artifactId>performance-benchmark-test</artifactId>
288 <version>${project.version}</version>
290 <overWrite>false</overWrite>
291 <outputDirectory>${project.build.directory}</outputDirectory>
292 <includes>examples/**/*</includes>
295 <groupId>org.onap.policy.apex-pdp.examples</groupId>
296 <artifactId>examples-aadm</artifactId>
297 <version>${project.version}</version>
299 <overWrite>false</overWrite>
300 <outputDirectory>${project.build.directory}</outputDirectory>
301 <includes>etc/**/*,examples/**/*</includes>
304 <groupId>org.onap.policy.apex-pdp.examples</groupId>
305 <artifactId>examples-adaptive</artifactId>
306 <version>${project.version}</version>
308 <overWrite>false</overWrite>
309 <outputDirectory>${project.build.directory}</outputDirectory>
310 <includes>etc/**/*,examples/**/*</includes>
313 <groupId>org.onap.policy.apex-pdp.examples</groupId>
314 <artifactId>examples-myfirstpolicy</artifactId>
315 <version>${project.version}</version>
317 <overWrite>false</overWrite>
318 <outputDirectory>${project.build.directory}</outputDirectory>
319 <includes>etc/**/*,examples/**/*</includes>
322 <groupId>org.onap.policy.apex-pdp.examples</groupId>
323 <artifactId>examples-decisionmaker</artifactId>
324 <version>${project.version}</version>
326 <overWrite>false</overWrite>
327 <outputDirectory>${project.build.directory}</outputDirectory>
328 <includes>etc/**/*,examples/**/*</includes>
331 <groupId>org.onap.policy.apex-pdp.examples</groupId>
332 <artifactId>examples-decisionmaker</artifactId>
333 <version>${project.version}</version>
335 <overWrite>false</overWrite>
336 <outputDirectory>${project.build.directory}/examples/models/DecisionMaker</outputDirectory>
337 <includes>*PolicyModel.json</includes>
340 <groupId>org.onap.policy.apex-pdp.examples</groupId>
341 <artifactId>examples-periodic</artifactId>
342 <version>${project.version}</version>
344 <overWrite>false</overWrite>
345 <outputDirectory>${project.build.directory}</outputDirectory>
346 <includes>etc/**/*,examples/**/*</includes>
349 <groupId>org.onap.policy.apex-pdp.examples</groupId>
350 <artifactId>examples-periodic</artifactId>
351 <version>${project.version}</version>
353 <overWrite>false</overWrite>
354 <outputDirectory>${project.build.directory}/examples/models/Periodic</outputDirectory>
355 <includes>PeriodicPolicyModel.json</includes>
358 <groupId>org.onap.policy.apex-pdp.examples</groupId>
359 <artifactId>examples-onap-vcpe</artifactId>
360 <version>${project.version}</version>
362 <overWrite>false</overWrite>
363 <outputDirectory>${project.build.directory}</outputDirectory>
364 <includes>etc/**/*,examples/**/*</includes>
367 <groupId>org.onap.policy.apex-pdp.examples</groupId>
368 <artifactId>examples-onap-vcpe</artifactId>
369 <version>${project.version}</version>
371 <overWrite>false</overWrite>
372 <outputDirectory>${project.build.directory}/examples/models/ONAPvCPE</outputDirectory>
373 <includes>ONAPvCPEPolicyModel.json</includes>
376 <groupId>org.onap.policy.apex-pdp.examples</groupId>
377 <artifactId>examples-onap-bbs</artifactId>
378 <version>${project.version}</version>
380 <overWrite>false</overWrite>
381 <outputDirectory>${project.build.directory}</outputDirectory>
382 <includes>etc/**/*,examples/**/*</includes>
385 <groupId>org.onap.policy.apex-pdp.examples</groupId>
386 <artifactId>examples-onap-bbs</artifactId>
387 <version>${project.version}</version>
389 <overWrite>false</overWrite>
390 <outputDirectory>${project.build.directory}/examples/models/ONAPBBS</outputDirectory>
391 <includes>NomadicONTPolicyModel.json</includes>
394 <groupId>org.onap.policy.apex-pdp.tools</groupId>
395 <artifactId>tools-common</artifactId>
396 <version>${project.version}</version>
398 <overWrite>false</overWrite>
399 <outputDirectory>${project.build.directory}/etc</outputDirectory>
400 <includes>/app-version.txt</includes>
403 <groupId>org.onap.policy.apex-pdp.examples</groupId>
404 <artifactId>examples-grpc</artifactId>
405 <version>${project.version}</version>
407 <overWrite>false</overWrite>
408 <outputDirectory>${project.build.directory}</outputDirectory>
409 <includes>etc/**/*,examples/**/*</includes>
412 <groupId>org.onap.policy.apex-pdp.examples</groupId>
413 <artifactId>examples-grpc</artifactId>
414 <version>${project.version}</version>
416 <overWrite>false</overWrite>
417 <outputDirectory>${project.build.directory}/examples/models/APEXgRPC</outputDirectory>
418 <includes>APEXgRPCPolicy.json</includes>
421 <overWriteReleases>true</overWriteReleases>
422 <overWriteSnapshots>true</overWriteSnapshots>
426 <id>copy-fat-jars</id>
427 <phase>package</phase>
434 <groupId>org.onap.policy.apex-pdp.tools</groupId>
435 <artifactId>simple-wsclient</artifactId>
436 <version>${project.version}</version>
438 <classifier>jar-with-dependencies</classifier>
439 <outputDirectory>${project.build.directory}/lib/applications</outputDirectory>
442 <overWriteReleases>true</overWriteReleases>
443 <overWriteSnapshots>true</overWriteSnapshots>
450 <!-- Build the tar ball -->
452 <groupId>org.apache.maven.plugins</groupId>
453 <artifactId>maven-assembly-plugin</artifactId>
456 <id>generate-complete-tar</id>
457 <phase>package</phase>
463 <descriptor>src/main/package/tarball/assembly.xml</descriptor>
465 <finalName>${project.artifactId}-${project.version}</finalName>
466 <appendAssemblyId>false</appendAssemblyId>
475 <id>only-eclipse</id>
478 <name>m2e.version</name>
485 <groupId>org.eclipse.m2e</groupId>
486 <artifactId>lifecycle-mapping</artifactId>
488 <lifecycleMappingMetadata>
491 <pluginExecutionFilter>
492 <groupId>org.apache.maven.plugins</groupId>
493 <artifactId>maven-dependency-plugin</artifactId>
494 <versionRange>[2.0,)</versionRange>
499 </pluginExecutionFilter>
505 </lifecycleMappingMetadata>