blob: afb89113550ecb00dbe0817697c1a7bfd101327f [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>
liamfallonf86117b2018-06-19 11:31:44 +080077 <version>1.8.0-beta2</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>
a.sreekumar0fbf0392019-06-20 09:39:59 +0000523
524 <plugin>
525 <artifactId>maven-checkstyle-plugin</artifactId>
526 <executions>
527 <execution>
528 <id>onap-java-style</id>
529 <goals>
530 <goal>check</goal>
531 </goals>
532 <phase>process-sources</phase>
533 <configuration>
534 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
535 with minor changes -->
536 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
537 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
538 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
539 <includeResources>true</includeResources>
540 <includeTestSourceDirectory>true</includeTestSourceDirectory>
541 <includeTestResources>true</includeTestResources>
542 <excludes>
543 </excludes>
544 <consoleOutput>true</consoleOutput>
545 <failOnViolation>true</failOnViolation>
546 <violationSeverity>warning</violationSeverity>
547 </configuration>
548 </execution>
549 </executions>
550 <dependencies>
551 <dependency>
552 <groupId>org.onap.oparent</groupId>
553 <artifactId>checkstyle</artifactId>
554 <version>${oparent.version}</version>
555 <scope>compile</scope>
556 </dependency>
557 </dependencies>
558 </plugin>
ramvermaaf74a622018-07-31 18:25:39 +0100559 </plugins>
560 </build>
561
562 <reporting>
563 <plugins>
564 <plugin>
565 <groupId>org.apache.maven.plugins</groupId>
566 <artifactId>maven-project-info-reports-plugin</artifactId>
567 <version>2.9</version>
568 </plugin>
569 <plugin>
570 <groupId>org.apache.maven.plugins</groupId>
571 <artifactId>maven-javadoc-plugin</artifactId>
572 <version>3.0.0-M1</version>
573 <reportSets>
574 <reportSet>
575 <id>default</id>
576 <reports>
577 <report>javadoc</report>
578 </reports>
579 </reportSet>
580 <reportSet>
581 <id>aggregate</id>
582 <inherited>false</inherited>
583 <reports>
584 <report>aggregate</report>
585 </reports>
586 </reportSet>
587 </reportSets>
588 <configuration>
589 <destDir>javadocs</destDir>
590 <source>${maven.compiler.target}</source>
591 <encoding>${project.resources.sourceEncoding}</encoding>
592 <docencoding>${project.resources.sourceEncoding}</docencoding>
593 <charset>${project.resources.sourceEncoding}</charset>
594 <!--<aggregate>false</aggregate>-->
595 <nohelp>true</nohelp>
596 <header>APEX - ${project.artifactId} ${project.version}</header>
597 <footer>APEX - ${project.artifactId} ${project.version}</footer>
598 <doctitle>APEX - ${project.artifactId} ${project.version}</doctitle>
599 <noqualifier>all</noqualifier>
600 <detectLinks>false</detectLinks>
601 <detectJavaApiLink>true</detectJavaApiLink>
602 <javadocDirectory>${project.basedir}/src/main/javadoc</javadocDirectory>
603 <docfilessubdirs>true</docfilessubdirs>
604 <overview>overview.html</overview>
605 <show>public</show>
606 <!-- Exclude JAXB generated packages -->
607 <excludePackageNames>org.onap.policy.apex.plugins.event.protocol.xml.jaxb</excludePackageNames>
608 </configuration>
609 </plugin>
610 </plugins>
611 </reporting>
612 </profile>
613
614 <profile>
615 <id>apexDocs</id>
616 <activation>
617 <property>
618 <name>apexDocs</name>
619 </property>
620 </activation>
liamfallon3aa7cbe2018-10-31 16:35:54 +0000621 <modules />
ramvermaaf74a622018-07-31 18:25:39 +0100622 <build>
623 <plugins>
624 <plugin>
625 <groupId>org.asciidoctor</groupId>
626 <artifactId>asciidoctor-maven-plugin</artifactId>
627 <version>1.5.6</version>
628 <dependencies>
629 <dependency>
630 <groupId>org.asciidoctor</groupId>
631 <artifactId>asciidoctorj-pdf</artifactId>
632 <version>1.5.0-alpha.16</version>
633 </dependency>
634 </dependencies>
635 <configuration>
636 <sourceHighlighter>coderay</sourceHighlighter>
637 <sourceDirectory>src/site-docs/adoc/guides</sourceDirectory>
638 <preserveDirectories>true</preserveDirectories>
639 <attributes>
640 <toc />
641 <pagenums />
642 <sectnums />
643 <linkcss>true</linkcss>
644 <stylesdir>styles</stylesdir>
645
646 <!-- Change this to get another style -->
647 <stylesheet>compass/rocket-panda.css</stylesheet>
648 <pdf-stylesdir>${project.basedir}/src/site-docs/adoc/resources-pdf/themes</pdf-stylesdir>
649 <pdf-style>apex-pdf.yml</pdf-style>
650 <pdf-fontsdir>${project.basedir}/src/site-docs/adoc/resources-pdf/fonts</pdf-fontsdir>
651
652 <revnumber>${project.version}</revnumber>
653 <revdate>${maven.build.timestamp}</revdate>
654 <organization>${project.organization.name}</organization>
655
656 <release-version>${project.version}</release-version>
657
658 <adsite-main-dir>${project.basedir}/src</adsite-main-dir>
659 <adsite-tools-wsclients-dir>${project.basedir}/tools/simple-wsclient/src</adsite-tools-wsclients-dir>
660 <adsite-tools-common-dir>${project.basedir}/tools/tools-common/src</adsite-tools-common-dir>
liamfallona41c8772018-09-05 15:46:31 +0100661
ramvermaaf74a622018-07-31 18:25:39 +0100662 <adsite-examples-myfirstpolicy-dir>${project.basedir}/examples/examples-myfirstpolicy/src</adsite-examples-myfirstpolicy-dir>
663 <adsite-examples-decisionmaker-dir>${project.basedir}/examples/examples-decisionmaker/src</adsite-examples-decisionmaker-dir>
664 <adsite-examples-pcvs-dir>${project.basedir}/examples/examples-pcvs/src</adsite-examples-pcvs-dir>
665 <adsite-examples-periodic-dir>${project.basedir}/examples/examples-periodic/src</adsite-examples-periodic-dir>
666 <adsite-examples-onap-vcpe-dir>${project.basedir}/examples/examples-onap-vcpe/src</adsite-examples-onap-vcpe-dir>
s003703465262c352019-04-11 00:14:39 +0530667 <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 +0100668 <adsite-examples-servlet-dir>${project.basedir}/examples/examples-servlet/src</adsite-examples-servlet-dir>
ramvermaaf74a622018-07-31 18:25:39 +0100669
liamfallona41c8772018-09-05 15:46:31 +0100670 <adsite-packages-docker-dir>${project.basedir}/packages/apex-pdp-docker/src</adsite-packages-docker-dir>
671
ramvermaaf74a622018-07-31 18:25:39 +0100672 <adsite-plugins-event-protocol-dir>${project.basedir}/plugins/plugins-event/plugins-event-protocol/src</adsite-plugins-event-protocol-dir>
673 <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>
674 <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>
675 <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>
676 <adsite-plugins-event-carrier-dir>${project.basedir}/plugins/plugins-event/plugins-event-carrier/src</adsite-plugins-event-carrier-dir>
677 <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>
678 <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>
679 <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>
680 <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>
681 <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>
682 <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>
683 <adsite-plugins-context-dir>${project.basedir}/plugins/plugins-context/src</adsite-plugins-context-dir>
Dinh Danh Lea5a44272018-08-22 12:41:50 +0100684 <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 +0100685 <adsite-plugins-executor-dir>${project.basedir}/plugins/plugins-executor/src</adsite-plugins-executor-dir>
686 <adsite-plugins-executor-java-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-java/src</adsite-plugins-executor-java-dir>
687 <adsite-plugins-executor-javascript-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-javascript/src</adsite-plugins-executor-javascript-dir>
688 <adsite-plugins-executor-jruby-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-jruby/src</adsite-plugins-executor-jruby-dir>
689 <adsite-plugins-executor-jython-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-jython/src</adsite-plugins-executor-jython-dir>
690 <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 +0100691
ramvermaaf74a622018-07-31 18:25:39 +0100692 <adsite-services-engine-dir>${project.basedir}/services/services-engine/src</adsite-services-engine-dir>
693 </attributes>
694 </configuration>
695 <executions>
696 <execution>
697 <id>asciidoc-html-doc</id>
698 <phase>generate-resources</phase>
699 <configuration>
700 <backend>html</backend>
701 <outputDirectory>${project.build.directory}/generated-docs/html</outputDirectory>
702 <resources>
703 <resource>
704 <directory>src/site-docs/adoc/resources</directory>
705 </resource>
706 <resource>
Dinh Danh Lea5a44272018-08-22 12:41:50 +0100707 <directory>${project.basedir}/examples/examples-myfirstpolicy/src/site-docs/adoc/resources</directory>
ramvermaaf74a622018-07-31 18:25:39 +0100708 </resource>
709 </resources>
710 </configuration>
711 <goals>
712 <goal>process-asciidoc</goal>
713 </goals>
714 </execution>
715 <execution>
716 <id>asciidoc-pdf-doc</id>
717 <phase>generate-resources</phase>
718 <configuration>
719 <backend>pdf</backend>
720 <outputDirectory>${project.build.directory}/generated-docs/pdf</outputDirectory>
721 <imagesDir>${project.basedir}/target/generated-docs/html/images</imagesDir>
722 </configuration>
723 <goals>
724 <goal>process-asciidoc</goal>
725 </goals>
726 </execution>
727 </executions>
728 </plugin>
Dinh Danh Lea5a44272018-08-22 12:41:50 +0100729
730 <plugin>
731 <groupId>org.apache.maven.plugins</groupId>
732 <artifactId>maven-resources-plugin</artifactId>
733 <version>3.0.2</version>
734 <executions>
735 <execution>
736 <id>copy-site-css</id>
737 <phase>generate-sources</phase>
738 <goals>
739 <goal>copy-resources</goal>
740 </goals>
741 <configuration>
742 <resources>
743 <resource>
744 <directory>${project.basedir}/src/site-docs/adoc/guides</directory>
745 <includes>
746 <include>**/*.css</include>
747 </includes>
748 </resource>
749 </resources>
750 <outputDirectory>${project.basedir}/target/generated-docs/pdf/styles</outputDirectory>
751 <overwrite>true</overwrite>
752 </configuration>
753 </execution>
754 </executions>
755 </plugin>
756
ramvermaaf74a622018-07-31 18:25:39 +0100757 </plugins>
758 </build>
759 </profile>
eikrwaqa94302f2018-05-23 14:08:29 +0100760 </profiles>
761
eikrwaqa94302f2018-05-23 14:08:29 +0100762 <modules>
763 <module>model</module>
ramverma10d58cd2018-05-29 15:25:49 +0100764 <module>context</module>
ramverma37d6fd92018-06-01 11:51:36 +0100765 <module>core</module>
waqas.ikram57224402018-06-01 14:23:01 +0100766 <module>auth</module>
waqas.ikram75ff76e2018-06-06 11:04:36 +0100767 <module>services</module>
waqas.ikramf94d7522018-06-05 16:18:01 +0100768 <module>plugins</module>
ramverma3d025432018-07-19 18:45:16 +0100769 <module>examples</module>
waqas.ikram2816ea62018-06-27 16:16:42 +0100770 <module>testsuites</module>
ramverma0ba66782018-07-06 16:29:16 +0100771 <module>client</module>
ramverma1eb51982018-07-16 15:23:45 +0100772 <module>tools</module>
liamfallon79ae3f72018-07-24 14:23:37 +0100773 <module>packages</module>
eikrwaqa94302f2018-05-23 14:08:29 +0100774 </modules>
liamfallon4d6fc382018-06-27 12:50:17 +0100775</project>