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