eikrwaq | a94302f | 2018-05-23 14:08:29 +0100 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | Copyright (C) 2018 Ericsson. All rights reserved. |
| 4 | ================================================================================ |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | |
| 17 | SPDX-License-Identifier: Apache-2.0 |
| 18 | ============LICENSE_END========================================================= |
| 19 | --> |
| 20 | |
| 21 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 22 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 23 | <modelVersion>4.0.0</modelVersion> |
| 24 | <parent> |
| 25 | <groupId>org.onap.policy.parent</groupId> |
| 26 | <artifactId>integration</artifactId> |
| 27 | <version>2.0.0-SNAPSHOT</version> |
| 28 | <relativePath /> |
| 29 | </parent> |
| 30 | |
waqas.ikram | f524b88 | 2018-05-24 15:31:21 +0100 | [diff] [blame] | 31 | <groupId>org.onap.policy.apex-pdp</groupId> |
eikrwaq | a94302f | 2018-05-23 14:08:29 +0100 | [diff] [blame] | 32 | <artifactId>apex-pdp</artifactId> |
| 33 | <version>2.0.0-SNAPSHOT</version> |
| 34 | <packaging>pom</packaging> |
| 35 | |
ramverma | 6029d25 | 2018-05-25 11:55:45 +0100 | [diff] [blame] | 36 | <name>policy-apex-pdp</name> |
eikrwaq | a94302f | 2018-05-23 14:08:29 +0100 | [diff] [blame] | 37 | <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> |
ramverma | 6029d25 | 2018-05-25 11:55:45 +0100 | [diff] [blame] | 42 | <version.derby>10.13.1.1</version.derby> |
waqas.ikram | 75ff76e | 2018-06-06 11:04:36 +0100 | [diff] [blame] | 43 | <version.commons-cli>1.4</version.commons-cli> |
liamfallon | 4d6fc38 | 2018-06-27 12:50:17 +0100 | [diff] [blame] | 44 | <version.kafka>0.10.2.1</version.kafka> |
liamfallon | a40a383 | 2018-07-06 09:41:40 +0100 | [diff] [blame] | 45 | <version.jersey>2.26</version.jersey> |
liamfallon | 4d6fc38 | 2018-06-27 12:50:17 +0100 | [diff] [blame] | 46 | <version.eclipselink>2.6.5</version.eclipselink> |
Dinh Danh Le | 2df5543 | 2018-07-15 02:52:33 +0100 | [diff] [blame] | 47 | <version.hibernate>5.3.1.Final</version.hibernate> |
| 48 | <version.dom4j>1.6</version.dom4j> |
eikrwaq | a94302f | 2018-05-23 14:08:29 +0100 | [diff] [blame] | 49 | </properties> |
| 50 | |
| 51 | <distributionManagement> |
| 52 | <site> |
| 53 | <id>ecomp-site</id> |
| 54 | <url>dav:${onap.nexus.url}${sitePath}</url> |
| 55 | </site> |
| 56 | </distributionManagement> |
| 57 | |
| 58 | <dependencies> |
| 59 | <dependency> |
| 60 | <groupId>junit</groupId> |
| 61 | <artifactId>junit</artifactId> |
| 62 | <scope>test</scope> |
| 63 | </dependency> |
| 64 | <dependency> |
| 65 | <groupId>org.slf4j</groupId> |
| 66 | <artifactId>slf4j-ext</artifactId> |
liamfallon | f86117b | 2018-06-19 11:31:44 +0800 | [diff] [blame] | 67 | <version>1.8.0-beta2</version> |
eikrwaq | a94302f | 2018-05-23 14:08:29 +0100 | [diff] [blame] | 68 | </dependency> |
| 69 | <dependency> |
| 70 | <groupId>org.slf4j</groupId> |
| 71 | <artifactId>slf4j-api</artifactId> |
| 72 | </dependency> |
| 73 | <dependency> |
| 74 | <groupId>ch.qos.logback</groupId> |
| 75 | <artifactId>logback-core</artifactId> |
| 76 | </dependency> |
| 77 | <dependency> |
| 78 | <groupId>ch.qos.logback</groupId> |
| 79 | <artifactId>logback-classic</artifactId> |
| 80 | </dependency> |
| 81 | </dependencies> |
| 82 | |
| 83 | |
| 84 | <profiles> |
| 85 | <profile> |
| 86 | <!--This profile is used to store Eclipse m2e settings only. It has no |
| 87 | influence on the Maven build itself. --> |
| 88 | <id>only-eclipse</id> |
| 89 | <activation> |
| 90 | <property> |
| 91 | <name>m2e.version</name> |
| 92 | </property> |
| 93 | </activation> |
| 94 | <build> |
| 95 | <pluginManagement> |
| 96 | <plugins> |
| 97 | <plugin> |
| 98 | <groupId>org.eclipse.m2e</groupId> |
| 99 | <artifactId>lifecycle-mapping</artifactId> |
| 100 | <version>1.0.0</version> |
| 101 | <configuration> |
| 102 | <lifecycleMappingMetadata> |
| 103 | <pluginExecutions> |
| 104 | <pluginExecution> |
| 105 | <pluginExecutionFilter> |
waqas.ikram | 34bdfe1 | 2018-05-31 11:09:58 +0100 | [diff] [blame] | 106 | <groupId>org.codehaus.mojo</groupId> |
| 107 | <artifactId>exec-maven-plugin</artifactId> |
waqas.ikram | 4822952 | 2018-05-31 14:49:38 +0100 | [diff] [blame] | 108 | <versionRange>[1.6.0,)</versionRange> |
waqas.ikram | 34bdfe1 | 2018-05-31 11:09:58 +0100 | [diff] [blame] | 109 | <goals> |
| 110 | <goal>java</goal> |
ramverma | 28ea336 | 2018-07-18 16:28:07 +0100 | [diff] [blame] | 111 | <goal>exec</goal> |
waqas.ikram | 34bdfe1 | 2018-05-31 11:09:58 +0100 | [diff] [blame] | 112 | </goals> |
| 113 | </pluginExecutionFilter> |
| 114 | <action> |
| 115 | <execute /> |
| 116 | </action> |
| 117 | </pluginExecution> |
| 118 | <pluginExecution> |
| 119 | <pluginExecutionFilter> |
eikrwaq | a94302f | 2018-05-23 14:08:29 +0100 | [diff] [blame] | 120 | <groupId>org.commonjava.maven.plugins</groupId> |
| 121 | <artifactId>directory-maven-plugin</artifactId> |
| 122 | <versionRange>0.2</versionRange> |
| 123 | <goals> |
| 124 | <goal>directory-of</goal> |
| 125 | </goals> |
| 126 | </pluginExecutionFilter> |
| 127 | <action> |
| 128 | <execute /> |
| 129 | </action> |
| 130 | </pluginExecution> |
ramverma | af74a62 | 2018-07-31 18:25:39 +0100 | [diff] [blame^] | 131 | <pluginExecution> |
ramverma | c6d74e6 | 2018-07-11 14:21:13 +0100 | [diff] [blame] | 132 | <pluginExecutionFilter> |
| 133 | <groupId>org.apache.maven.plugins</groupId> |
| 134 | <artifactId>maven-dependency-plugin</artifactId> |
| 135 | <versionRange>[3.0,)</versionRange> |
| 136 | <goals> |
| 137 | <goal>unpack-dependencies</goal> |
| 138 | </goals> |
| 139 | </pluginExecutionFilter> |
| 140 | <action> |
| 141 | <execute /> |
| 142 | </action> |
| 143 | </pluginExecution> |
eikrwaq | a94302f | 2018-05-23 14:08:29 +0100 | [diff] [blame] | 144 | </pluginExecutions> |
| 145 | </lifecycleMappingMetadata> |
| 146 | </configuration> |
| 147 | </plugin> |
| 148 | </plugins> |
| 149 | </pluginManagement> |
| 150 | </build> |
| 151 | </profile> |
ramverma | af74a62 | 2018-07-31 18:25:39 +0100 | [diff] [blame^] | 152 | |
| 153 | <profile> |
| 154 | <!--This profile is used to create local APEX documentation and a Maven site --> |
| 155 | <id>apexSite</id> |
| 156 | <activation> |
| 157 | <property> |
| 158 | <name>apexSite</name> |
| 159 | </property> |
| 160 | </activation> |
| 161 | <properties> |
| 162 | <!-- 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 |
| 163 | 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/ --> |
| 164 | <dependency.locations.enabled>false</dependency.locations.enabled> |
| 165 | |
| 166 | <!-- Site and ADOC properties --> |
| 167 | <apex.adsite.prefix>https://www.onap.org/policy/apex-pdp/site</apex.adsite.prefix> |
| 168 | <release-version>${project.version}</release-version> |
| 169 | |
| 170 | <adsite-main-dir>${project.basedir}/src</adsite-main-dir> |
| 171 | <adsite-tools-wsclients-dir>${project.basedir}/tools/simple-wsclient/src</adsite-tools-wsclients-dir> |
| 172 | <adsite-tools-common-dir>${project.basedir}/tools/tools-common/src</adsite-tools-common-dir> |
| 173 | <adsite-apps-uservice-test-dir>${project.basedir}/apps/apps.uservice/apps.uservice-test/src</adsite-apps-uservice-test-dir> |
| 174 | <adsite-examples-myfirstpolicy-dir>${project.basedir}/examples/examples-myfirstpolicy/src</adsite-examples-myfirstpolicy-dir> |
| 175 | <adsite-examples-decisionmaker-dir>${project.basedir}/examples/examples-decisionmaker/src</adsite-examples-decisionmaker-dir> |
| 176 | <adsite-examples-pcvs-dir>${project.basedir}/examples/examples-pcvs/src</adsite-examples-pcvs-dir> |
| 177 | <adsite-examples-periodic-dir>${project.basedir}/examples/examples-periodic/src</adsite-examples-periodic-dir> |
| 178 | <adsite-examples-onap-vcpe-dir>${project.basedir}/examples/examples-onap-vcpe/src</adsite-examples-onap-vcpe-dir> |
| 179 | |
| 180 | <adsite-plugins-event-protocol-dir>${project.basedir}/plugins/plugins-event/plugins-event-protocol/src</adsite-plugins-event-protocol-dir> |
| 181 | <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> |
| 182 | <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> |
| 183 | <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> |
| 184 | |
| 185 | <adsite-plugins-event-carrier-dir>${project.basedir}/plugins/plugins-event/plugins-event-carrier/src</adsite-plugins-event-carrier-dir> |
| 186 | <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> |
| 187 | <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> |
| 188 | <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> |
| 189 | <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> |
| 190 | <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> |
| 191 | <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> |
| 192 | <adsite-plugins-context-dir>${project.basedir}/plugins/plugins-context/src</adsite-plugins-context-dir> |
| 193 | <adsite-plugins-context-schema-avro-dir>${project.basedir}/plugins/plugins-context/context-schema/context-schema-avro/src</adsite-plugins-context-schema-avro-dir> |
| 194 | <adsite-plugins-executor-dir>${project.basedir}/plugins/plugins-executor/src</adsite-plugins-executor-dir> |
| 195 | <adsite-plugins-executor-java-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-java/src</adsite-plugins-executor-java-dir> |
| 196 | <adsite-plugins-executor-javascript-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-javascript/src</adsite-plugins-executor-javascript-dir> |
| 197 | <adsite-plugins-executor-jruby-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-jruby/src</adsite-plugins-executor-jruby-dir> |
| 198 | <adsite-plugins-executor-jython-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-jython/src</adsite-plugins-executor-jython-dir> |
| 199 | <adsite-plugins-executor-mvel-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-mvel/src</adsite-plugins-executor-mvel-dir> |
| 200 | <adsite-services-engine-dir>${project.basedir}/services/services-engine/src</adsite-services-engine-dir> |
| 201 | </properties> |
| 202 | <distributionManagement> |
| 203 | <site> |
| 204 | <id>${project.artifactId}-site</id> |
| 205 | <url>${apex.adsite.prefix}/</url> |
| 206 | </site> |
| 207 | </distributionManagement> |
| 208 | <build> |
| 209 | <plugins> |
| 210 | <plugin> |
| 211 | <groupId>org.commonjava.maven.plugins</groupId> |
| 212 | <artifactId>directory-maven-plugin</artifactId> |
| 213 | <version>0.2</version> |
| 214 | <executions> |
| 215 | <execution> |
| 216 | <id>directories</id> |
| 217 | <goals> |
| 218 | <goal>directory-of</goal> |
| 219 | </goals> |
| 220 | <phase>initialize</phase> |
| 221 | <configuration> |
| 222 | <property>apex.basedir</property> |
| 223 | <project> |
| 224 | <groupId>org.onap.policy.apex-pdp</groupId> |
| 225 | <artifactId>apex-pdp</artifactId> |
| 226 | </project> |
| 227 | </configuration> |
| 228 | </execution> |
| 229 | </executions> |
| 230 | </plugin> |
| 231 | |
| 232 | <plugin> |
| 233 | <groupId>org.apache.maven.plugins</groupId> |
| 234 | <artifactId>maven-site-plugin</artifactId> |
| 235 | <version>3.7.1</version> |
| 236 | <configuration> |
| 237 | <stagingDirectory>${apex.basedir}/target/ad-site</stagingDirectory> |
| 238 | <asciidoc> |
| 239 | <embedAssets>true</embedAssets> |
| 240 | <attributes> |
| 241 | <source-highlighter>coderay</source-highlighter> |
| 242 | <coderay-css>style</coderay-css> |
| 243 | <imagesdir>images</imagesdir> |
| 244 | </attributes> |
| 245 | </asciidoc> |
| 246 | <moduleExcludes> |
| 247 | <asciidoc>**/_*.adoc</asciidoc> |
| 248 | </moduleExcludes> |
| 249 | </configuration> |
| 250 | <dependencies> |
| 251 | <dependency> |
| 252 | <groupId>org.apache.maven.doxia</groupId> |
| 253 | <artifactId>doxia-site-renderer</artifactId> |
| 254 | <version>1.8</version> |
| 255 | </dependency> |
| 256 | <dependency> |
| 257 | <groupId>org.asciidoctor</groupId> |
| 258 | <artifactId>asciidoctor-maven-plugin</artifactId> |
| 259 | <version>1.5.6</version> |
| 260 | </dependency> |
| 261 | </dependencies> |
| 262 | </plugin> |
| 263 | |
| 264 | <plugin> |
| 265 | <groupId>org.apache.maven.plugins</groupId> |
| 266 | <artifactId>maven-resources-plugin</artifactId> |
| 267 | <version>3.0.2</version> |
| 268 | <executions> |
| 269 | <execution> |
| 270 | <id>copy-site-css</id> |
| 271 | <phase>process-resources</phase> |
| 272 | <goals> |
| 273 | <goal>copy-resources</goal> |
| 274 | </goals> |
| 275 | <configuration> |
| 276 | <resources> |
| 277 | <resource> |
| 278 | <directory>src/site/css</directory> |
| 279 | <includes> |
| 280 | <include>**/*.css</include> |
| 281 | </includes> |
| 282 | </resource> |
| 283 | </resources> |
| 284 | <outputDirectory>${project.build.directory}/site/css</outputDirectory> |
| 285 | <overwrite>true</overwrite> |
| 286 | </configuration> |
| 287 | </execution> |
| 288 | |
| 289 | <execution> |
| 290 | <id>copy-site-logos</id> |
| 291 | <phase>process-resources</phase> |
| 292 | <goals> |
| 293 | <goal>copy-resources</goal> |
| 294 | </goals> |
| 295 | <configuration> |
| 296 | <resources> |
| 297 | <resource> |
| 298 | <directory>src/site/images</directory> |
| 299 | <includes> |
| 300 | <include>**/*.png</include> |
| 301 | </includes> |
| 302 | </resource> |
| 303 | </resources> |
| 304 | <outputDirectory>${project.build.directory}/site/images</outputDirectory> |
| 305 | <overwrite>true</overwrite> |
| 306 | </configuration> |
| 307 | </execution> |
| 308 | |
| 309 | <execution> |
| 310 | <id>copy-um-install-images</id> |
| 311 | <phase>process-resources</phase> |
| 312 | <goals> |
| 313 | <goal>copy-resources</goal> |
| 314 | </goals> |
| 315 | <configuration> |
| 316 | <resources> |
| 317 | <resource> |
| 318 | <directory>src/site-docs/adoc/resources/images/install-guide</directory> |
| 319 | <includes> |
| 320 | <include>**/*.jpg</include> |
| 321 | <include>**/*.png</include> |
| 322 | </includes> |
| 323 | </resource> |
| 324 | </resources> |
| 325 | <outputDirectory>${project.build.directory}/site/user-manual/install/images/install-guide</outputDirectory> |
| 326 | </configuration> |
| 327 | </execution> |
| 328 | |
| 329 | <execution> |
| 330 | <id>copy-howto-config-images</id> |
| 331 | <phase>process-resources</phase> |
| 332 | <goals> |
| 333 | <goal>copy-resources</goal> |
| 334 | </goals> |
| 335 | <configuration> |
| 336 | <resources> |
| 337 | <resource> |
| 338 | <directory>src/site-docs/adoc/resources/images/apex-intro</directory> |
| 339 | <includes> |
| 340 | <include>ApexEngineConfig.jpg</include> |
| 341 | <include>ApexEngineConfig.png</include> |
| 342 | </includes> |
| 343 | </resource> |
| 344 | </resources> |
| 345 | <outputDirectory>${project.build.directory}/site/user-manual/configuration/images/apex-intro</outputDirectory> |
| 346 | </configuration> |
| 347 | </execution> |
| 348 | |
| 349 | <execution> |
| 350 | <id>copy-tech-intro-apex-images</id> |
| 351 | <phase>process-resources</phase> |
| 352 | <goals> |
| 353 | <goal>copy-resources</goal> |
| 354 | </goals> |
| 355 | <configuration> |
| 356 | <resources> |
| 357 | <resource> |
| 358 | <directory>src/site-docs/adoc/resources/images/apex-intro</directory> |
| 359 | <includes> |
| 360 | <include>**/*.jpg</include> |
| 361 | <include>**/*.png</include> |
| 362 | </includes> |
| 363 | </resource> |
| 364 | </resources> |
| 365 | <outputDirectory>${project.build.directory}/site/apex-intro/images/apex-intro</outputDirectory> |
| 366 | </configuration> |
| 367 | </execution> |
| 368 | |
| 369 | <execution> |
| 370 | <id>copy-tech-pm-apex-images</id> |
| 371 | <phase>process-resources</phase> |
| 372 | <goals> |
| 373 | <goal>copy-resources</goal> |
| 374 | </goals> |
| 375 | <configuration> |
| 376 | <resources> |
| 377 | <resource> |
| 378 | <directory>src/site-docs/adoc/resources/images/apex-policy-model</directory> |
| 379 | <includes> |
| 380 | <include>**/*.jpg</include> |
| 381 | <include>**/*.png</include> |
| 382 | </includes> |
| 383 | </resource> |
| 384 | </resources> |
| 385 | <outputDirectory>${project.build.directory}/site/policy-guide/policy-model/images/apex-policy-model</outputDirectory> |
| 386 | </configuration> |
| 387 | </execution> |
| 388 | |
| 389 | <execution> |
| 390 | <id>copy-tech-pm-apex-intro-images</id> |
| 391 | <phase>process-resources</phase> |
| 392 | <goals> |
| 393 | <goal>copy-resources</goal> |
| 394 | </goals> |
| 395 | <configuration> |
| 396 | <resources> |
| 397 | <resource> |
| 398 | <directory>src/site-docs/adoc/resources/images/apex-intro</directory> |
| 399 | <includes> |
| 400 | <include>ApexPolicyMatrix.png</include> |
| 401 | </includes> |
| 402 | </resource> |
| 403 | </resources> |
| 404 | <outputDirectory>${project.build.directory}/site/policy-guide/images/apex-intro</outputDirectory> |
| 405 | </configuration> |
| 406 | </execution> |
| 407 | |
| 408 | <execution> |
| 409 | <id>copy-domain-mfp-images</id> |
| 410 | <phase>process-resources</phase> |
| 411 | <goals> |
| 412 | <goal>copy-resources</goal> |
| 413 | </goals> |
| 414 | <configuration> |
| 415 | <resources> |
| 416 | <resource> |
| 417 | <directory>${project.basedir}/examples/myfirstpolicy/src/site-docs/adoc/resources/images</directory> |
| 418 | <includes> |
| 419 | <include>**/*.jpg</include> |
| 420 | <include>**/*.png</include> |
| 421 | </includes> |
| 422 | </resource> |
| 423 | </resources> |
| 424 | <outputDirectory>${project.build.directory}/site/user-manual/my-first-policy/images</outputDirectory> |
| 425 | </configuration> |
| 426 | </execution> |
| 427 | |
| 428 | <execution> |
| 429 | <id>copy-asciidoc-generated</id> |
| 430 | <phase>process-resources</phase> |
| 431 | <goals> |
| 432 | <goal>copy-resources</goal> |
| 433 | </goals> |
| 434 | <configuration> |
| 435 | <resources> |
| 436 | <resource> |
| 437 | <directory>target/generated-docs</directory> |
| 438 | </resource> |
| 439 | </resources> |
| 440 | <outputDirectory>${project.build.directory}/site/docs-apex</outputDirectory> |
| 441 | </configuration> |
| 442 | </execution> |
| 443 | </executions> |
| 444 | </plugin> |
| 445 | </plugins> |
| 446 | </build> |
| 447 | |
| 448 | <reporting> |
| 449 | <plugins> |
| 450 | <plugin> |
| 451 | <groupId>org.apache.maven.plugins</groupId> |
| 452 | <artifactId>maven-project-info-reports-plugin</artifactId> |
| 453 | <version>2.9</version> |
| 454 | </plugin> |
| 455 | <plugin> |
| 456 | <groupId>org.apache.maven.plugins</groupId> |
| 457 | <artifactId>maven-javadoc-plugin</artifactId> |
| 458 | <version>3.0.0-M1</version> |
| 459 | <reportSets> |
| 460 | <reportSet> |
| 461 | <id>default</id> |
| 462 | <reports> |
| 463 | <report>javadoc</report> |
| 464 | </reports> |
| 465 | </reportSet> |
| 466 | <reportSet> |
| 467 | <id>aggregate</id> |
| 468 | <inherited>false</inherited> |
| 469 | <reports> |
| 470 | <report>aggregate</report> |
| 471 | </reports> |
| 472 | </reportSet> |
| 473 | </reportSets> |
| 474 | <configuration> |
| 475 | <destDir>javadocs</destDir> |
| 476 | <source>${maven.compiler.target}</source> |
| 477 | <encoding>${project.resources.sourceEncoding}</encoding> |
| 478 | <docencoding>${project.resources.sourceEncoding}</docencoding> |
| 479 | <charset>${project.resources.sourceEncoding}</charset> |
| 480 | <!--<aggregate>false</aggregate>--> |
| 481 | <nohelp>true</nohelp> |
| 482 | <header>APEX - ${project.artifactId} ${project.version}</header> |
| 483 | <footer>APEX - ${project.artifactId} ${project.version}</footer> |
| 484 | <doctitle>APEX - ${project.artifactId} ${project.version}</doctitle> |
| 485 | <noqualifier>all</noqualifier> |
| 486 | <detectLinks>false</detectLinks> |
| 487 | <detectJavaApiLink>true</detectJavaApiLink> |
| 488 | <javadocDirectory>${project.basedir}/src/main/javadoc</javadocDirectory> |
| 489 | <docfilessubdirs>true</docfilessubdirs> |
| 490 | <overview>overview.html</overview> |
| 491 | <show>public</show> |
| 492 | <!-- Exclude JAXB generated packages --> |
| 493 | <excludePackageNames>org.onap.policy.apex.plugins.event.protocol.xml.jaxb</excludePackageNames> |
| 494 | </configuration> |
| 495 | </plugin> |
| 496 | </plugins> |
| 497 | </reporting> |
| 498 | </profile> |
| 499 | |
| 500 | <profile> |
| 501 | <id>apexDocs</id> |
| 502 | <activation> |
| 503 | <property> |
| 504 | <name>apexDocs</name> |
| 505 | </property> |
| 506 | </activation> |
| 507 | <modules></modules> |
| 508 | <build> |
| 509 | <plugins> |
| 510 | <plugin> |
| 511 | <groupId>org.asciidoctor</groupId> |
| 512 | <artifactId>asciidoctor-maven-plugin</artifactId> |
| 513 | <version>1.5.6</version> |
| 514 | <dependencies> |
| 515 | <dependency> |
| 516 | <groupId>org.asciidoctor</groupId> |
| 517 | <artifactId>asciidoctorj-pdf</artifactId> |
| 518 | <version>1.5.0-alpha.16</version> |
| 519 | </dependency> |
| 520 | </dependencies> |
| 521 | <configuration> |
| 522 | <sourceHighlighter>coderay</sourceHighlighter> |
| 523 | <sourceDirectory>src/site-docs/adoc/guides</sourceDirectory> |
| 524 | <preserveDirectories>true</preserveDirectories> |
| 525 | <attributes> |
| 526 | <toc /> |
| 527 | <pagenums /> |
| 528 | <sectnums /> |
| 529 | <linkcss>true</linkcss> |
| 530 | <stylesdir>styles</stylesdir> |
| 531 | |
| 532 | <!-- Change this to get another style --> |
| 533 | <stylesheet>compass/rocket-panda.css</stylesheet> |
| 534 | <pdf-stylesdir>${project.basedir}/src/site-docs/adoc/resources-pdf/themes</pdf-stylesdir> |
| 535 | <pdf-style>apex-pdf.yml</pdf-style> |
| 536 | <pdf-fontsdir>${project.basedir}/src/site-docs/adoc/resources-pdf/fonts</pdf-fontsdir> |
| 537 | |
| 538 | <revnumber>${project.version}</revnumber> |
| 539 | <revdate>${maven.build.timestamp}</revdate> |
| 540 | <organization>${project.organization.name}</organization> |
| 541 | |
| 542 | <release-version>${project.version}</release-version> |
| 543 | |
| 544 | <adsite-main-dir>${project.basedir}/src</adsite-main-dir> |
| 545 | <adsite-tools-wsclients-dir>${project.basedir}/tools/simple-wsclient/src</adsite-tools-wsclients-dir> |
| 546 | <adsite-tools-common-dir>${project.basedir}/tools/tools-common/src</adsite-tools-common-dir> |
| 547 | <adsite-apps-uservice-test-dir>${project.basedir}/apps/apps.uservice/apps.uservice-test/src</adsite-apps-uservice-test-dir> |
| 548 | <adsite-examples-myfirstpolicy-dir>${project.basedir}/examples/examples-myfirstpolicy/src</adsite-examples-myfirstpolicy-dir> |
| 549 | <adsite-examples-decisionmaker-dir>${project.basedir}/examples/examples-decisionmaker/src</adsite-examples-decisionmaker-dir> |
| 550 | <adsite-examples-pcvs-dir>${project.basedir}/examples/examples-pcvs/src</adsite-examples-pcvs-dir> |
| 551 | <adsite-examples-periodic-dir>${project.basedir}/examples/examples-periodic/src</adsite-examples-periodic-dir> |
| 552 | <adsite-examples-onap-vcpe-dir>${project.basedir}/examples/examples-onap-vcpe/src</adsite-examples-onap-vcpe-dir> |
| 553 | |
| 554 | <adsite-plugins-event-protocol-dir>${project.basedir}/plugins/plugins-event/plugins-event-protocol/src</adsite-plugins-event-protocol-dir> |
| 555 | <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> |
| 556 | <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> |
| 557 | <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> |
| 558 | <adsite-plugins-event-carrier-dir>${project.basedir}/plugins/plugins-event/plugins-event-carrier/src</adsite-plugins-event-carrier-dir> |
| 559 | <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> |
| 560 | <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> |
| 561 | <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> |
| 562 | <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> |
| 563 | <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> |
| 564 | <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> |
| 565 | <adsite-plugins-context-dir>${project.basedir}/plugins/plugins-context/src</adsite-plugins-context-dir> |
| 566 | <adsite-plugins-context-schema-avro-dir>${project.basedir}/plugins/plugins-context/context-schema/context-schema-avro/src</adsite-plugins-context-schema-avro-dir> |
| 567 | <adsite-plugins-executor-dir>${project.basedir}/plugins/plugins-executor/src</adsite-plugins-executor-dir> |
| 568 | <adsite-plugins-executor-java-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-java/src</adsite-plugins-executor-java-dir> |
| 569 | <adsite-plugins-executor-javascript-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-javascript/src</adsite-plugins-executor-javascript-dir> |
| 570 | <adsite-plugins-executor-jruby-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-jruby/src</adsite-plugins-executor-jruby-dir> |
| 571 | <adsite-plugins-executor-jython-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-jython/src</adsite-plugins-executor-jython-dir> |
| 572 | <adsite-plugins-executor-mvel-dir>${project.basedir}/plugins/plugins-executor/plugins-executor-mvel/src</adsite-plugins-executor-mvel-dir> |
| 573 | <adsite-services-engine-dir>${project.basedir}/services/services-engine/src</adsite-services-engine-dir> |
| 574 | </attributes> |
| 575 | </configuration> |
| 576 | <executions> |
| 577 | <execution> |
| 578 | <id>asciidoc-html-doc</id> |
| 579 | <phase>generate-resources</phase> |
| 580 | <configuration> |
| 581 | <backend>html</backend> |
| 582 | <outputDirectory>${project.build.directory}/generated-docs/html</outputDirectory> |
| 583 | <resources> |
| 584 | <resource> |
| 585 | <directory>src/site-docs/adoc/resources</directory> |
| 586 | </resource> |
| 587 | <resource> |
| 588 | <directory>${project.basedir}/examples/myfirstpolicy/src/site-docs/adoc/resources</directory> |
| 589 | </resource> |
| 590 | </resources> |
| 591 | </configuration> |
| 592 | <goals> |
| 593 | <goal>process-asciidoc</goal> |
| 594 | </goals> |
| 595 | </execution> |
| 596 | <execution> |
| 597 | <id>asciidoc-pdf-doc</id> |
| 598 | <phase>generate-resources</phase> |
| 599 | <configuration> |
| 600 | <backend>pdf</backend> |
| 601 | <outputDirectory>${project.build.directory}/generated-docs/pdf</outputDirectory> |
| 602 | <imagesDir>${project.basedir}/target/generated-docs/html/images</imagesDir> |
| 603 | </configuration> |
| 604 | <goals> |
| 605 | <goal>process-asciidoc</goal> |
| 606 | </goals> |
| 607 | </execution> |
| 608 | </executions> |
| 609 | </plugin> |
| 610 | </plugins> |
| 611 | </build> |
| 612 | </profile> |
eikrwaq | a94302f | 2018-05-23 14:08:29 +0100 | [diff] [blame] | 613 | </profiles> |
| 614 | |
| 615 | |
| 616 | <modules> |
| 617 | <module>model</module> |
ramverma | 10d58cd | 2018-05-29 15:25:49 +0100 | [diff] [blame] | 618 | <module>context</module> |
ramverma | 37d6fd9 | 2018-06-01 11:51:36 +0100 | [diff] [blame] | 619 | <module>core</module> |
waqas.ikram | 5722440 | 2018-06-01 14:23:01 +0100 | [diff] [blame] | 620 | <module>auth</module> |
waqas.ikram | 75ff76e | 2018-06-06 11:04:36 +0100 | [diff] [blame] | 621 | <module>services</module> |
waqas.ikram | f94d752 | 2018-06-05 16:18:01 +0100 | [diff] [blame] | 622 | <module>plugins</module> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 623 | <module>examples</module> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 624 | <module>testsuites</module> |
ramverma | 0ba6678 | 2018-07-06 16:29:16 +0100 | [diff] [blame] | 625 | <module>client</module> |
ramverma | 1eb5198 | 2018-07-16 15:23:45 +0100 | [diff] [blame] | 626 | <module>tools</module> |
liamfallon | 79ae3f7 | 2018-07-24 14:23:37 +0100 | [diff] [blame] | 627 | <module>packages</module> |
eikrwaq | a94302f | 2018-05-23 14:08:29 +0100 | [diff] [blame] | 628 | </modules> |
liamfallon | 4d6fc38 | 2018-06-27 12:50:17 +0100 | [diff] [blame] | 629 | </project> |