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