blob: d2e9c8ecec9c7d84fb42e53d767f67dd56e47ff7 [file] [log] [blame]
eikrwaqa94302f2018-05-23 14:08:29 +01001<!--
2 ============LICENSE_START=======================================================
3 Copyright (C) 2018 Ericsson. All rights reserved.
liamfallon755eb9d2020-01-22 12:11:11 +00004 Modifications Copyright (C) 2019-2020 Nordix Foundation.
HOCKLAc759d772020-01-10 15:37:28 -06005 Modifications Copyright (C) 2019-2020 AT&T Intellectual Property. All rights reserved.
Ram Krishna Vermaeee939f2020-04-03 14:26:15 -04006 Modifications Copyright (C) 2020 Bell Canada.
eikrwaqa94302f2018-05-23 14:08:29 +01007 ================================================================================
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
liamfallon32497612018-11-10 00:39:12 +000024<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">
eikrwaqa94302f2018-05-23 14:08:29 +010026 <modelVersion>4.0.0</modelVersion>
27 <parent>
28 <groupId>org.onap.policy.parent</groupId>
29 <artifactId>integration</artifactId>
Pamela Dragosh865e4f62020-05-28 14:36:17 -040030 <version>3.2.0-SNAPSHOT</version>
eikrwaqa94302f2018-05-23 14:08:29 +010031 <relativePath />
32 </parent>
33
waqas.ikramf524b882018-05-24 15:31:21 +010034 <groupId>org.onap.policy.apex-pdp</groupId>
eikrwaqa94302f2018-05-23 14:08:29 +010035 <artifactId>apex-pdp</artifactId>
RossC2d0ac522020-05-21 12:59:22 +010036 <version>2.4.0-SNAPSHOT</version>
eikrwaqa94302f2018-05-23 14:08:29 +010037 <packaging>pom</packaging>
38
ramverma6029d252018-05-25 11:55:45 +010039 <name>policy-apex-pdp</name>
eikrwaqa94302f2018-05-23 14:08:29 +010040 <description>Packaging for all the Apex components, the engine, the WAR service, and the editor.</description>
41
42 <properties>
43 <encoding>UTF-8</encoding>
44 <file.encoding>UTF-8</file.encoding>
waqas.ikram75ff76e2018-06-06 11:04:36 +010045 <version.commons-cli>1.4</version.commons-cli>
liamfallon02bef1f2019-08-16 10:16:37 +000046 <version.kafka>2.3.0</version.kafka>
liamfallon1ba6a322019-02-22 17:30:59 +000047 <version.hibernate>5.3.7.Final</version.hibernate>
liamfallonff86f982020-06-21 21:52:55 +010048 <version.policy.common>1.7.0-SNAPSHOT</version.policy.common>
49 <version.policy.models>2.3.0-SNAPSHOT</version.policy.models>
liamfallon7d9e1c22019-09-18 15:23:06 +010050 <version.jgroups>4.1.5.Final</version.jgroups>
51 <version.commons-codec>20041127.091804</version.commons-codec>
52 <version.caffeine>2.8.0</version.caffeine>
eikrwaqa94302f2018-05-23 14:08:29 +010053 </properties>
54
55 <distributionManagement>
56 <site>
57 <id>ecomp-site</id>
58 <url>dav:${onap.nexus.url}${sitePath}</url>
59 </site>
60 </distributionManagement>
61
62 <dependencies>
63 <dependency>
64 <groupId>junit</groupId>
65 <artifactId>junit</artifactId>
66 <scope>test</scope>
67 </dependency>
68 <dependency>
waynedunican6ae054c2020-07-06 09:31:10 +010069 <groupId>org.assertj</groupId>
70 <artifactId>assertj-core</artifactId>
71 <scope>test</scope>
72 </dependency>
73 <dependency>
Henry.Sun153ad002020-03-02 15:47:09 +080074 <groupId>org.awaitility</groupId>
75 <artifactId>awaitility</artifactId>
76 <scope>test</scope>
77 </dependency>
78 <dependency>
eikrwaqa94302f2018-05-23 14:08:29 +010079 <groupId>org.slf4j</groupId>
80 <artifactId>slf4j-ext</artifactId>
RossC5be43f62020-06-22 14:13:34 +010081 <version>1.7.30</version>
eikrwaqa94302f2018-05-23 14:08:29 +010082 </dependency>
83 <dependency>
84 <groupId>org.slf4j</groupId>
85 <artifactId>slf4j-api</artifactId>
86 </dependency>
87 <dependency>
88 <groupId>ch.qos.logback</groupId>
89 <artifactId>logback-core</artifactId>
90 </dependency>
91 <dependency>
92 <groupId>ch.qos.logback</groupId>
93 <artifactId>logback-classic</artifactId>
94 </dependency>
a.sreekumara86ba142019-07-24 09:35:31 +000095 <dependency>
96 <groupId>org.projectlombok</groupId>
97 <artifactId>lombok</artifactId>
98 </dependency>
eikrwaqa94302f2018-05-23 14:08:29 +010099 </dependencies>
100
liamfallonefdaa0d2018-08-03 16:12:01 +0100101 <dependencyManagement>
102 <dependencies>
103 <dependency>
104 <groupId>org.onap.policy.common</groupId>
105 <artifactId>utils</artifactId>
106 <version>${version.policy.common}</version>
107 </dependency>
liamfallonf3250832018-08-30 09:37:29 +0100108 <dependency>
109 <groupId>org.onap.policy.common</groupId>
110 <artifactId>common-parameters</artifactId>
ramverma79e5ede2018-10-24 20:14:02 +0100111 <version>${version.policy.common}</version>
liamfallonf3250832018-08-30 09:37:29 +0100112 </dependency>
Henry.Sun318a9892019-10-09 18:02:56 +0800113 <dependency>
114 <groupId>org.onap.policy.common</groupId>
115 <artifactId>policy-endpoints</artifactId>
116 <version>${version.policy.common}</version>
117 </dependency>
liamfallon7d9e1c22019-09-18 15:23:06 +0100118 <dependency>
liamfallonc30b75d2019-09-25 15:13:37 +0200119 <groupId>org.jgroups</groupId>
liamfallon7d9e1c22019-09-18 15:23:06 +0100120 <artifactId>jgroups</artifactId>
121 <version>${version.jgroups}</version>
122 </dependency>
123 <dependency>
124 <groupId>commons-codec</groupId>
liamfallonc30b75d2019-09-25 15:13:37 +0200125 <artifactId>commons-codec</artifactId>
liamfallon7d9e1c22019-09-18 15:23:06 +0100126 <version>${version.commons-codec}</version>
127 </dependency>
128 <dependency>
129 <groupId>com.github.ben-manes.caffeine</groupId>
130 <artifactId>caffeine</artifactId>
131 <version>${version.caffeine}</version>
132 </dependency>
liamfallonefdaa0d2018-08-03 16:12:01 +0100133 </dependencies>
134 </dependencyManagement>
eikrwaqa94302f2018-05-23 14:08:29 +0100135
136 <profiles>
137 <profile>
138 <!--This profile is used to store Eclipse m2e settings only. It has no
139 influence on the Maven build itself. -->
140 <id>only-eclipse</id>
141 <activation>
142 <property>
143 <name>m2e.version</name>
144 </property>
145 </activation>
146 <build>
147 <pluginManagement>
148 <plugins>
149 <plugin>
150 <groupId>org.eclipse.m2e</groupId>
151 <artifactId>lifecycle-mapping</artifactId>
152 <version>1.0.0</version>
153 <configuration>
154 <lifecycleMappingMetadata>
155 <pluginExecutions>
156 <pluginExecution>
157 <pluginExecutionFilter>
waqas.ikram34bdfe12018-05-31 11:09:58 +0100158 <groupId>org.codehaus.mojo</groupId>
159 <artifactId>exec-maven-plugin</artifactId>
waqas.ikram48229522018-05-31 14:49:38 +0100160 <versionRange>[1.6.0,)</versionRange>
waqas.ikram34bdfe12018-05-31 11:09:58 +0100161 <goals>
162 <goal>java</goal>
ramverma28ea3362018-07-18 16:28:07 +0100163 <goal>exec</goal>
waqas.ikram34bdfe12018-05-31 11:09:58 +0100164 </goals>
165 </pluginExecutionFilter>
166 <action>
167 <execute />
168 </action>
169 </pluginExecution>
170 <pluginExecution>
171 <pluginExecutionFilter>
eikrwaqa94302f2018-05-23 14:08:29 +0100172 <groupId>org.commonjava.maven.plugins</groupId>
173 <artifactId>directory-maven-plugin</artifactId>
174 <versionRange>0.2</versionRange>
175 <goals>
176 <goal>directory-of</goal>
177 </goals>
178 </pluginExecutionFilter>
179 <action>
180 <execute />
181 </action>
182 </pluginExecution>
ramvermaaf74a622018-07-31 18:25:39 +0100183 <pluginExecution>
ramvermac6d74e62018-07-11 14:21:13 +0100184 <pluginExecutionFilter>
185 <groupId>org.apache.maven.plugins</groupId>
186 <artifactId>maven-dependency-plugin</artifactId>
liamfallon32497612018-11-10 00:39:12 +0000187 <versionRange>[2.0,)</versionRange>
ramvermac6d74e62018-07-11 14:21:13 +0100188 <goals>
liamfallon32497612018-11-10 00:39:12 +0000189 <goal>unpack</goal>
ramvermac6d74e62018-07-11 14:21:13 +0100190 <goal>unpack-dependencies</goal>
191 </goals>
192 </pluginExecutionFilter>
193 <action>
194 <execute />
195 </action>
196 </pluginExecution>
liamfallon32497612018-11-10 00:39:12 +0000197 <pluginExecution>
198 <pluginExecutionFilter>
199 <groupId>org.apache.maven.plugins</groupId>
200 <artifactId>maven-antrun-plugin</artifactId>
201 <versionRange>[1.0,)</versionRange>
202 <goals>
203 <goal>run</goal>
204 </goals>
205 </pluginExecutionFilter>
206 <action>
207 <ignore />
208 </action>
209 </pluginExecution>
eikrwaqa94302f2018-05-23 14:08:29 +0100210 </pluginExecutions>
211 </lifecycleMappingMetadata>
212 </configuration>
213 </plugin>
214 </plugins>
215 </pluginManagement>
216 </build>
217 </profile>
ramvermaaf74a622018-07-31 18:25:39 +0100218
219 <profile>
220 <!--This profile is used to create local APEX documentation and a Maven site -->
221 <id>apexSite</id>
222 <activation>
223 <property>
224 <name>apexSite</name>
225 </property>
226 </activation>
227 <properties>
228 <!-- needed to add this to avoid slow site creation due to many dead repos in some configuration see: https://stackoverflow.com/questions/26144541/why-am-i-getting-maven-error-unable-to-determine-if-resource-x-exists-in-http
229 see: https://stackoverflow.com/questions/26144541/why-am-i-getting-maven-error-unable-to-determine-if-resource-x-exists-in-http/35673586 see: https://whatiscomingtomyhead.wordpress.com/2011/04/20/if-your-maven-site-build-is-too-slow/ -->
230 <dependency.locations.enabled>false</dependency.locations.enabled>
231
232 <!-- Site and ADOC properties -->
233 <apex.adsite.prefix>https://www.onap.org/policy/apex-pdp/site</apex.adsite.prefix>
234 <release-version>${project.version}</release-version>
235
236 <adsite-main-dir>${project.basedir}/src</adsite-main-dir>
237 <adsite-tools-wsclients-dir>${project.basedir}/tools/simple-wsclient/src</adsite-tools-wsclients-dir>
238 <adsite-tools-common-dir>${project.basedir}/tools/tools-common/src</adsite-tools-common-dir>
liamfallona41c8772018-09-05 15:46:31 +0100239
ramvermaaf74a622018-07-31 18:25:39 +0100240 <adsite-examples-myfirstpolicy-dir>${project.basedir}/examples/examples-myfirstpolicy/src</adsite-examples-myfirstpolicy-dir>
241 <adsite-examples-decisionmaker-dir>${project.basedir}/examples/examples-decisionmaker/src</adsite-examples-decisionmaker-dir>
242 <adsite-examples-pcvs-dir>${project.basedir}/examples/examples-pcvs/src</adsite-examples-pcvs-dir>
243 <adsite-examples-periodic-dir>${project.basedir}/examples/examples-periodic/src</adsite-examples-periodic-dir>
244 <adsite-examples-onap-vcpe-dir>${project.basedir}/examples/examples-onap-vcpe/src</adsite-examples-onap-vcpe-dir>
s003703465262c352019-04-11 00:14:39 +0530245 <adsite-examples-onap-bbs-dir>${project.basedir}/examples/examples-onap-bbs/src</adsite-examples-onap-bbs-dir>
Dinh Danh Lea5a44272018-08-22 12:41:50 +0100246 <adsite-examples-servlet-dir>${project.basedir}/examples/examples-servlet/src</adsite-examples-servlet-dir>
ramvermaaf74a622018-07-31 18:25:39 +0100247
liamfallona41c8772018-09-05 15:46:31 +0100248 <adsite-packages-docker-dir>${project.basedir}/packages/apex-pdp-docker/src</adsite-packages-docker-dir>
249
ramvermaaf74a622018-07-31 18:25:39 +0100250 <adsite-plugins-event-protocol-dir>${project.basedir}/plugins/plugins-event/plugins-event-protocol/src</adsite-plugins-event-protocol-dir>
251 <adsite-plugins-event-protocol-jms-dir>${project.basedir}/plugins/plugins-event/plugins-event-protocol/plugins-event-protocol-jms/src</adsite-plugins-event-protocol-jms-dir>
252 <adsite-plugins-event-protocol-xml-dir>${project.basedir}/plugins/plugins-event/plugins-event-protocol/plugins-event-protocol-xml/src</adsite-plugins-event-protocol-xml-dir>
253 <adsite-plugins-event-protocol-yaml-dir>${project.basedir}/plugins/plugins-event/plugins-event-protocol/plugins-event-protocol-yaml/src</adsite-plugins-event-protocol-yaml-dir>
254
255 <adsite-plugins-event-carrier-dir>${project.basedir}/plugins/plugins-event/plugins-event-carrier/src</adsite-plugins-event-carrier-dir>
256 <adsite-plugins-event-carrier-jms-dir>${project.basedir}/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-jms/src</adsite-plugins-event-carrier-jms-dir>
257 <adsite-plugins-event-carrier-restclient-dir>${project.basedir}/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-restclient/src</adsite-plugins-event-carrier-restclient-dir>
258 <adsite-plugins-event-carrier-restserver-dir>${project.basedir}/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-restserver/src</adsite-plugins-event-carrier-restserver-dir>
259 <adsite-plugins-event-carrier-restrequestor-dir>${project.basedir}/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-restrequestor/src</adsite-plugins-event-carrier-restrequestor-dir>
260 <adsite-plugins-event-carrier-kafka-dir>${project.basedir}/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-kafka/src</adsite-plugins-event-carrier-kafka-dir>
261 <adsite-plugins-event-carrier-websocket-dir>${project.basedir}/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-websocket/src</adsite-plugins-event-carrier-websocket-dir>
262 <adsite-plugins-context-dir>${project.basedir}/plugins/plugins-context/src</adsite-plugins-context-dir>
Dinh Danh Lea5a44272018-08-22 12:41:50 +0100263 <adsite-plugins-context-schema-avro-dir>${project.basedir}/plugins/plugins-context/plugins-context-schema/plugins-context-schema-avro/src</adsite-plugins-context-schema-avro-dir>
ramvermaaf74a622018-07-31 18:25:39 +0100264 <adsite-plugins-executor-dir>${project.basedir}/plugins/plugins-executor/src</adsite-plugins-executor-dir>
265 <adsite-plugins-executor-java-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-java/src</adsite-plugins-executor-java-dir>
266 <adsite-plugins-executor-javascript-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-javascript/src</adsite-plugins-executor-javascript-dir>
267 <adsite-plugins-executor-jruby-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-jruby/src</adsite-plugins-executor-jruby-dir>
liamfallon88f17592019-09-14 12:39:25 +0100268 <!-- Jython support disabled due to security concerns -->
269 <!-- adsite-plugins-executor-jython-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-jython/src</adsite-plugins-executor-jython-dir-->
ramvermaaf74a622018-07-31 18:25:39 +0100270 <adsite-plugins-executor-mvel-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-mvel/src</adsite-plugins-executor-mvel-dir>
liamfallona41c8772018-09-05 15:46:31 +0100271
ramvermaaf74a622018-07-31 18:25:39 +0100272 <adsite-services-engine-dir>${project.basedir}/services/services-engine/src</adsite-services-engine-dir>
273 </properties>
274 <distributionManagement>
275 <site>
276 <id>${project.artifactId}-site</id>
277 <url>${apex.adsite.prefix}/</url>
278 </site>
279 </distributionManagement>
280 <build>
281 <plugins>
282 <plugin>
283 <groupId>org.commonjava.maven.plugins</groupId>
284 <artifactId>directory-maven-plugin</artifactId>
285 <version>0.2</version>
286 <executions>
287 <execution>
288 <id>directories</id>
289 <goals>
290 <goal>directory-of</goal>
291 </goals>
292 <phase>initialize</phase>
293 <configuration>
294 <property>apex.basedir</property>
295 <project>
296 <groupId>org.onap.policy.apex-pdp</groupId>
297 <artifactId>apex-pdp</artifactId>
298 </project>
299 </configuration>
300 </execution>
301 </executions>
302 </plugin>
303
304 <plugin>
305 <groupId>org.apache.maven.plugins</groupId>
306 <artifactId>maven-site-plugin</artifactId>
307 <version>3.7.1</version>
308 <configuration>
309 <stagingDirectory>${apex.basedir}/target/ad-site</stagingDirectory>
310 <asciidoc>
311 <embedAssets>true</embedAssets>
312 <attributes>
313 <source-highlighter>coderay</source-highlighter>
314 <coderay-css>style</coderay-css>
315 <imagesdir>images</imagesdir>
316 </attributes>
317 </asciidoc>
318 <moduleExcludes>
319 <asciidoc>**/_*.adoc</asciidoc>
320 </moduleExcludes>
321 </configuration>
322 <dependencies>
323 <dependency>
324 <groupId>org.apache.maven.doxia</groupId>
325 <artifactId>doxia-site-renderer</artifactId>
326 <version>1.8</version>
327 </dependency>
328 <dependency>
329 <groupId>org.asciidoctor</groupId>
330 <artifactId>asciidoctor-maven-plugin</artifactId>
331 <version>1.5.6</version>
332 </dependency>
333 </dependencies>
334 </plugin>
335
336 <plugin>
337 <groupId>org.apache.maven.plugins</groupId>
338 <artifactId>maven-resources-plugin</artifactId>
339 <version>3.0.2</version>
340 <executions>
341 <execution>
342 <id>copy-site-css</id>
343 <phase>process-resources</phase>
344 <goals>
345 <goal>copy-resources</goal>
346 </goals>
347 <configuration>
348 <resources>
349 <resource>
350 <directory>src/site/css</directory>
351 <includes>
352 <include>**/*.css</include>
353 </includes>
354 </resource>
355 </resources>
356 <outputDirectory>${project.build.directory}/site/css</outputDirectory>
357 <overwrite>true</overwrite>
358 </configuration>
359 </execution>
360
361 <execution>
362 <id>copy-site-logos</id>
363 <phase>process-resources</phase>
364 <goals>
365 <goal>copy-resources</goal>
366 </goals>
367 <configuration>
368 <resources>
369 <resource>
370 <directory>src/site/images</directory>
371 <includes>
372 <include>**/*.png</include>
373 </includes>
374 </resource>
375 </resources>
376 <outputDirectory>${project.build.directory}/site/images</outputDirectory>
377 <overwrite>true</overwrite>
378 </configuration>
379 </execution>
380
381 <execution>
382 <id>copy-um-install-images</id>
383 <phase>process-resources</phase>
384 <goals>
385 <goal>copy-resources</goal>
386 </goals>
387 <configuration>
388 <resources>
389 <resource>
390 <directory>src/site-docs/adoc/resources/images/install-guide</directory>
391 <includes>
392 <include>**/*.jpg</include>
393 <include>**/*.png</include>
394 </includes>
395 </resource>
396 </resources>
397 <outputDirectory>${project.build.directory}/site/user-manual/install/images/install-guide</outputDirectory>
398 </configuration>
399 </execution>
400
401 <execution>
402 <id>copy-howto-config-images</id>
403 <phase>process-resources</phase>
404 <goals>
405 <goal>copy-resources</goal>
406 </goals>
407 <configuration>
408 <resources>
409 <resource>
410 <directory>src/site-docs/adoc/resources/images/apex-intro</directory>
411 <includes>
412 <include>ApexEngineConfig.jpg</include>
413 <include>ApexEngineConfig.png</include>
414 </includes>
415 </resource>
416 </resources>
417 <outputDirectory>${project.build.directory}/site/user-manual/configuration/images/apex-intro</outputDirectory>
418 </configuration>
419 </execution>
420
421 <execution>
422 <id>copy-tech-intro-apex-images</id>
423 <phase>process-resources</phase>
424 <goals>
425 <goal>copy-resources</goal>
426 </goals>
427 <configuration>
428 <resources>
429 <resource>
430 <directory>src/site-docs/adoc/resources/images/apex-intro</directory>
431 <includes>
432 <include>**/*.jpg</include>
433 <include>**/*.png</include>
434 </includes>
435 </resource>
436 </resources>
437 <outputDirectory>${project.build.directory}/site/apex-intro/images/apex-intro</outputDirectory>
438 </configuration>
439 </execution>
440
441 <execution>
442 <id>copy-tech-pm-apex-images</id>
443 <phase>process-resources</phase>
444 <goals>
445 <goal>copy-resources</goal>
446 </goals>
447 <configuration>
448 <resources>
449 <resource>
450 <directory>src/site-docs/adoc/resources/images/apex-policy-model</directory>
451 <includes>
452 <include>**/*.jpg</include>
453 <include>**/*.png</include>
454 </includes>
455 </resource>
456 </resources>
457 <outputDirectory>${project.build.directory}/site/policy-guide/policy-model/images/apex-policy-model</outputDirectory>
458 </configuration>
459 </execution>
460
461 <execution>
462 <id>copy-tech-pm-apex-intro-images</id>
463 <phase>process-resources</phase>
464 <goals>
465 <goal>copy-resources</goal>
466 </goals>
467 <configuration>
468 <resources>
469 <resource>
470 <directory>src/site-docs/adoc/resources/images/apex-intro</directory>
471 <includes>
472 <include>ApexPolicyMatrix.png</include>
473 </includes>
474 </resource>
475 </resources>
476 <outputDirectory>${project.build.directory}/site/policy-guide/images/apex-intro</outputDirectory>
477 </configuration>
478 </execution>
479
480 <execution>
481 <id>copy-domain-mfp-images</id>
482 <phase>process-resources</phase>
483 <goals>
484 <goal>copy-resources</goal>
485 </goals>
486 <configuration>
487 <resources>
488 <resource>
Dinh Danh Lea5a44272018-08-22 12:41:50 +0100489 <directory>${project.basedir}/examples/examples-myfirstpolicy/src/site-docs/adoc/resources/images</directory>
ramvermaaf74a622018-07-31 18:25:39 +0100490 <includes>
491 <include>**/*.jpg</include>
492 <include>**/*.png</include>
493 </includes>
494 </resource>
495 </resources>
496 <outputDirectory>${project.build.directory}/site/user-manual/my-first-policy/images</outputDirectory>
497 </configuration>
498 </execution>
499
500 <execution>
501 <id>copy-asciidoc-generated</id>
502 <phase>process-resources</phase>
503 <goals>
504 <goal>copy-resources</goal>
505 </goals>
506 <configuration>
507 <resources>
508 <resource>
509 <directory>target/generated-docs</directory>
510 </resource>
511 </resources>
512 <outputDirectory>${project.build.directory}/site/docs-apex</outputDirectory>
513 </configuration>
514 </execution>
515 </executions>
516 </plugin>
517 </plugins>
518 </build>
519
520 <reporting>
521 <plugins>
522 <plugin>
523 <groupId>org.apache.maven.plugins</groupId>
524 <artifactId>maven-project-info-reports-plugin</artifactId>
525 <version>2.9</version>
526 </plugin>
527 <plugin>
528 <groupId>org.apache.maven.plugins</groupId>
529 <artifactId>maven-javadoc-plugin</artifactId>
530 <version>3.0.0-M1</version>
531 <reportSets>
532 <reportSet>
533 <id>default</id>
534 <reports>
535 <report>javadoc</report>
536 </reports>
537 </reportSet>
538 <reportSet>
539 <id>aggregate</id>
540 <inherited>false</inherited>
541 <reports>
542 <report>aggregate</report>
543 </reports>
544 </reportSet>
545 </reportSets>
546 <configuration>
547 <destDir>javadocs</destDir>
548 <source>${maven.compiler.target}</source>
549 <encoding>${project.resources.sourceEncoding}</encoding>
550 <docencoding>${project.resources.sourceEncoding}</docencoding>
551 <charset>${project.resources.sourceEncoding}</charset>
552 <!--<aggregate>false</aggregate>-->
553 <nohelp>true</nohelp>
554 <header>APEX - ${project.artifactId} ${project.version}</header>
555 <footer>APEX - ${project.artifactId} ${project.version}</footer>
556 <doctitle>APEX - ${project.artifactId} ${project.version}</doctitle>
557 <noqualifier>all</noqualifier>
558 <detectLinks>false</detectLinks>
559 <detectJavaApiLink>true</detectJavaApiLink>
560 <javadocDirectory>${project.basedir}/src/main/javadoc</javadocDirectory>
561 <docfilessubdirs>true</docfilessubdirs>
562 <overview>overview.html</overview>
563 <show>public</show>
564 <!-- Exclude JAXB generated packages -->
565 <excludePackageNames>org.onap.policy.apex.plugins.event.protocol.xml.jaxb</excludePackageNames>
566 </configuration>
567 </plugin>
568 </plugins>
569 </reporting>
570 </profile>
571
572 <profile>
573 <id>apexDocs</id>
574 <activation>
575 <property>
576 <name>apexDocs</name>
577 </property>
578 </activation>
liamfallon3aa7cbe2018-10-31 16:35:54 +0000579 <modules />
ramvermaaf74a622018-07-31 18:25:39 +0100580 <build>
581 <plugins>
582 <plugin>
583 <groupId>org.asciidoctor</groupId>
584 <artifactId>asciidoctor-maven-plugin</artifactId>
585 <version>1.5.6</version>
586 <dependencies>
587 <dependency>
588 <groupId>org.asciidoctor</groupId>
589 <artifactId>asciidoctorj-pdf</artifactId>
590 <version>1.5.0-alpha.16</version>
591 </dependency>
592 </dependencies>
593 <configuration>
594 <sourceHighlighter>coderay</sourceHighlighter>
595 <sourceDirectory>src/site-docs/adoc/guides</sourceDirectory>
596 <preserveDirectories>true</preserveDirectories>
597 <attributes>
598 <toc />
599 <pagenums />
600 <sectnums />
601 <linkcss>true</linkcss>
602 <stylesdir>styles</stylesdir>
603
604 <!-- Change this to get another style -->
605 <stylesheet>compass/rocket-panda.css</stylesheet>
606 <pdf-stylesdir>${project.basedir}/src/site-docs/adoc/resources-pdf/themes</pdf-stylesdir>
607 <pdf-style>apex-pdf.yml</pdf-style>
608 <pdf-fontsdir>${project.basedir}/src/site-docs/adoc/resources-pdf/fonts</pdf-fontsdir>
609
610 <revnumber>${project.version}</revnumber>
611 <revdate>${maven.build.timestamp}</revdate>
612 <organization>${project.organization.name}</organization>
613
614 <release-version>${project.version}</release-version>
615
616 <adsite-main-dir>${project.basedir}/src</adsite-main-dir>
617 <adsite-tools-wsclients-dir>${project.basedir}/tools/simple-wsclient/src</adsite-tools-wsclients-dir>
618 <adsite-tools-common-dir>${project.basedir}/tools/tools-common/src</adsite-tools-common-dir>
liamfallona41c8772018-09-05 15:46:31 +0100619
ramvermaaf74a622018-07-31 18:25:39 +0100620 <adsite-examples-myfirstpolicy-dir>${project.basedir}/examples/examples-myfirstpolicy/src</adsite-examples-myfirstpolicy-dir>
621 <adsite-examples-decisionmaker-dir>${project.basedir}/examples/examples-decisionmaker/src</adsite-examples-decisionmaker-dir>
622 <adsite-examples-pcvs-dir>${project.basedir}/examples/examples-pcvs/src</adsite-examples-pcvs-dir>
623 <adsite-examples-periodic-dir>${project.basedir}/examples/examples-periodic/src</adsite-examples-periodic-dir>
624 <adsite-examples-onap-vcpe-dir>${project.basedir}/examples/examples-onap-vcpe/src</adsite-examples-onap-vcpe-dir>
s003703465262c352019-04-11 00:14:39 +0530625 <adsite-examples-onap-bbs-dir>${project.basedir}/examples/examples-onap-bbs/src</adsite-examples-onap-bbs-dir>
Dinh Danh Lea5a44272018-08-22 12:41:50 +0100626 <adsite-examples-servlet-dir>${project.basedir}/examples/examples-servlet/src</adsite-examples-servlet-dir>
ramvermaaf74a622018-07-31 18:25:39 +0100627
liamfallona41c8772018-09-05 15:46:31 +0100628 <adsite-packages-docker-dir>${project.basedir}/packages/apex-pdp-docker/src</adsite-packages-docker-dir>
629
ramvermaaf74a622018-07-31 18:25:39 +0100630 <adsite-plugins-event-protocol-dir>${project.basedir}/plugins/plugins-event/plugins-event-protocol/src</adsite-plugins-event-protocol-dir>
631 <adsite-plugins-event-protocol-jms-dir>${project.basedir}/plugins/plugins-event/plugins-event-protocol/plugins-event-protocol-jms/src</adsite-plugins-event-protocol-jms-dir>
632 <adsite-plugins-event-protocol-xml-dir>${project.basedir}/plugins/plugins-event/plugins-event-protocol/plugins-event-protocol-xml/src</adsite-plugins-event-protocol-xml-dir>
633 <adsite-plugins-event-protocol-yaml-dir>${project.basedir}/plugins/plugins-event/plugins-event-protocol/plugins-event-protocol-yaml/src</adsite-plugins-event-protocol-yaml-dir>
634 <adsite-plugins-event-carrier-dir>${project.basedir}/plugins/plugins-event/plugins-event-carrier/src</adsite-plugins-event-carrier-dir>
635 <adsite-plugins-event-carrier-jms-dir>${project.basedir}/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-jms/src</adsite-plugins-event-carrier-jms-dir>
636 <adsite-plugins-event-carrier-restclient-dir>${project.basedir}/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-restclient/src</adsite-plugins-event-carrier-restclient-dir>
637 <adsite-plugins-event-carrier-restserver-dir>${project.basedir}/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-restserver/src</adsite-plugins-event-carrier-restserver-dir>
638 <adsite-plugins-event-carrier-restrequestor-dir>${project.basedir}/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-restrequestor/src</adsite-plugins-event-carrier-restrequestor-dir>
639 <adsite-plugins-event-carrier-kafka-dir>${project.basedir}/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-kafka/src</adsite-plugins-event-carrier-kafka-dir>
640 <adsite-plugins-event-carrier-websocket-dir>${project.basedir}/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-websocket/src</adsite-plugins-event-carrier-websocket-dir>
641 <adsite-plugins-context-dir>${project.basedir}/plugins/plugins-context/src</adsite-plugins-context-dir>
Dinh Danh Lea5a44272018-08-22 12:41:50 +0100642 <adsite-plugins-context-schema-avro-dir>${project.basedir}/plugins/plugins-context/plugins-context-schema/plugins-context-schema-avro/src</adsite-plugins-context-schema-avro-dir>
ramvermaaf74a622018-07-31 18:25:39 +0100643 <adsite-plugins-executor-dir>${project.basedir}/plugins/plugins-executor/src</adsite-plugins-executor-dir>
644 <adsite-plugins-executor-java-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-java/src</adsite-plugins-executor-java-dir>
645 <adsite-plugins-executor-javascript-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-javascript/src</adsite-plugins-executor-javascript-dir>
646 <adsite-plugins-executor-jruby-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-jruby/src</adsite-plugins-executor-jruby-dir>
647 <adsite-plugins-executor-jython-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-jython/src</adsite-plugins-executor-jython-dir>
648 <adsite-plugins-executor-mvel-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-mvel/src</adsite-plugins-executor-mvel-dir>
liamfallona41c8772018-09-05 15:46:31 +0100649
ramvermaaf74a622018-07-31 18:25:39 +0100650 <adsite-services-engine-dir>${project.basedir}/services/services-engine/src</adsite-services-engine-dir>
651 </attributes>
652 </configuration>
653 <executions>
654 <execution>
655 <id>asciidoc-html-doc</id>
656 <phase>generate-resources</phase>
657 <configuration>
658 <backend>html</backend>
659 <outputDirectory>${project.build.directory}/generated-docs/html</outputDirectory>
660 <resources>
661 <resource>
662 <directory>src/site-docs/adoc/resources</directory>
663 </resource>
664 <resource>
Dinh Danh Lea5a44272018-08-22 12:41:50 +0100665 <directory>${project.basedir}/examples/examples-myfirstpolicy/src/site-docs/adoc/resources</directory>
ramvermaaf74a622018-07-31 18:25:39 +0100666 </resource>
667 </resources>
668 </configuration>
669 <goals>
670 <goal>process-asciidoc</goal>
671 </goals>
672 </execution>
673 <execution>
674 <id>asciidoc-pdf-doc</id>
675 <phase>generate-resources</phase>
676 <configuration>
677 <backend>pdf</backend>
678 <outputDirectory>${project.build.directory}/generated-docs/pdf</outputDirectory>
679 <imagesDir>${project.basedir}/target/generated-docs/html/images</imagesDir>
680 </configuration>
681 <goals>
682 <goal>process-asciidoc</goal>
683 </goals>
684 </execution>
685 </executions>
686 </plugin>
Dinh Danh Lea5a44272018-08-22 12:41:50 +0100687
688 <plugin>
689 <groupId>org.apache.maven.plugins</groupId>
690 <artifactId>maven-resources-plugin</artifactId>
691 <version>3.0.2</version>
692 <executions>
693 <execution>
694 <id>copy-site-css</id>
695 <phase>generate-sources</phase>
696 <goals>
697 <goal>copy-resources</goal>
698 </goals>
699 <configuration>
700 <resources>
701 <resource>
702 <directory>${project.basedir}/src/site-docs/adoc/guides</directory>
703 <includes>
704 <include>**/*.css</include>
705 </includes>
706 </resource>
707 </resources>
708 <outputDirectory>${project.basedir}/target/generated-docs/pdf/styles</outputDirectory>
709 <overwrite>true</overwrite>
710 </configuration>
711 </execution>
712 </executions>
713 </plugin>
714
ramvermaaf74a622018-07-31 18:25:39 +0100715 </plugins>
716 </build>
717 </profile>
eikrwaqa94302f2018-05-23 14:08:29 +0100718 </profiles>
719
eikrwaqa94302f2018-05-23 14:08:29 +0100720 <modules>
721 <module>model</module>
ramverma10d58cd2018-05-29 15:25:49 +0100722 <module>context</module>
ramverma37d6fd92018-06-01 11:51:36 +0100723 <module>core</module>
waqas.ikram57224402018-06-01 14:23:01 +0100724 <module>auth</module>
waqas.ikram75ff76e2018-06-06 11:04:36 +0100725 <module>services</module>
waqas.ikramf94d7522018-06-05 16:18:01 +0100726 <module>plugins</module>
ramverma3d025432018-07-19 18:45:16 +0100727 <module>examples</module>
waqas.ikram2816ea62018-06-27 16:16:42 +0100728 <module>testsuites</module>
ramverma0ba66782018-07-06 16:29:16 +0100729 <module>client</module>
ramverma1eb51982018-07-16 15:23:45 +0100730 <module>tools</module>
liamfallon79ae3f72018-07-24 14:23:37 +0100731 <module>packages</module>
eikrwaqa94302f2018-05-23 14:08:29 +0100732 </modules>
liamfallon4d6fc382018-06-27 12:50:17 +0100733</project>