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