blob: 749566459e9a7aea333299cfef8fcebe59b91cab [file] [log] [blame]
eikrwaqa94302f2018-05-23 14:08:29 +01001<!--
2 ============LICENSE_START=======================================================
3 Copyright (C) 2018 Ericsson. All rights reserved.
liamfallon2e30d8c2019-01-11 10:51:50 +00004 Copyright (C) 2019 Nordix Foundation.
eikrwaqa94302f2018-05-23 14:08:29 +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
liamfallon32497612018-11-10 00:39:12 +000022<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">
eikrwaqa94302f2018-05-23 14:08:29 +010024 <modelVersion>4.0.0</modelVersion>
25 <parent>
26 <groupId>org.onap.policy.parent</groupId>
27 <artifactId>integration</artifactId>
liamfallon3aa7cbe2018-10-31 16:35:54 +000028 <version>2.1.0-SNAPSHOT</version>
eikrwaqa94302f2018-05-23 14:08:29 +010029 <relativePath />
30 </parent>
31
waqas.ikramf524b882018-05-24 15:31:21 +010032 <groupId>org.onap.policy.apex-pdp</groupId>
eikrwaqa94302f2018-05-23 14:08:29 +010033 <artifactId>apex-pdp</artifactId>
eikrwaqa94302f2018-05-23 14:08:29 +010034 <packaging>pom</packaging>
35
ramverma6029d252018-05-25 11:55:45 +010036 <name>policy-apex-pdp</name>
eikrwaqa94302f2018-05-23 14:08:29 +010037 <description>Packaging for all the Apex components, the engine, the WAR service, and the editor.</description>
38
39 <properties>
40 <encoding>UTF-8</encoding>
41 <file.encoding>UTF-8</file.encoding>
ramverma6029d252018-05-25 11:55:45 +010042 <version.derby>10.13.1.1</version.derby>
waqas.ikram75ff76e2018-06-06 11:04:36 +010043 <version.commons-cli>1.4</version.commons-cli>
liamfallona46382d2018-09-18 16:20:26 +010044 <version.kafka>1.1.1</version.kafka>
liamfallona40a3832018-07-06 09:41:40 +010045 <version.jersey>2.26</version.jersey>
liamfallon1ba6a322019-02-22 17:30:59 +000046 <version.hibernate>5.3.7.Final</version.hibernate>
liamfallon3aa7cbe2018-10-31 16:35:54 +000047 <version.policy.common>1.4.0-SNAPSHOT</version.policy.common>
ramvermab59d62f2018-09-09 15:07:34 +010048
49 <!-- sonar/jacoco overrides -->
50 <!-- Overriding oparent default sonar/jacoco settings Combine all our reports
51 into one file shared across sub-modules -->
52 <sonar.jacoco.reportPath>${project.basedir}/../target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
53 <sonar.jacoco.itReportPath>${project.basedir}/../target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
54 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
eikrwaqa94302f2018-05-23 14:08:29 +010055 </properties>
56
57 <distributionManagement>
58 <site>
59 <id>ecomp-site</id>
60 <url>dav:${onap.nexus.url}${sitePath}</url>
61 </site>
62 </distributionManagement>
63
64 <dependencies>
65 <dependency>
66 <groupId>junit</groupId>
67 <artifactId>junit</artifactId>
68 <scope>test</scope>
69 </dependency>
70 <dependency>
71 <groupId>org.slf4j</groupId>
72 <artifactId>slf4j-ext</artifactId>
liamfallonf86117b2018-06-19 11:31:44 +080073 <version>1.8.0-beta2</version>
eikrwaqa94302f2018-05-23 14:08:29 +010074 </dependency>
75 <dependency>
76 <groupId>org.slf4j</groupId>
77 <artifactId>slf4j-api</artifactId>
78 </dependency>
79 <dependency>
80 <groupId>ch.qos.logback</groupId>
81 <artifactId>logback-core</artifactId>
82 </dependency>
83 <dependency>
84 <groupId>ch.qos.logback</groupId>
85 <artifactId>logback-classic</artifactId>
86 </dependency>
87 </dependencies>
88
liamfallonefdaa0d2018-08-03 16:12:01 +010089 <dependencyManagement>
90 <dependencies>
91 <dependency>
92 <groupId>org.onap.policy.common</groupId>
93 <artifactId>utils</artifactId>
94 <version>${version.policy.common}</version>
95 </dependency>
liamfallonf3250832018-08-30 09:37:29 +010096 <dependency>
97 <groupId>org.onap.policy.common</groupId>
98 <artifactId>common-parameters</artifactId>
ramverma79e5ede2018-10-24 20:14:02 +010099 <version>${version.policy.common}</version>
liamfallonf3250832018-08-30 09:37:29 +0100100 </dependency>
liamfallonefdaa0d2018-08-03 16:12:01 +0100101 </dependencies>
102 </dependencyManagement>
eikrwaqa94302f2018-05-23 14:08:29 +0100103
104 <profiles>
105 <profile>
106 <!--This profile is used to store Eclipse m2e settings only. It has no
107 influence on the Maven build itself. -->
108 <id>only-eclipse</id>
109 <activation>
110 <property>
111 <name>m2e.version</name>
112 </property>
113 </activation>
114 <build>
115 <pluginManagement>
116 <plugins>
117 <plugin>
118 <groupId>org.eclipse.m2e</groupId>
119 <artifactId>lifecycle-mapping</artifactId>
120 <version>1.0.0</version>
121 <configuration>
122 <lifecycleMappingMetadata>
123 <pluginExecutions>
124 <pluginExecution>
125 <pluginExecutionFilter>
waqas.ikram34bdfe12018-05-31 11:09:58 +0100126 <groupId>org.codehaus.mojo</groupId>
127 <artifactId>exec-maven-plugin</artifactId>
waqas.ikram48229522018-05-31 14:49:38 +0100128 <versionRange>[1.6.0,)</versionRange>
waqas.ikram34bdfe12018-05-31 11:09:58 +0100129 <goals>
130 <goal>java</goal>
ramverma28ea3362018-07-18 16:28:07 +0100131 <goal>exec</goal>
waqas.ikram34bdfe12018-05-31 11:09:58 +0100132 </goals>
133 </pluginExecutionFilter>
134 <action>
135 <execute />
136 </action>
137 </pluginExecution>
138 <pluginExecution>
139 <pluginExecutionFilter>
eikrwaqa94302f2018-05-23 14:08:29 +0100140 <groupId>org.commonjava.maven.plugins</groupId>
141 <artifactId>directory-maven-plugin</artifactId>
142 <versionRange>0.2</versionRange>
143 <goals>
144 <goal>directory-of</goal>
145 </goals>
146 </pluginExecutionFilter>
147 <action>
148 <execute />
149 </action>
150 </pluginExecution>
ramvermaaf74a622018-07-31 18:25:39 +0100151 <pluginExecution>
ramvermac6d74e62018-07-11 14:21:13 +0100152 <pluginExecutionFilter>
153 <groupId>org.apache.maven.plugins</groupId>
154 <artifactId>maven-dependency-plugin</artifactId>
liamfallon32497612018-11-10 00:39:12 +0000155 <versionRange>[2.0,)</versionRange>
ramvermac6d74e62018-07-11 14:21:13 +0100156 <goals>
liamfallon32497612018-11-10 00:39:12 +0000157 <goal>unpack</goal>
ramvermac6d74e62018-07-11 14:21:13 +0100158 <goal>unpack-dependencies</goal>
159 </goals>
160 </pluginExecutionFilter>
161 <action>
162 <execute />
163 </action>
164 </pluginExecution>
liamfallon32497612018-11-10 00:39:12 +0000165 <pluginExecution>
166 <pluginExecutionFilter>
167 <groupId>org.apache.maven.plugins</groupId>
168 <artifactId>maven-antrun-plugin</artifactId>
169 <versionRange>[1.0,)</versionRange>
170 <goals>
171 <goal>run</goal>
172 </goals>
173 </pluginExecutionFilter>
174 <action>
175 <ignore />
176 </action>
177 </pluginExecution>
eikrwaqa94302f2018-05-23 14:08:29 +0100178 </pluginExecutions>
179 </lifecycleMappingMetadata>
180 </configuration>
181 </plugin>
182 </plugins>
183 </pluginManagement>
184 </build>
185 </profile>
ramvermaaf74a622018-07-31 18:25:39 +0100186
187 <profile>
188 <!--This profile is used to create local APEX documentation and a Maven site -->
189 <id>apexSite</id>
190 <activation>
191 <property>
192 <name>apexSite</name>
193 </property>
194 </activation>
195 <properties>
196 <!-- 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
197 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/ -->
198 <dependency.locations.enabled>false</dependency.locations.enabled>
199
200 <!-- Site and ADOC properties -->
201 <apex.adsite.prefix>https://www.onap.org/policy/apex-pdp/site</apex.adsite.prefix>
202 <release-version>${project.version}</release-version>
203
204 <adsite-main-dir>${project.basedir}/src</adsite-main-dir>
205 <adsite-tools-wsclients-dir>${project.basedir}/tools/simple-wsclient/src</adsite-tools-wsclients-dir>
206 <adsite-tools-common-dir>${project.basedir}/tools/tools-common/src</adsite-tools-common-dir>
liamfallona41c8772018-09-05 15:46:31 +0100207
ramvermaaf74a622018-07-31 18:25:39 +0100208 <adsite-examples-myfirstpolicy-dir>${project.basedir}/examples/examples-myfirstpolicy/src</adsite-examples-myfirstpolicy-dir>
209 <adsite-examples-decisionmaker-dir>${project.basedir}/examples/examples-decisionmaker/src</adsite-examples-decisionmaker-dir>
210 <adsite-examples-pcvs-dir>${project.basedir}/examples/examples-pcvs/src</adsite-examples-pcvs-dir>
211 <adsite-examples-periodic-dir>${project.basedir}/examples/examples-periodic/src</adsite-examples-periodic-dir>
212 <adsite-examples-onap-vcpe-dir>${project.basedir}/examples/examples-onap-vcpe/src</adsite-examples-onap-vcpe-dir>
Dinh Danh Lea5a44272018-08-22 12:41:50 +0100213 <adsite-examples-servlet-dir>${project.basedir}/examples/examples-servlet/src</adsite-examples-servlet-dir>
ramvermaaf74a622018-07-31 18:25:39 +0100214
liamfallona41c8772018-09-05 15:46:31 +0100215 <adsite-packages-docker-dir>${project.basedir}/packages/apex-pdp-docker/src</adsite-packages-docker-dir>
216
ramvermaaf74a622018-07-31 18:25:39 +0100217 <adsite-plugins-event-protocol-dir>${project.basedir}/plugins/plugins-event/plugins-event-protocol/src</adsite-plugins-event-protocol-dir>
218 <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>
219 <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>
220 <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>
221
222 <adsite-plugins-event-carrier-dir>${project.basedir}/plugins/plugins-event/plugins-event-carrier/src</adsite-plugins-event-carrier-dir>
223 <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>
224 <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>
225 <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>
226 <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>
227 <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>
228 <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>
229 <adsite-plugins-context-dir>${project.basedir}/plugins/plugins-context/src</adsite-plugins-context-dir>
Dinh Danh Lea5a44272018-08-22 12:41:50 +0100230 <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 +0100231 <adsite-plugins-executor-dir>${project.basedir}/plugins/plugins-executor/src</adsite-plugins-executor-dir>
232 <adsite-plugins-executor-java-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-java/src</adsite-plugins-executor-java-dir>
233 <adsite-plugins-executor-javascript-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-javascript/src</adsite-plugins-executor-javascript-dir>
234 <adsite-plugins-executor-jruby-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-jruby/src</adsite-plugins-executor-jruby-dir>
235 <adsite-plugins-executor-jython-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-jython/src</adsite-plugins-executor-jython-dir>
236 <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 +0100237
ramvermaaf74a622018-07-31 18:25:39 +0100238 <adsite-services-engine-dir>${project.basedir}/services/services-engine/src</adsite-services-engine-dir>
239 </properties>
240 <distributionManagement>
241 <site>
242 <id>${project.artifactId}-site</id>
243 <url>${apex.adsite.prefix}/</url>
244 </site>
245 </distributionManagement>
246 <build>
247 <plugins>
248 <plugin>
249 <groupId>org.commonjava.maven.plugins</groupId>
250 <artifactId>directory-maven-plugin</artifactId>
251 <version>0.2</version>
252 <executions>
253 <execution>
254 <id>directories</id>
255 <goals>
256 <goal>directory-of</goal>
257 </goals>
258 <phase>initialize</phase>
259 <configuration>
260 <property>apex.basedir</property>
261 <project>
262 <groupId>org.onap.policy.apex-pdp</groupId>
263 <artifactId>apex-pdp</artifactId>
264 </project>
265 </configuration>
266 </execution>
267 </executions>
268 </plugin>
269
270 <plugin>
271 <groupId>org.apache.maven.plugins</groupId>
272 <artifactId>maven-site-plugin</artifactId>
273 <version>3.7.1</version>
274 <configuration>
275 <stagingDirectory>${apex.basedir}/target/ad-site</stagingDirectory>
276 <asciidoc>
277 <embedAssets>true</embedAssets>
278 <attributes>
279 <source-highlighter>coderay</source-highlighter>
280 <coderay-css>style</coderay-css>
281 <imagesdir>images</imagesdir>
282 </attributes>
283 </asciidoc>
284 <moduleExcludes>
285 <asciidoc>**/_*.adoc</asciidoc>
286 </moduleExcludes>
287 </configuration>
288 <dependencies>
289 <dependency>
290 <groupId>org.apache.maven.doxia</groupId>
291 <artifactId>doxia-site-renderer</artifactId>
292 <version>1.8</version>
293 </dependency>
294 <dependency>
295 <groupId>org.asciidoctor</groupId>
296 <artifactId>asciidoctor-maven-plugin</artifactId>
297 <version>1.5.6</version>
298 </dependency>
299 </dependencies>
300 </plugin>
301
302 <plugin>
303 <groupId>org.apache.maven.plugins</groupId>
304 <artifactId>maven-resources-plugin</artifactId>
305 <version>3.0.2</version>
306 <executions>
307 <execution>
308 <id>copy-site-css</id>
309 <phase>process-resources</phase>
310 <goals>
311 <goal>copy-resources</goal>
312 </goals>
313 <configuration>
314 <resources>
315 <resource>
316 <directory>src/site/css</directory>
317 <includes>
318 <include>**/*.css</include>
319 </includes>
320 </resource>
321 </resources>
322 <outputDirectory>${project.build.directory}/site/css</outputDirectory>
323 <overwrite>true</overwrite>
324 </configuration>
325 </execution>
326
327 <execution>
328 <id>copy-site-logos</id>
329 <phase>process-resources</phase>
330 <goals>
331 <goal>copy-resources</goal>
332 </goals>
333 <configuration>
334 <resources>
335 <resource>
336 <directory>src/site/images</directory>
337 <includes>
338 <include>**/*.png</include>
339 </includes>
340 </resource>
341 </resources>
342 <outputDirectory>${project.build.directory}/site/images</outputDirectory>
343 <overwrite>true</overwrite>
344 </configuration>
345 </execution>
346
347 <execution>
348 <id>copy-um-install-images</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-docs/adoc/resources/images/install-guide</directory>
357 <includes>
358 <include>**/*.jpg</include>
359 <include>**/*.png</include>
360 </includes>
361 </resource>
362 </resources>
363 <outputDirectory>${project.build.directory}/site/user-manual/install/images/install-guide</outputDirectory>
364 </configuration>
365 </execution>
366
367 <execution>
368 <id>copy-howto-config-images</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-docs/adoc/resources/images/apex-intro</directory>
377 <includes>
378 <include>ApexEngineConfig.jpg</include>
379 <include>ApexEngineConfig.png</include>
380 </includes>
381 </resource>
382 </resources>
383 <outputDirectory>${project.build.directory}/site/user-manual/configuration/images/apex-intro</outputDirectory>
384 </configuration>
385 </execution>
386
387 <execution>
388 <id>copy-tech-intro-apex-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/apex-intro</directory>
397 <includes>
398 <include>**/*.jpg</include>
399 <include>**/*.png</include>
400 </includes>
401 </resource>
402 </resources>
403 <outputDirectory>${project.build.directory}/site/apex-intro/images/apex-intro</outputDirectory>
404 </configuration>
405 </execution>
406
407 <execution>
408 <id>copy-tech-pm-apex-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-policy-model</directory>
417 <includes>
418 <include>**/*.jpg</include>
419 <include>**/*.png</include>
420 </includes>
421 </resource>
422 </resources>
423 <outputDirectory>${project.build.directory}/site/policy-guide/policy-model/images/apex-policy-model</outputDirectory>
424 </configuration>
425 </execution>
426
427 <execution>
428 <id>copy-tech-pm-apex-intro-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>ApexPolicyMatrix.png</include>
439 </includes>
440 </resource>
441 </resources>
442 <outputDirectory>${project.build.directory}/site/policy-guide/images/apex-intro</outputDirectory>
443 </configuration>
444 </execution>
445
446 <execution>
447 <id>copy-domain-mfp-images</id>
448 <phase>process-resources</phase>
449 <goals>
450 <goal>copy-resources</goal>
451 </goals>
452 <configuration>
453 <resources>
454 <resource>
Dinh Danh Lea5a44272018-08-22 12:41:50 +0100455 <directory>${project.basedir}/examples/examples-myfirstpolicy/src/site-docs/adoc/resources/images</directory>
ramvermaaf74a622018-07-31 18:25:39 +0100456 <includes>
457 <include>**/*.jpg</include>
458 <include>**/*.png</include>
459 </includes>
460 </resource>
461 </resources>
462 <outputDirectory>${project.build.directory}/site/user-manual/my-first-policy/images</outputDirectory>
463 </configuration>
464 </execution>
465
466 <execution>
467 <id>copy-asciidoc-generated</id>
468 <phase>process-resources</phase>
469 <goals>
470 <goal>copy-resources</goal>
471 </goals>
472 <configuration>
473 <resources>
474 <resource>
475 <directory>target/generated-docs</directory>
476 </resource>
477 </resources>
478 <outputDirectory>${project.build.directory}/site/docs-apex</outputDirectory>
479 </configuration>
480 </execution>
481 </executions>
482 </plugin>
483 </plugins>
484 </build>
485
486 <reporting>
487 <plugins>
488 <plugin>
489 <groupId>org.apache.maven.plugins</groupId>
490 <artifactId>maven-project-info-reports-plugin</artifactId>
491 <version>2.9</version>
492 </plugin>
493 <plugin>
494 <groupId>org.apache.maven.plugins</groupId>
495 <artifactId>maven-javadoc-plugin</artifactId>
496 <version>3.0.0-M1</version>
497 <reportSets>
498 <reportSet>
499 <id>default</id>
500 <reports>
501 <report>javadoc</report>
502 </reports>
503 </reportSet>
504 <reportSet>
505 <id>aggregate</id>
506 <inherited>false</inherited>
507 <reports>
508 <report>aggregate</report>
509 </reports>
510 </reportSet>
511 </reportSets>
512 <configuration>
513 <destDir>javadocs</destDir>
514 <source>${maven.compiler.target}</source>
515 <encoding>${project.resources.sourceEncoding}</encoding>
516 <docencoding>${project.resources.sourceEncoding}</docencoding>
517 <charset>${project.resources.sourceEncoding}</charset>
518 <!--<aggregate>false</aggregate>-->
519 <nohelp>true</nohelp>
520 <header>APEX - ${project.artifactId} ${project.version}</header>
521 <footer>APEX - ${project.artifactId} ${project.version}</footer>
522 <doctitle>APEX - ${project.artifactId} ${project.version}</doctitle>
523 <noqualifier>all</noqualifier>
524 <detectLinks>false</detectLinks>
525 <detectJavaApiLink>true</detectJavaApiLink>
526 <javadocDirectory>${project.basedir}/src/main/javadoc</javadocDirectory>
527 <docfilessubdirs>true</docfilessubdirs>
528 <overview>overview.html</overview>
529 <show>public</show>
530 <!-- Exclude JAXB generated packages -->
531 <excludePackageNames>org.onap.policy.apex.plugins.event.protocol.xml.jaxb</excludePackageNames>
532 </configuration>
533 </plugin>
534 </plugins>
535 </reporting>
536 </profile>
537
538 <profile>
539 <id>apexDocs</id>
540 <activation>
541 <property>
542 <name>apexDocs</name>
543 </property>
544 </activation>
liamfallon3aa7cbe2018-10-31 16:35:54 +0000545 <modules />
ramvermaaf74a622018-07-31 18:25:39 +0100546 <build>
547 <plugins>
548 <plugin>
549 <groupId>org.asciidoctor</groupId>
550 <artifactId>asciidoctor-maven-plugin</artifactId>
551 <version>1.5.6</version>
552 <dependencies>
553 <dependency>
554 <groupId>org.asciidoctor</groupId>
555 <artifactId>asciidoctorj-pdf</artifactId>
556 <version>1.5.0-alpha.16</version>
557 </dependency>
558 </dependencies>
559 <configuration>
560 <sourceHighlighter>coderay</sourceHighlighter>
561 <sourceDirectory>src/site-docs/adoc/guides</sourceDirectory>
562 <preserveDirectories>true</preserveDirectories>
563 <attributes>
564 <toc />
565 <pagenums />
566 <sectnums />
567 <linkcss>true</linkcss>
568 <stylesdir>styles</stylesdir>
569
570 <!-- Change this to get another style -->
571 <stylesheet>compass/rocket-panda.css</stylesheet>
572 <pdf-stylesdir>${project.basedir}/src/site-docs/adoc/resources-pdf/themes</pdf-stylesdir>
573 <pdf-style>apex-pdf.yml</pdf-style>
574 <pdf-fontsdir>${project.basedir}/src/site-docs/adoc/resources-pdf/fonts</pdf-fontsdir>
575
576 <revnumber>${project.version}</revnumber>
577 <revdate>${maven.build.timestamp}</revdate>
578 <organization>${project.organization.name}</organization>
579
580 <release-version>${project.version}</release-version>
581
582 <adsite-main-dir>${project.basedir}/src</adsite-main-dir>
583 <adsite-tools-wsclients-dir>${project.basedir}/tools/simple-wsclient/src</adsite-tools-wsclients-dir>
584 <adsite-tools-common-dir>${project.basedir}/tools/tools-common/src</adsite-tools-common-dir>
liamfallona41c8772018-09-05 15:46:31 +0100585
ramvermaaf74a622018-07-31 18:25:39 +0100586 <adsite-examples-myfirstpolicy-dir>${project.basedir}/examples/examples-myfirstpolicy/src</adsite-examples-myfirstpolicy-dir>
587 <adsite-examples-decisionmaker-dir>${project.basedir}/examples/examples-decisionmaker/src</adsite-examples-decisionmaker-dir>
588 <adsite-examples-pcvs-dir>${project.basedir}/examples/examples-pcvs/src</adsite-examples-pcvs-dir>
589 <adsite-examples-periodic-dir>${project.basedir}/examples/examples-periodic/src</adsite-examples-periodic-dir>
590 <adsite-examples-onap-vcpe-dir>${project.basedir}/examples/examples-onap-vcpe/src</adsite-examples-onap-vcpe-dir>
Dinh Danh Lea5a44272018-08-22 12:41:50 +0100591 <adsite-examples-servlet-dir>${project.basedir}/examples/examples-servlet/src</adsite-examples-servlet-dir>
ramvermaaf74a622018-07-31 18:25:39 +0100592
liamfallona41c8772018-09-05 15:46:31 +0100593 <adsite-packages-docker-dir>${project.basedir}/packages/apex-pdp-docker/src</adsite-packages-docker-dir>
594
ramvermaaf74a622018-07-31 18:25:39 +0100595 <adsite-plugins-event-protocol-dir>${project.basedir}/plugins/plugins-event/plugins-event-protocol/src</adsite-plugins-event-protocol-dir>
596 <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>
597 <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>
598 <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>
599 <adsite-plugins-event-carrier-dir>${project.basedir}/plugins/plugins-event/plugins-event-carrier/src</adsite-plugins-event-carrier-dir>
600 <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>
601 <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>
602 <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>
603 <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>
604 <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>
605 <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>
606 <adsite-plugins-context-dir>${project.basedir}/plugins/plugins-context/src</adsite-plugins-context-dir>
Dinh Danh Lea5a44272018-08-22 12:41:50 +0100607 <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 +0100608 <adsite-plugins-executor-dir>${project.basedir}/plugins/plugins-executor/src</adsite-plugins-executor-dir>
609 <adsite-plugins-executor-java-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-java/src</adsite-plugins-executor-java-dir>
610 <adsite-plugins-executor-javascript-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-javascript/src</adsite-plugins-executor-javascript-dir>
611 <adsite-plugins-executor-jruby-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-jruby/src</adsite-plugins-executor-jruby-dir>
612 <adsite-plugins-executor-jython-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-jython/src</adsite-plugins-executor-jython-dir>
613 <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 +0100614
ramvermaaf74a622018-07-31 18:25:39 +0100615 <adsite-services-engine-dir>${project.basedir}/services/services-engine/src</adsite-services-engine-dir>
616 </attributes>
617 </configuration>
618 <executions>
619 <execution>
620 <id>asciidoc-html-doc</id>
621 <phase>generate-resources</phase>
622 <configuration>
623 <backend>html</backend>
624 <outputDirectory>${project.build.directory}/generated-docs/html</outputDirectory>
625 <resources>
626 <resource>
627 <directory>src/site-docs/adoc/resources</directory>
628 </resource>
629 <resource>
Dinh Danh Lea5a44272018-08-22 12:41:50 +0100630 <directory>${project.basedir}/examples/examples-myfirstpolicy/src/site-docs/adoc/resources</directory>
ramvermaaf74a622018-07-31 18:25:39 +0100631 </resource>
632 </resources>
633 </configuration>
634 <goals>
635 <goal>process-asciidoc</goal>
636 </goals>
637 </execution>
638 <execution>
639 <id>asciidoc-pdf-doc</id>
640 <phase>generate-resources</phase>
641 <configuration>
642 <backend>pdf</backend>
643 <outputDirectory>${project.build.directory}/generated-docs/pdf</outputDirectory>
644 <imagesDir>${project.basedir}/target/generated-docs/html/images</imagesDir>
645 </configuration>
646 <goals>
647 <goal>process-asciidoc</goal>
648 </goals>
649 </execution>
650 </executions>
651 </plugin>
Dinh Danh Lea5a44272018-08-22 12:41:50 +0100652
653 <plugin>
654 <groupId>org.apache.maven.plugins</groupId>
655 <artifactId>maven-resources-plugin</artifactId>
656 <version>3.0.2</version>
657 <executions>
658 <execution>
659 <id>copy-site-css</id>
660 <phase>generate-sources</phase>
661 <goals>
662 <goal>copy-resources</goal>
663 </goals>
664 <configuration>
665 <resources>
666 <resource>
667 <directory>${project.basedir}/src/site-docs/adoc/guides</directory>
668 <includes>
669 <include>**/*.css</include>
670 </includes>
671 </resource>
672 </resources>
673 <outputDirectory>${project.basedir}/target/generated-docs/pdf/styles</outputDirectory>
674 <overwrite>true</overwrite>
675 </configuration>
676 </execution>
677 </executions>
678 </plugin>
679
ramvermaaf74a622018-07-31 18:25:39 +0100680 </plugins>
681 </build>
682 </profile>
eikrwaqa94302f2018-05-23 14:08:29 +0100683 </profiles>
684
ramvermab59d62f2018-09-09 15:07:34 +0100685 <build>
686 <plugins>
687 <plugin>
688 <groupId>org.jacoco</groupId>
689 <artifactId>jacoco-maven-plugin</artifactId>
690 <executions>
691 <execution>
692 <id>pre-unit-test</id>
693 <goals>
694 <goal>prepare-agent</goal>
695 </goals>
696 <configuration>
697 <destFile>${sonar.jacoco.reportPath}</destFile>
698 <append>true</append>
699 </configuration>
700 </execution>
701 <execution>
702 <id>post-unit-test</id>
703 <phase>test</phase>
704 <goals>
705 <goal>report</goal>
706 </goals>
707 <configuration>
708 <dataFile>${sonar.jacoco.reportPath}</dataFile>
709 </configuration>
710 </execution>
711 </executions>
712 </plugin>
713 </plugins>
714 <pluginManagement>
715 <plugins>
716 <plugin>
717 <groupId>org.jacoco</groupId>
718 <artifactId>jacoco-maven-plugin</artifactId>
719 <version>${jacoco.version}</version>
720 <configuration>
721 <!-- Note: This exclusion list should match <sonar.exclusions> property
722 above -->
723 <excludes>
724 <exclude>**/gen/**</exclude>
725 <exclude>**/generated-sources/**</exclude>
726 <exclude>**/yang-gen/**</exclude>
727 <exclude>**/pax/**</exclude>
728 </excludes>
729 </configuration>
730 <executions>
731 <!-- Prepares the property pointing to the JaCoCo runtime agent which
732 is passed as VM argument when Maven the Surefire plugin is executed. -->
733 <execution>
734 <id>pre-unit-test</id>
735 <goals>
736 <goal>prepare-agent</goal>
737 </goals>
738 <configuration>
739 <destFile>${sonar.jacoco.reportPath}</destFile>
740 </configuration>
741 </execution>
742 <!-- Ensures that the code coverage report for unit tests is created
743 after unit tests have been run. -->
744 <execution>
745 <id>post-unit-test</id>
746 <phase>test</phase>
747 <goals>
748 <goal>report</goal>
749 </goals>
750 <configuration>
751 <dataFile>${sonar.jacoco.reportPath}</dataFile>
752 </configuration>
753 </execution>
754 </executions>
755 </plugin>
756 </plugins>
757 </pluginManagement>
758 </build>
eikrwaqa94302f2018-05-23 14:08:29 +0100759
760 <modules>
761 <module>model</module>
ramverma10d58cd2018-05-29 15:25:49 +0100762 <module>context</module>
ramverma37d6fd92018-06-01 11:51:36 +0100763 <module>core</module>
waqas.ikram57224402018-06-01 14:23:01 +0100764 <module>auth</module>
waqas.ikram75ff76e2018-06-06 11:04:36 +0100765 <module>services</module>
waqas.ikramf94d7522018-06-05 16:18:01 +0100766 <module>plugins</module>
ramverma3d025432018-07-19 18:45:16 +0100767 <module>examples</module>
waqas.ikram2816ea62018-06-27 16:16:42 +0100768 <module>testsuites</module>
ramverma0ba66782018-07-06 16:29:16 +0100769 <module>client</module>
ramverma1eb51982018-07-16 15:23:45 +0100770 <module>tools</module>
liamfallon79ae3f72018-07-24 14:23:37 +0100771 <module>packages</module>
eikrwaqa94302f2018-05-23 14:08:29 +0100772 </modules>
liamfallon4d6fc382018-06-27 12:50:17 +0100773</project>