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