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