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