Pamela Dragosh | a6557b0 | 2017-02-14 19:49:32 -0500 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | drools-pdp-apps |
| 4 | ================================================================================ |
Hockla, Ali (ah999m) | a6f7bac | 2020-01-10 15:52:56 -0600 | [diff] [blame] | 5 | Copyright (C) 2017-2020 AT&T Intellectual Property. All rights reserved. |
Hengye | 93206cf | 2019-04-04 03:13:35 +0000 | [diff] [blame] | 6 | Modifications Copyright (C) 2019 Nordix Foundation. |
Pamela Dragosh | a6557b0 | 2017-02-14 19:49:32 -0500 | [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 |
Temoc Rodriguez | b234cce | 2017-08-16 16:10:55 -0700 | [diff] [blame] | 11 | |
Pamela Dragosh | a6557b0 | 2017-02-14 19:49:32 -0500 | [diff] [blame] | 12 | http://www.apache.org/licenses/LICENSE-2.0 |
Temoc Rodriguez | b234cce | 2017-08-16 16:10:55 -0700 | [diff] [blame] | 13 | |
Pamela Dragosh | a6557b0 | 2017-02-14 19:49:32 -0500 | [diff] [blame] | 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 | ============LICENSE_END========================================================= |
| 20 | --> |
| 21 | |
liamfallon | fd6a4f3 | 2018-10-31 16:54:18 +0000 | [diff] [blame] | 22 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Pamela Dragosh | a6557b0 | 2017-02-14 19:49:32 -0500 | [diff] [blame] | 23 | |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame] | 24 | <modelVersion>4.0.0</modelVersion> |
| 25 | <parent> |
Pamela Dragosh | acfe063 | 2018-08-28 09:57:31 -0400 | [diff] [blame] | 26 | <groupId>org.onap.policy.parent</groupId> |
| 27 | <artifactId>integration</artifactId> |
Hockla, Ali (ah999m) | 25d3e43 | 2020-01-15 15:04:09 -0600 | [diff] [blame^] | 28 | <version>3.1.1-SNAPSHOT</version> |
liamfallon | fd6a4f3 | 2018-10-31 16:54:18 +0000 | [diff] [blame] | 29 | <relativePath /> |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame] | 30 | </parent> |
Pamela Dragosh | a6557b0 | 2017-02-14 19:49:32 -0500 | [diff] [blame] | 31 | |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame] | 32 | <groupId>org.onap.policy.drools-applications</groupId> |
| 33 | <artifactId>drools-applications</artifactId> |
Jim Hahn | 3e5c244 | 2019-09-10 12:04:00 -0400 | [diff] [blame] | 34 | <version>1.6.0-SNAPSHOT</version> |
Pamela Dragosh | a6557b0 | 2017-02-14 19:49:32 -0500 | [diff] [blame] | 35 | |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame] | 36 | <name>policy-drools-applications</name> |
| 37 | <packaging>pom</packaging> |
Pamela Dragosh | a6557b0 | 2017-02-14 19:49:32 -0500 | [diff] [blame] | 38 | |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame] | 39 | <properties> |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame] | 40 | <!-- Project path properties --> |
| 41 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
| 42 | <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath> |
| 43 | <releases.path>content/repositories/releases/</releases.path> |
| 44 | <snapshots.path>content/repositories/snapshots/</snapshots.path> |
| 45 | <staging.path>content/repositories/staging/</staging.path> |
Pamela Dragosh | 2d70f7d | 2018-02-16 10:41:37 -0500 | [diff] [blame] | 46 | |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame] | 47 | <!-- sonar/jacoco overrides --> |
| 48 | <!-- Overriding oparent default sonar/jacoco settings Combine all |
| 49 | our reports into one file shared across sub-modules --> |
| 50 | <sonar.jacoco.reportPath>${project.basedir}/../target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath> |
| 51 | <sonar.jacoco.itReportPath>${project.basedir}/../target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath> |
| 52 | <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis> |
Pamela Dragosh | 2d70f7d | 2018-02-16 10:41:37 -0500 | [diff] [blame] | 53 | |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame] | 54 | <!-- Project common dependency versions --> |
Hockla, Ali (ah999m) | 25d3e43 | 2020-01-15 15:04:09 -0600 | [diff] [blame^] | 55 | <version.policy.common>1.6.2-SNAPSHOT</version.policy.common> |
| 56 | <policy.models.version>2.2.1-SNAPSHOT</policy.models.version> |
Jim Hahn | 9ff23bb | 2019-09-19 15:21:21 -0400 | [diff] [blame] | 57 | <version.policy.drools-pdp>1.6.0-SNAPSHOT</version.policy.drools-pdp> |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame] | 58 | </properties> |
Pamela Dragosh | 6550992 | 2017-02-16 13:27:42 -0500 | [diff] [blame] | 59 | |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame] | 60 | <build> |
| 61 | <plugins> |
| 62 | <plugin> |
| 63 | <groupId>org.jacoco</groupId> |
| 64 | <artifactId>jacoco-maven-plugin</artifactId> |
| 65 | <executions> |
| 66 | <execution> |
| 67 | <id>pre-unit-test</id> |
| 68 | <goals> |
| 69 | <goal>prepare-agent</goal> |
| 70 | </goals> |
| 71 | <configuration> |
| 72 | <destFile>${sonar.jacoco.reportPath}</destFile> |
| 73 | <append>true</append> |
| 74 | </configuration> |
| 75 | </execution> |
| 76 | <execution> |
| 77 | <id>post-unit-test</id> |
| 78 | <phase>test</phase> |
| 79 | <goals> |
| 80 | <goal>report</goal> |
| 81 | </goals> |
| 82 | <configuration> |
| 83 | <dataFile>${sonar.jacoco.reportPath}</dataFile> |
| 84 | </configuration> |
| 85 | </execution> |
| 86 | </executions> |
| 87 | </plugin> |
| 88 | <plugin> |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame] | 89 | <groupId>org.apache.maven.plugins</groupId> |
| 90 | <artifactId>maven-deploy-plugin</artifactId> |
| 91 | <configuration> |
| 92 | <skip /> |
| 93 | </configuration> |
| 94 | </plugin> |
| 95 | <plugin> |
| 96 | <groupId>org.apache.maven.plugins</groupId> |
| 97 | <artifactId>maven-compiler-plugin</artifactId> |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame] | 98 | <configuration> |
| 99 | <encoding>${project.encoding}</encoding> |
Hockla, Ali (ah999m) | 25d3e43 | 2020-01-15 15:04:09 -0600 | [diff] [blame^] | 100 | <release>${java.version}</release> |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame] | 101 | </configuration> |
| 102 | </plugin> |
| 103 | <plugin> |
| 104 | <groupId>org.apache.maven.plugins</groupId> |
| 105 | <artifactId>maven-site-plugin</artifactId> |
| 106 | <dependencies> |
| 107 | <dependency> |
| 108 | <groupId>org.apache.maven.wagon</groupId> |
| 109 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
| 110 | <version>2.10</version> |
| 111 | </dependency> |
| 112 | </dependencies> |
| 113 | </plugin> |
Pamela Dragosh | 8279af3 | 2018-08-29 07:58:53 -0400 | [diff] [blame] | 114 | <plugin> |
| 115 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 116 | <executions> |
| 117 | <execution> |
| 118 | <id>onap-java-style</id> |
| 119 | <goals> |
| 120 | <goal>check</goal> |
| 121 | </goals> |
| 122 | <phase>process-sources</phase> |
| 123 | <configuration> |
| 124 | <!-- Use Google Java Style Guide: |
| 125 | https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml |
| 126 | with minor changes --> |
| 127 | <configLocation>onap-checkstyle/onap-java-style.xml</configLocation> |
| 128 | <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory --> |
Hockla, Ali (ah999m) | 25d3e43 | 2020-01-15 15:04:09 -0600 | [diff] [blame^] | 129 | <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories> |
Pamela Dragosh | 8279af3 | 2018-08-29 07:58:53 -0400 | [diff] [blame] | 130 | <includeResources>true</includeResources> |
| 131 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 132 | <includeTestResources>true</includeTestResources> |
| 133 | <excludes> |
| 134 | </excludes> |
Hockla, Ali (ah999m) | 25d3e43 | 2020-01-15 15:04:09 -0600 | [diff] [blame^] | 135 | <suppressionsLocation>/checkstyle-suppressions.xml</suppressionsLocation> |
Pamela Dragosh | 8279af3 | 2018-08-29 07:58:53 -0400 | [diff] [blame] | 136 | <consoleOutput>true</consoleOutput> |
Pamela Dragosh | a24a985 | 2018-09-21 20:08:11 -0400 | [diff] [blame] | 137 | <failsOnViolation>true</failsOnViolation> |
Pamela Dragosh | 8279af3 | 2018-08-29 07:58:53 -0400 | [diff] [blame] | 138 | <violationSeverity>warning</violationSeverity> |
| 139 | </configuration> |
| 140 | </execution> |
| 141 | </executions> |
| 142 | <dependencies> |
| 143 | <dependency> |
| 144 | <groupId>org.onap.oparent</groupId> |
| 145 | <artifactId>checkstyle</artifactId> |
| 146 | <version>${oparent.version}</version> |
| 147 | <scope>compile</scope> |
| 148 | </dependency> |
| 149 | </dependencies> |
| 150 | </plugin> |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame] | 151 | </plugins> |
Pamela Dragosh | 18f392b | 2017-08-14 13:41:44 -0400 | [diff] [blame] | 152 | <pluginManagement> |
| 153 | <plugins> |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame] | 154 | <plugin> |
| 155 | <groupId>org.jacoco</groupId> |
| 156 | <artifactId>jacoco-maven-plugin</artifactId> |
| 157 | <version>${jacoco.version}</version> |
| 158 | <configuration> |
| 159 | <!-- Note: This exclusion list should match <sonar.exclusions> |
| 160 | property above --> |
| 161 | <excludes> |
| 162 | <exclude>**/gen/**</exclude> |
| 163 | <exclude>**/generated-sources/**</exclude> |
| 164 | <exclude>**/yang-gen/**</exclude> |
| 165 | <exclude>**/pax/**</exclude> |
| 166 | </excludes> |
| 167 | </configuration> |
| 168 | <executions> |
| 169 | <!-- Prepares the property pointing to the JaCoCo |
| 170 | runtime agent which is passed as VM argument when Maven the Surefire plugin |
| 171 | is executed. --> |
| 172 | <execution> |
| 173 | <id>pre-unit-test</id> |
| 174 | <goals> |
| 175 | <goal>prepare-agent</goal> |
| 176 | </goals> |
| 177 | <configuration> |
| 178 | <destFile>${sonar.jacoco.reportPath}</destFile> |
| 179 | </configuration> |
| 180 | </execution> |
| 181 | <!-- Ensures that the code coverage report for unit |
| 182 | tests is created after unit tests have been run. --> |
| 183 | <execution> |
| 184 | <id>post-unit-test</id> |
| 185 | <phase>test</phase> |
| 186 | <goals> |
| 187 | <goal>report</goal> |
| 188 | </goals> |
| 189 | <configuration> |
| 190 | <dataFile>${sonar.jacoco.reportPath}</dataFile> |
| 191 | </configuration> |
| 192 | </execution> |
| 193 | </executions> |
| 194 | </plugin> |
Pamela Dragosh | 18f392b | 2017-08-14 13:41:44 -0400 | [diff] [blame] | 195 | <plugin> |
| 196 | <groupId>org.eclipse.m2e</groupId> |
| 197 | <artifactId>lifecycle-mapping</artifactId> |
| 198 | <version>1.0.0</version> |
| 199 | <configuration> |
| 200 | <lifecycleMappingMetadata> |
| 201 | <pluginExecutions> |
| 202 | <pluginExecution> |
| 203 | <pluginExecutionFilter> |
| 204 | <groupId>org.apache.maven.plugins</groupId> |
| 205 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 206 | <versionRange>2.17,)</versionRange> |
| 207 | <goals> |
| 208 | <goal>check</goal> |
| 209 | </goals> |
| 210 | </pluginExecutionFilter> |
| 211 | <action> |
| 212 | <ignore /> |
| 213 | </action> |
| 214 | </pluginExecution> |
| 215 | </pluginExecutions> |
| 216 | </lifecycleMappingMetadata> |
| 217 | </configuration> |
| 218 | </plugin> |
| 219 | </plugins> |
| 220 | </pluginManagement> |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame] | 221 | </build> |
Pamela Dragosh | a6557b0 | 2017-02-14 19:49:32 -0500 | [diff] [blame] | 222 | |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame] | 223 | <modules> |
| 224 | <module>controlloop</module> |
| 225 | <module>testsuites</module> |
| 226 | </modules> |
Pamela Dragosh | 6550992 | 2017-02-16 13:27:42 -0500 | [diff] [blame] | 227 | |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame] | 228 | <reporting> |
| 229 | <plugins> |
| 230 | <plugin> |
| 231 | <groupId>org.apache.maven.plugins</groupId> |
| 232 | <artifactId>maven-javadoc-plugin</artifactId> |
| 233 | <version>2.10.4</version> |
| 234 | <configuration> |
| 235 | <failOnError>false</failOnError> |
| 236 | <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet> |
| 237 | <docletArtifact> |
| 238 | <groupId>org.umlgraph</groupId> |
| 239 | <artifactId>umlgraph</artifactId> |
| 240 | <version>5.6</version> |
| 241 | </docletArtifact> |
| 242 | <additionalparam>-views</additionalparam> |
| 243 | <useStandardDocletOptions>true</useStandardDocletOptions> |
| 244 | </configuration> |
| 245 | </plugin> |
| 246 | </plugins> |
| 247 | </reporting> |
Jorge Hernandez | 3b25dd8 | 2017-08-30 23:42:35 -0500 | [diff] [blame] | 248 | |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame] | 249 | <dependencies> |
| 250 | <dependency> |
| 251 | <groupId>ch.qos.logback</groupId> |
| 252 | <artifactId>logback-classic</artifactId> |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame] | 253 | <scope>provided</scope> |
| 254 | </dependency> |
| 255 | </dependencies> |
Jorge Hernandez | 3b25dd8 | 2017-08-30 23:42:35 -0500 | [diff] [blame] | 256 | |
Pamela Dragosh | a6557b0 | 2017-02-14 19:49:32 -0500 | [diff] [blame] | 257 | </project> |