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