blob: cff0492d6a3c82ab3079066670c48022fa9a8a81 [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>
Pamela Dragoshd1cae3e2020-05-19 12:21:45 -040048 <version.policy.common>1.6.5</version.policy.common>
49 <version.policy.models>2.2.6</version.policy.models>
liamfallon7d9e1c22019-09-18 15:23:06 +010050 <version.jackson>2.10.0.pr3</version.jackson>
51 <version.jgroups>4.1.5.Final</version.jgroups>
52 <version.commons-codec>20041127.091804</version.commons-codec>
53 <version.caffeine>2.8.0</version.caffeine>
eikrwaqa94302f2018-05-23 14:08:29 +010054 </properties>
55
56 <distributionManagement>
57 <site>
58 <id>ecomp-site</id>
59 <url>dav:${onap.nexus.url}${sitePath}</url>
60 </site>
61 </distributionManagement>
62
63 <dependencies>
64 <dependency>
65 <groupId>junit</groupId>
66 <artifactId>junit</artifactId>
67 <scope>test</scope>
68 </dependency>
69 <dependency>
Henry.Sun153ad002020-03-02 15:47:09 +080070 <groupId>org.awaitility</groupId>
71 <artifactId>awaitility</artifactId>
72 <scope>test</scope>
73 </dependency>
74 <dependency>
eikrwaqa94302f2018-05-23 14:08:29 +010075 <groupId>org.slf4j</groupId>
76 <artifactId>slf4j-ext</artifactId>
RossC5be43f62020-06-22 14:13:34 +010077 <version>1.7.30</version>
eikrwaqa94302f2018-05-23 14:08:29 +010078 </dependency>
79 <dependency>
80 <groupId>org.slf4j</groupId>
81 <artifactId>slf4j-api</artifactId>
82 </dependency>
83 <dependency>
84 <groupId>ch.qos.logback</groupId>
85 <artifactId>logback-core</artifactId>
86 </dependency>
87 <dependency>
88 <groupId>ch.qos.logback</groupId>
89 <artifactId>logback-classic</artifactId>
90 </dependency>
a.sreekumara86ba142019-07-24 09:35:31 +000091 <dependency>
92 <groupId>org.projectlombok</groupId>
93 <artifactId>lombok</artifactId>
94 </dependency>
eikrwaqa94302f2018-05-23 14:08:29 +010095 </dependencies>
96
liamfallonefdaa0d2018-08-03 16:12:01 +010097 <dependencyManagement>
98 <dependencies>
99 <dependency>
100 <groupId>org.onap.policy.common</groupId>
101 <artifactId>utils</artifactId>
102 <version>${version.policy.common}</version>
103 </dependency>
liamfallonf3250832018-08-30 09:37:29 +0100104 <dependency>
105 <groupId>org.onap.policy.common</groupId>
106 <artifactId>common-parameters</artifactId>
ramverma79e5ede2018-10-24 20:14:02 +0100107 <version>${version.policy.common}</version>
liamfallonf3250832018-08-30 09:37:29 +0100108 </dependency>
Henry.Sun318a9892019-10-09 18:02:56 +0800109 <dependency>
110 <groupId>org.onap.policy.common</groupId>
111 <artifactId>policy-endpoints</artifactId>
112 <version>${version.policy.common}</version>
113 </dependency>
liamfallon7d9e1c22019-09-18 15:23:06 +0100114 <dependency>
115 <groupId>com.fasterxml.jackson.core</groupId>
116 <artifactId>jackson-core</artifactId>
117 <version>${version.jackson}</version>
118 </dependency>
119 <dependency>
120 <groupId>com.fasterxml.jackson.core</groupId>
121 <artifactId>jackson-databind</artifactId>
122 <version>${version.jackson}</version>
123 </dependency>
124 <dependency>
liamfallonc30b75d2019-09-25 15:13:37 +0200125 <groupId>org.jgroups</groupId>
liamfallon7d9e1c22019-09-18 15:23:06 +0100126 <artifactId>jgroups</artifactId>
127 <version>${version.jgroups}</version>
128 </dependency>
129 <dependency>
130 <groupId>commons-codec</groupId>
liamfallonc30b75d2019-09-25 15:13:37 +0200131 <artifactId>commons-codec</artifactId>
liamfallon7d9e1c22019-09-18 15:23:06 +0100132 <version>${version.commons-codec}</version>
133 </dependency>
134 <dependency>
135 <groupId>com.github.ben-manes.caffeine</groupId>
136 <artifactId>caffeine</artifactId>
137 <version>${version.caffeine}</version>
138 </dependency>
liamfallonefdaa0d2018-08-03 16:12:01 +0100139 </dependencies>
140 </dependencyManagement>
eikrwaqa94302f2018-05-23 14:08:29 +0100141
142 <profiles>
143 <profile>
144 <!--This profile is used to store Eclipse m2e settings only. It has no
145 influence on the Maven build itself. -->
146 <id>only-eclipse</id>
147 <activation>
148 <property>
149 <name>m2e.version</name>
150 </property>
151 </activation>
152 <build>
153 <pluginManagement>
154 <plugins>
155 <plugin>
156 <groupId>org.eclipse.m2e</groupId>
157 <artifactId>lifecycle-mapping</artifactId>
158 <version>1.0.0</version>
159 <configuration>
160 <lifecycleMappingMetadata>
161 <pluginExecutions>
162 <pluginExecution>
163 <pluginExecutionFilter>
waqas.ikram34bdfe12018-05-31 11:09:58 +0100164 <groupId>org.codehaus.mojo</groupId>
165 <artifactId>exec-maven-plugin</artifactId>
waqas.ikram48229522018-05-31 14:49:38 +0100166 <versionRange>[1.6.0,)</versionRange>
waqas.ikram34bdfe12018-05-31 11:09:58 +0100167 <goals>
168 <goal>java</goal>
ramverma28ea3362018-07-18 16:28:07 +0100169 <goal>exec</goal>
waqas.ikram34bdfe12018-05-31 11:09:58 +0100170 </goals>
171 </pluginExecutionFilter>
172 <action>
173 <execute />
174 </action>
175 </pluginExecution>
176 <pluginExecution>
177 <pluginExecutionFilter>
eikrwaqa94302f2018-05-23 14:08:29 +0100178 <groupId>org.commonjava.maven.plugins</groupId>
179 <artifactId>directory-maven-plugin</artifactId>
180 <versionRange>0.2</versionRange>
181 <goals>
182 <goal>directory-of</goal>
183 </goals>
184 </pluginExecutionFilter>
185 <action>
186 <execute />
187 </action>
188 </pluginExecution>
ramvermaaf74a622018-07-31 18:25:39 +0100189 <pluginExecution>
ramvermac6d74e62018-07-11 14:21:13 +0100190 <pluginExecutionFilter>
191 <groupId>org.apache.maven.plugins</groupId>
192 <artifactId>maven-dependency-plugin</artifactId>
liamfallon32497612018-11-10 00:39:12 +0000193 <versionRange>[2.0,)</versionRange>
ramvermac6d74e62018-07-11 14:21:13 +0100194 <goals>
liamfallon32497612018-11-10 00:39:12 +0000195 <goal>unpack</goal>
ramvermac6d74e62018-07-11 14:21:13 +0100196 <goal>unpack-dependencies</goal>
197 </goals>
198 </pluginExecutionFilter>
199 <action>
200 <execute />
201 </action>
202 </pluginExecution>
liamfallon32497612018-11-10 00:39:12 +0000203 <pluginExecution>
204 <pluginExecutionFilter>
205 <groupId>org.apache.maven.plugins</groupId>
206 <artifactId>maven-antrun-plugin</artifactId>
207 <versionRange>[1.0,)</versionRange>
208 <goals>
209 <goal>run</goal>
210 </goals>
211 </pluginExecutionFilter>
212 <action>
213 <ignore />
214 </action>
215 </pluginExecution>
eikrwaqa94302f2018-05-23 14:08:29 +0100216 </pluginExecutions>
217 </lifecycleMappingMetadata>
218 </configuration>
219 </plugin>
220 </plugins>
221 </pluginManagement>
222 </build>
223 </profile>
ramvermaaf74a622018-07-31 18:25:39 +0100224
225 <profile>
226 <!--This profile is used to create local APEX documentation and a Maven site -->
227 <id>apexSite</id>
228 <activation>
229 <property>
230 <name>apexSite</name>
231 </property>
232 </activation>
233 <properties>
234 <!-- 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
235 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/ -->
236 <dependency.locations.enabled>false</dependency.locations.enabled>
237
238 <!-- Site and ADOC properties -->
239 <apex.adsite.prefix>https://www.onap.org/policy/apex-pdp/site</apex.adsite.prefix>
240 <release-version>${project.version}</release-version>
241
242 <adsite-main-dir>${project.basedir}/src</adsite-main-dir>
243 <adsite-tools-wsclients-dir>${project.basedir}/tools/simple-wsclient/src</adsite-tools-wsclients-dir>
244 <adsite-tools-common-dir>${project.basedir}/tools/tools-common/src</adsite-tools-common-dir>
liamfallona41c8772018-09-05 15:46:31 +0100245
ramvermaaf74a622018-07-31 18:25:39 +0100246 <adsite-examples-myfirstpolicy-dir>${project.basedir}/examples/examples-myfirstpolicy/src</adsite-examples-myfirstpolicy-dir>
247 <adsite-examples-decisionmaker-dir>${project.basedir}/examples/examples-decisionmaker/src</adsite-examples-decisionmaker-dir>
248 <adsite-examples-pcvs-dir>${project.basedir}/examples/examples-pcvs/src</adsite-examples-pcvs-dir>
249 <adsite-examples-periodic-dir>${project.basedir}/examples/examples-periodic/src</adsite-examples-periodic-dir>
250 <adsite-examples-onap-vcpe-dir>${project.basedir}/examples/examples-onap-vcpe/src</adsite-examples-onap-vcpe-dir>
s003703465262c352019-04-11 00:14:39 +0530251 <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 +0100252 <adsite-examples-servlet-dir>${project.basedir}/examples/examples-servlet/src</adsite-examples-servlet-dir>
ramvermaaf74a622018-07-31 18:25:39 +0100253
liamfallona41c8772018-09-05 15:46:31 +0100254 <adsite-packages-docker-dir>${project.basedir}/packages/apex-pdp-docker/src</adsite-packages-docker-dir>
255
ramvermaaf74a622018-07-31 18:25:39 +0100256 <adsite-plugins-event-protocol-dir>${project.basedir}/plugins/plugins-event/plugins-event-protocol/src</adsite-plugins-event-protocol-dir>
257 <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>
258 <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>
259 <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>
260
261 <adsite-plugins-event-carrier-dir>${project.basedir}/plugins/plugins-event/plugins-event-carrier/src</adsite-plugins-event-carrier-dir>
262 <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>
263 <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>
264 <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>
265 <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>
266 <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>
267 <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>
268 <adsite-plugins-context-dir>${project.basedir}/plugins/plugins-context/src</adsite-plugins-context-dir>
Dinh Danh Lea5a44272018-08-22 12:41:50 +0100269 <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 +0100270 <adsite-plugins-executor-dir>${project.basedir}/plugins/plugins-executor/src</adsite-plugins-executor-dir>
271 <adsite-plugins-executor-java-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-java/src</adsite-plugins-executor-java-dir>
272 <adsite-plugins-executor-javascript-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-javascript/src</adsite-plugins-executor-javascript-dir>
273 <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 +0100274 <!-- Jython support disabled due to security concerns -->
275 <!-- 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 +0100276 <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 +0100277
ramvermaaf74a622018-07-31 18:25:39 +0100278 <adsite-services-engine-dir>${project.basedir}/services/services-engine/src</adsite-services-engine-dir>
279 </properties>
280 <distributionManagement>
281 <site>
282 <id>${project.artifactId}-site</id>
283 <url>${apex.adsite.prefix}/</url>
284 </site>
285 </distributionManagement>
286 <build>
287 <plugins>
288 <plugin>
289 <groupId>org.commonjava.maven.plugins</groupId>
290 <artifactId>directory-maven-plugin</artifactId>
291 <version>0.2</version>
292 <executions>
293 <execution>
294 <id>directories</id>
295 <goals>
296 <goal>directory-of</goal>
297 </goals>
298 <phase>initialize</phase>
299 <configuration>
300 <property>apex.basedir</property>
301 <project>
302 <groupId>org.onap.policy.apex-pdp</groupId>
303 <artifactId>apex-pdp</artifactId>
304 </project>
305 </configuration>
306 </execution>
307 </executions>
308 </plugin>
309
310 <plugin>
311 <groupId>org.apache.maven.plugins</groupId>
312 <artifactId>maven-site-plugin</artifactId>
313 <version>3.7.1</version>
314 <configuration>
315 <stagingDirectory>${apex.basedir}/target/ad-site</stagingDirectory>
316 <asciidoc>
317 <embedAssets>true</embedAssets>
318 <attributes>
319 <source-highlighter>coderay</source-highlighter>
320 <coderay-css>style</coderay-css>
321 <imagesdir>images</imagesdir>
322 </attributes>
323 </asciidoc>
324 <moduleExcludes>
325 <asciidoc>**/_*.adoc</asciidoc>
326 </moduleExcludes>
327 </configuration>
328 <dependencies>
329 <dependency>
330 <groupId>org.apache.maven.doxia</groupId>
331 <artifactId>doxia-site-renderer</artifactId>
332 <version>1.8</version>
333 </dependency>
334 <dependency>
335 <groupId>org.asciidoctor</groupId>
336 <artifactId>asciidoctor-maven-plugin</artifactId>
337 <version>1.5.6</version>
338 </dependency>
339 </dependencies>
340 </plugin>
341
342 <plugin>
343 <groupId>org.apache.maven.plugins</groupId>
344 <artifactId>maven-resources-plugin</artifactId>
345 <version>3.0.2</version>
346 <executions>
347 <execution>
348 <id>copy-site-css</id>
349 <phase>process-resources</phase>
350 <goals>
351 <goal>copy-resources</goal>
352 </goals>
353 <configuration>
354 <resources>
355 <resource>
356 <directory>src/site/css</directory>
357 <includes>
358 <include>**/*.css</include>
359 </includes>
360 </resource>
361 </resources>
362 <outputDirectory>${project.build.directory}/site/css</outputDirectory>
363 <overwrite>true</overwrite>
364 </configuration>
365 </execution>
366
367 <execution>
368 <id>copy-site-logos</id>
369 <phase>process-resources</phase>
370 <goals>
371 <goal>copy-resources</goal>
372 </goals>
373 <configuration>
374 <resources>
375 <resource>
376 <directory>src/site/images</directory>
377 <includes>
378 <include>**/*.png</include>
379 </includes>
380 </resource>
381 </resources>
382 <outputDirectory>${project.build.directory}/site/images</outputDirectory>
383 <overwrite>true</overwrite>
384 </configuration>
385 </execution>
386
387 <execution>
388 <id>copy-um-install-images</id>
389 <phase>process-resources</phase>
390 <goals>
391 <goal>copy-resources</goal>
392 </goals>
393 <configuration>
394 <resources>
395 <resource>
396 <directory>src/site-docs/adoc/resources/images/install-guide</directory>
397 <includes>
398 <include>**/*.jpg</include>
399 <include>**/*.png</include>
400 </includes>
401 </resource>
402 </resources>
403 <outputDirectory>${project.build.directory}/site/user-manual/install/images/install-guide</outputDirectory>
404 </configuration>
405 </execution>
406
407 <execution>
408 <id>copy-howto-config-images</id>
409 <phase>process-resources</phase>
410 <goals>
411 <goal>copy-resources</goal>
412 </goals>
413 <configuration>
414 <resources>
415 <resource>
416 <directory>src/site-docs/adoc/resources/images/apex-intro</directory>
417 <includes>
418 <include>ApexEngineConfig.jpg</include>
419 <include>ApexEngineConfig.png</include>
420 </includes>
421 </resource>
422 </resources>
423 <outputDirectory>${project.build.directory}/site/user-manual/configuration/images/apex-intro</outputDirectory>
424 </configuration>
425 </execution>
426
427 <execution>
428 <id>copy-tech-intro-apex-images</id>
429 <phase>process-resources</phase>
430 <goals>
431 <goal>copy-resources</goal>
432 </goals>
433 <configuration>
434 <resources>
435 <resource>
436 <directory>src/site-docs/adoc/resources/images/apex-intro</directory>
437 <includes>
438 <include>**/*.jpg</include>
439 <include>**/*.png</include>
440 </includes>
441 </resource>
442 </resources>
443 <outputDirectory>${project.build.directory}/site/apex-intro/images/apex-intro</outputDirectory>
444 </configuration>
445 </execution>
446
447 <execution>
448 <id>copy-tech-pm-apex-images</id>
449 <phase>process-resources</phase>
450 <goals>
451 <goal>copy-resources</goal>
452 </goals>
453 <configuration>
454 <resources>
455 <resource>
456 <directory>src/site-docs/adoc/resources/images/apex-policy-model</directory>
457 <includes>
458 <include>**/*.jpg</include>
459 <include>**/*.png</include>
460 </includes>
461 </resource>
462 </resources>
463 <outputDirectory>${project.build.directory}/site/policy-guide/policy-model/images/apex-policy-model</outputDirectory>
464 </configuration>
465 </execution>
466
467 <execution>
468 <id>copy-tech-pm-apex-intro-images</id>
469 <phase>process-resources</phase>
470 <goals>
471 <goal>copy-resources</goal>
472 </goals>
473 <configuration>
474 <resources>
475 <resource>
476 <directory>src/site-docs/adoc/resources/images/apex-intro</directory>
477 <includes>
478 <include>ApexPolicyMatrix.png</include>
479 </includes>
480 </resource>
481 </resources>
482 <outputDirectory>${project.build.directory}/site/policy-guide/images/apex-intro</outputDirectory>
483 </configuration>
484 </execution>
485
486 <execution>
487 <id>copy-domain-mfp-images</id>
488 <phase>process-resources</phase>
489 <goals>
490 <goal>copy-resources</goal>
491 </goals>
492 <configuration>
493 <resources>
494 <resource>
Dinh Danh Lea5a44272018-08-22 12:41:50 +0100495 <directory>${project.basedir}/examples/examples-myfirstpolicy/src/site-docs/adoc/resources/images</directory>
ramvermaaf74a622018-07-31 18:25:39 +0100496 <includes>
497 <include>**/*.jpg</include>
498 <include>**/*.png</include>
499 </includes>
500 </resource>
501 </resources>
502 <outputDirectory>${project.build.directory}/site/user-manual/my-first-policy/images</outputDirectory>
503 </configuration>
504 </execution>
505
506 <execution>
507 <id>copy-asciidoc-generated</id>
508 <phase>process-resources</phase>
509 <goals>
510 <goal>copy-resources</goal>
511 </goals>
512 <configuration>
513 <resources>
514 <resource>
515 <directory>target/generated-docs</directory>
516 </resource>
517 </resources>
518 <outputDirectory>${project.build.directory}/site/docs-apex</outputDirectory>
519 </configuration>
520 </execution>
521 </executions>
522 </plugin>
523 </plugins>
524 </build>
525
526 <reporting>
527 <plugins>
528 <plugin>
529 <groupId>org.apache.maven.plugins</groupId>
530 <artifactId>maven-project-info-reports-plugin</artifactId>
531 <version>2.9</version>
532 </plugin>
533 <plugin>
534 <groupId>org.apache.maven.plugins</groupId>
535 <artifactId>maven-javadoc-plugin</artifactId>
536 <version>3.0.0-M1</version>
537 <reportSets>
538 <reportSet>
539 <id>default</id>
540 <reports>
541 <report>javadoc</report>
542 </reports>
543 </reportSet>
544 <reportSet>
545 <id>aggregate</id>
546 <inherited>false</inherited>
547 <reports>
548 <report>aggregate</report>
549 </reports>
550 </reportSet>
551 </reportSets>
552 <configuration>
553 <destDir>javadocs</destDir>
554 <source>${maven.compiler.target}</source>
555 <encoding>${project.resources.sourceEncoding}</encoding>
556 <docencoding>${project.resources.sourceEncoding}</docencoding>
557 <charset>${project.resources.sourceEncoding}</charset>
558 <!--<aggregate>false</aggregate>-->
559 <nohelp>true</nohelp>
560 <header>APEX - ${project.artifactId} ${project.version}</header>
561 <footer>APEX - ${project.artifactId} ${project.version}</footer>
562 <doctitle>APEX - ${project.artifactId} ${project.version}</doctitle>
563 <noqualifier>all</noqualifier>
564 <detectLinks>false</detectLinks>
565 <detectJavaApiLink>true</detectJavaApiLink>
566 <javadocDirectory>${project.basedir}/src/main/javadoc</javadocDirectory>
567 <docfilessubdirs>true</docfilessubdirs>
568 <overview>overview.html</overview>
569 <show>public</show>
570 <!-- Exclude JAXB generated packages -->
571 <excludePackageNames>org.onap.policy.apex.plugins.event.protocol.xml.jaxb</excludePackageNames>
572 </configuration>
573 </plugin>
574 </plugins>
575 </reporting>
576 </profile>
577
578 <profile>
579 <id>apexDocs</id>
580 <activation>
581 <property>
582 <name>apexDocs</name>
583 </property>
584 </activation>
liamfallon3aa7cbe2018-10-31 16:35:54 +0000585 <modules />
ramvermaaf74a622018-07-31 18:25:39 +0100586 <build>
587 <plugins>
588 <plugin>
589 <groupId>org.asciidoctor</groupId>
590 <artifactId>asciidoctor-maven-plugin</artifactId>
591 <version>1.5.6</version>
592 <dependencies>
593 <dependency>
594 <groupId>org.asciidoctor</groupId>
595 <artifactId>asciidoctorj-pdf</artifactId>
596 <version>1.5.0-alpha.16</version>
597 </dependency>
598 </dependencies>
599 <configuration>
600 <sourceHighlighter>coderay</sourceHighlighter>
601 <sourceDirectory>src/site-docs/adoc/guides</sourceDirectory>
602 <preserveDirectories>true</preserveDirectories>
603 <attributes>
604 <toc />
605 <pagenums />
606 <sectnums />
607 <linkcss>true</linkcss>
608 <stylesdir>styles</stylesdir>
609
610 <!-- Change this to get another style -->
611 <stylesheet>compass/rocket-panda.css</stylesheet>
612 <pdf-stylesdir>${project.basedir}/src/site-docs/adoc/resources-pdf/themes</pdf-stylesdir>
613 <pdf-style>apex-pdf.yml</pdf-style>
614 <pdf-fontsdir>${project.basedir}/src/site-docs/adoc/resources-pdf/fonts</pdf-fontsdir>
615
616 <revnumber>${project.version}</revnumber>
617 <revdate>${maven.build.timestamp}</revdate>
618 <organization>${project.organization.name}</organization>
619
620 <release-version>${project.version}</release-version>
621
622 <adsite-main-dir>${project.basedir}/src</adsite-main-dir>
623 <adsite-tools-wsclients-dir>${project.basedir}/tools/simple-wsclient/src</adsite-tools-wsclients-dir>
624 <adsite-tools-common-dir>${project.basedir}/tools/tools-common/src</adsite-tools-common-dir>
liamfallona41c8772018-09-05 15:46:31 +0100625
ramvermaaf74a622018-07-31 18:25:39 +0100626 <adsite-examples-myfirstpolicy-dir>${project.basedir}/examples/examples-myfirstpolicy/src</adsite-examples-myfirstpolicy-dir>
627 <adsite-examples-decisionmaker-dir>${project.basedir}/examples/examples-decisionmaker/src</adsite-examples-decisionmaker-dir>
628 <adsite-examples-pcvs-dir>${project.basedir}/examples/examples-pcvs/src</adsite-examples-pcvs-dir>
629 <adsite-examples-periodic-dir>${project.basedir}/examples/examples-periodic/src</adsite-examples-periodic-dir>
630 <adsite-examples-onap-vcpe-dir>${project.basedir}/examples/examples-onap-vcpe/src</adsite-examples-onap-vcpe-dir>
s003703465262c352019-04-11 00:14:39 +0530631 <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 +0100632 <adsite-examples-servlet-dir>${project.basedir}/examples/examples-servlet/src</adsite-examples-servlet-dir>
ramvermaaf74a622018-07-31 18:25:39 +0100633
liamfallona41c8772018-09-05 15:46:31 +0100634 <adsite-packages-docker-dir>${project.basedir}/packages/apex-pdp-docker/src</adsite-packages-docker-dir>
635
ramvermaaf74a622018-07-31 18:25:39 +0100636 <adsite-plugins-event-protocol-dir>${project.basedir}/plugins/plugins-event/plugins-event-protocol/src</adsite-plugins-event-protocol-dir>
637 <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>
638 <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>
639 <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>
640 <adsite-plugins-event-carrier-dir>${project.basedir}/plugins/plugins-event/plugins-event-carrier/src</adsite-plugins-event-carrier-dir>
641 <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>
642 <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>
643 <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>
644 <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>
645 <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>
646 <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>
647 <adsite-plugins-context-dir>${project.basedir}/plugins/plugins-context/src</adsite-plugins-context-dir>
Dinh Danh Lea5a44272018-08-22 12:41:50 +0100648 <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 +0100649 <adsite-plugins-executor-dir>${project.basedir}/plugins/plugins-executor/src</adsite-plugins-executor-dir>
650 <adsite-plugins-executor-java-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-java/src</adsite-plugins-executor-java-dir>
651 <adsite-plugins-executor-javascript-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-javascript/src</adsite-plugins-executor-javascript-dir>
652 <adsite-plugins-executor-jruby-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-jruby/src</adsite-plugins-executor-jruby-dir>
653 <adsite-plugins-executor-jython-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-jython/src</adsite-plugins-executor-jython-dir>
654 <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 +0100655
ramvermaaf74a622018-07-31 18:25:39 +0100656 <adsite-services-engine-dir>${project.basedir}/services/services-engine/src</adsite-services-engine-dir>
657 </attributes>
658 </configuration>
659 <executions>
660 <execution>
661 <id>asciidoc-html-doc</id>
662 <phase>generate-resources</phase>
663 <configuration>
664 <backend>html</backend>
665 <outputDirectory>${project.build.directory}/generated-docs/html</outputDirectory>
666 <resources>
667 <resource>
668 <directory>src/site-docs/adoc/resources</directory>
669 </resource>
670 <resource>
Dinh Danh Lea5a44272018-08-22 12:41:50 +0100671 <directory>${project.basedir}/examples/examples-myfirstpolicy/src/site-docs/adoc/resources</directory>
ramvermaaf74a622018-07-31 18:25:39 +0100672 </resource>
673 </resources>
674 </configuration>
675 <goals>
676 <goal>process-asciidoc</goal>
677 </goals>
678 </execution>
679 <execution>
680 <id>asciidoc-pdf-doc</id>
681 <phase>generate-resources</phase>
682 <configuration>
683 <backend>pdf</backend>
684 <outputDirectory>${project.build.directory}/generated-docs/pdf</outputDirectory>
685 <imagesDir>${project.basedir}/target/generated-docs/html/images</imagesDir>
686 </configuration>
687 <goals>
688 <goal>process-asciidoc</goal>
689 </goals>
690 </execution>
691 </executions>
692 </plugin>
Dinh Danh Lea5a44272018-08-22 12:41:50 +0100693
694 <plugin>
695 <groupId>org.apache.maven.plugins</groupId>
696 <artifactId>maven-resources-plugin</artifactId>
697 <version>3.0.2</version>
698 <executions>
699 <execution>
700 <id>copy-site-css</id>
701 <phase>generate-sources</phase>
702 <goals>
703 <goal>copy-resources</goal>
704 </goals>
705 <configuration>
706 <resources>
707 <resource>
708 <directory>${project.basedir}/src/site-docs/adoc/guides</directory>
709 <includes>
710 <include>**/*.css</include>
711 </includes>
712 </resource>
713 </resources>
714 <outputDirectory>${project.basedir}/target/generated-docs/pdf/styles</outputDirectory>
715 <overwrite>true</overwrite>
716 </configuration>
717 </execution>
718 </executions>
719 </plugin>
720
ramvermaaf74a622018-07-31 18:25:39 +0100721 </plugins>
722 </build>
723 </profile>
eikrwaqa94302f2018-05-23 14:08:29 +0100724 </profiles>
725
eikrwaqa94302f2018-05-23 14:08:29 +0100726 <modules>
727 <module>model</module>
ramverma10d58cd2018-05-29 15:25:49 +0100728 <module>context</module>
ramverma37d6fd92018-06-01 11:51:36 +0100729 <module>core</module>
waqas.ikram57224402018-06-01 14:23:01 +0100730 <module>auth</module>
waqas.ikram75ff76e2018-06-06 11:04:36 +0100731 <module>services</module>
waqas.ikramf94d7522018-06-05 16:18:01 +0100732 <module>plugins</module>
ramverma3d025432018-07-19 18:45:16 +0100733 <module>examples</module>
waqas.ikram2816ea62018-06-27 16:16:42 +0100734 <module>testsuites</module>
ramverma0ba66782018-07-06 16:29:16 +0100735 <module>client</module>
ramverma1eb51982018-07-16 15:23:45 +0100736 <module>tools</module>
liamfallon79ae3f72018-07-24 14:23:37 +0100737 <module>packages</module>
eikrwaqa94302f2018-05-23 14:08:29 +0100738 </modules>
liamfallon4d6fc382018-06-27 12:50:17 +0100739</project>