Pamela Dragosh | bd6c437 | 2018-02-16 10:30:56 -0500 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | ONAP Policy Engine - Drools PDP |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 4 | ================================================================================ |
Pamela Dragosh | 54f5e12 | 2018-02-07 13:02:32 -0500 | [diff] [blame] | 5 | Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [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 |
Temoc Rodriguez | 82ba922 | 2017-08-17 08:24:55 -0700 | [diff] [blame] | 10 | |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 11 | http://www.apache.org/licenses/LICENSE-2.0 |
Temoc Rodriguez | 82ba922 | 2017-08-17 08:24:55 -0700 | [diff] [blame] | 12 | |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 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. |
Pamela Dragosh | bd6c437 | 2018-02-16 10:30:56 -0500 | [diff] [blame] | 18 | ============LICENSE_END========================================================= |
| 19 | --> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 20 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 21 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 22 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 23 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 24 | <modelVersion>4.0.0</modelVersion> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 25 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 26 | <parent> |
| 27 | <groupId>org.onap.policy.parent</groupId> |
| 28 | <artifactId>integration</artifactId> |
| 29 | <version>2.0.0-SNAPSHOT</version> |
| 30 | <relativePath /> |
| 31 | </parent> |
Guo Ruijing | 15be35a | 2017-08-03 11:32:09 +0000 | [diff] [blame] | 32 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 33 | <groupId>org.onap.policy.drools-pdp</groupId> |
| 34 | <artifactId>drools-pdp</artifactId> |
| 35 | <version>1.3.0-SNAPSHOT</version> |
| 36 | <packaging>pom</packaging> |
| 37 | <name>policy-drools-pdp</name> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 38 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 39 | <description>The ONAP Policy Engine drools-based PDP Project</description> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 40 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 41 | <properties> |
| 42 | <!-- Project common build settings --> |
| 43 | <project.source.version>1.8</project.source.version> |
| 44 | <project.target.version>1.8</project.target.version> |
Pamela Dragosh | bd6c437 | 2018-02-16 10:30:56 -0500 | [diff] [blame] | 45 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 46 | <!-- Project path properties --> |
| 47 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
| 48 | <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath> |
| 49 | <releases.path>content/repositories/releases/</releases.path> |
| 50 | <snapshots.path>content/repositories/snapshots/</snapshots.path> |
| 51 | <staging.path>content/repositories/staging/</staging.path> |
Pamela Dragosh | bd6c437 | 2018-02-16 10:30:56 -0500 | [diff] [blame] | 52 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 53 | <!-- sonar/jacoco overrides --> |
| 54 | <!-- Overriding oparent default sonar/jacoco settings Combine all our reports |
| 55 | into one file shared across sub-modules --> |
| 56 | <sonar.jacoco.reportPath>${project.basedir}/../target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath> |
| 57 | <sonar.jacoco.itReportPath>${project.basedir}/../target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath> |
| 58 | <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis> |
Pamela Dragosh | bd6c437 | 2018-02-16 10:30:56 -0500 | [diff] [blame] | 59 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 60 | <!-- Project common dependency versions --> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 61 | <jersey.version>2.25.1</jersey.version> |
| 62 | <jersey.swagger.version>1.5.18</jersey.swagger.version> |
| 63 | <jackson.version>2.9.5</jackson.version> |
| 64 | <http.client.version>4.5.5</http.client.version> |
| 65 | <http.core.version>4.4.4</http.core.version> |
| 66 | <logback.version>1.2.3</logback.version> |
| 67 | <junit.version>4.12</junit.version> |
| 68 | <eclipselink.version>2.7.0</eclipselink.version> |
Jim Hahn | 0e6b16b | 2018-09-11 10:11:29 -0400 | [diff] [blame] | 69 | <hibernate.core.version>5.2.10.Final</hibernate.core.version> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 70 | <hibernate.commons.annotations.version>5.0.1.Final</hibernate.commons.annotations.version> |
| 71 | <commons.io.version>2.5</commons.io.version> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 72 | <xml.apis.version>1.4.01</xml.apis.version> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 73 | </properties> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 74 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 75 | <modules> |
| 76 | <module>policy-utils</module> |
| 77 | <module>policy-core</module> |
| 78 | <module>policy-management</module> |
| 79 | <module>feature-healthcheck</module> |
| 80 | <module>feature-eelf</module> |
Jim Hahn | a3fa1c6 | 2018-03-26 16:48:31 -0400 | [diff] [blame] | 81 | <module>feature-pooling-dmaap</module> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 82 | <module>feature-session-persistence</module> |
| 83 | <module>feature-test-transaction</module> |
| 84 | <module>api-state-management</module> |
| 85 | <module>feature-state-management</module> |
| 86 | <module>api-active-standby-management</module> |
| 87 | <module>feature-active-standby-management</module> |
| 88 | <module>feature-simulators</module> |
| 89 | <module>feature-distributed-locking</module> |
| 90 | <module>packages</module> |
| 91 | </modules> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 92 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 93 | <distributionManagement> |
| 94 | <repository> |
| 95 | <id>ecomp-releases</id> |
| 96 | <name>ONAP Release Repository</name> |
| 97 | <url>${nexusproxy}/${releases.path}</url> |
| 98 | </repository> |
| 99 | <snapshotRepository> |
| 100 | <id>ecomp-snapshots</id> |
| 101 | <name>ONAP Snapshot Repository</name> |
| 102 | <url>${nexusproxy}/${snapshots.path}</url> |
| 103 | </snapshotRepository> |
| 104 | <site> |
| 105 | <id>ecomp-site</id> |
| 106 | <url>dav:${nexusproxy}${sitePath}</url> |
| 107 | </site> |
| 108 | </distributionManagement> |
Pamela Dragosh | 2f7c70d | 2017-02-15 16:09:00 -0500 | [diff] [blame] | 109 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 110 | <dependencyManagement> |
| 111 | <dependencies> |
| 112 | <dependency> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 113 | <groupId>javax.ws.rs</groupId> |
| 114 | <artifactId>javax.ws.rs-api</artifactId> |
| 115 | <version>2.0.1</version> |
| 116 | </dependency> |
| 117 | <dependency> |
| 118 | <groupId>org.glassfish.hk2.external</groupId> |
| 119 | <artifactId>javax.inject</artifactId> |
| 120 | <version>2.4.0-b31</version> |
| 121 | </dependency> |
| 122 | <dependency> |
| 123 | <groupId>com.fasterxml.jackson.jaxrs</groupId> |
| 124 | <artifactId>jackson-jaxrs-base</artifactId> |
| 125 | <version>${jackson.version}</version> |
| 126 | </dependency> |
| 127 | <dependency> |
| 128 | <groupId>com.fasterxml.jackson.jaxrs</groupId> |
| 129 | <artifactId>jackson-jaxrs-json-provider</artifactId> |
| 130 | <version>${jackson.version}</version> |
| 131 | </dependency> |
| 132 | <dependency> |
| 133 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 134 | <artifactId>jackson-dataformat-xml</artifactId> |
| 135 | <version>${jackson.version}</version> |
| 136 | </dependency> |
| 137 | <dependency> |
| 138 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 139 | <artifactId>jackson-dataformat-yaml</artifactId> |
| 140 | <version>${jackson.version}</version> |
| 141 | </dependency> |
| 142 | <dependency> |
| 143 | <groupId>com.fasterxml.jackson.datatype</groupId> |
| 144 | <artifactId>jackson-datatype-joda</artifactId> |
| 145 | <version>${jackson.version}</version> |
| 146 | </dependency> |
| 147 | <dependency> |
| 148 | <groupId>org.glassfish.jersey.containers</groupId> |
| 149 | <artifactId>jersey-common</artifactId> |
| 150 | <version>${jersey.version}</version> |
| 151 | </dependency> |
| 152 | <dependency> |
| 153 | <groupId>org.glassfish.jersey.containers</groupId> |
| 154 | <artifactId>jersey-container-servlet-core</artifactId> |
| 155 | <version>${jersey.version}</version> |
| 156 | </dependency> |
| 157 | <dependency> |
| 158 | <groupId>io.swagger</groupId> |
| 159 | <artifactId>swagger-jersey2-jaxrs</artifactId> |
| 160 | <version>${jersey.swagger.version}</version> |
| 161 | </dependency> |
| 162 | <dependency> |
| 163 | <groupId>org.apache.httpcomponents</groupId> |
| 164 | <artifactId>httpclient</artifactId> |
| 165 | <version>${http.client.version}</version> |
| 166 | </dependency> |
| 167 | <dependency> |
| 168 | <groupId>org.apache.httpcomponents</groupId> |
| 169 | <artifactId>httpcore</artifactId> |
| 170 | <version>${http.core.version}</version> |
| 171 | </dependency> |
| 172 | <dependency> |
| 173 | <groupId>ch.qos.logback</groupId> |
| 174 | <artifactId>logback-classic</artifactId> |
| 175 | <version>${logback.version}</version> |
| 176 | </dependency> |
| 177 | <dependency> |
| 178 | <groupId>junit</groupId> |
| 179 | <artifactId>junit</artifactId> |
| 180 | <version>${junit.version}</version> |
| 181 | </dependency> |
| 182 | <dependency> |
| 183 | <groupId>org.eclipse.persistence</groupId> |
| 184 | <artifactId>eclipselink</artifactId> |
| 185 | <version>${eclipselink.version}</version> |
| 186 | </dependency> |
| 187 | <dependency> |
| 188 | <groupId>org.eclipse.persistence</groupId> |
| 189 | <artifactId>org.eclipse.persistence.jpa</artifactId> |
| 190 | <version>${eclipselink.version}</version> |
| 191 | </dependency> |
| 192 | <dependency> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 193 | <groupId>org.hibernate</groupId> |
| 194 | <artifactId>hibernate-core</artifactId> |
| 195 | <version>${hibernate.core.version}</version> |
| 196 | </dependency> |
| 197 | <dependency> |
| 198 | <groupId>org.hibernate.common</groupId> |
| 199 | <artifactId>hibernate-commons-annotations</artifactId> |
| 200 | <version>${hibernate.commons.annotations.version}</version> |
| 201 | </dependency> |
| 202 | <dependency> |
| 203 | <groupId>commons-io</groupId> |
| 204 | <artifactId>commons-io</artifactId> |
| 205 | <version>${commons.io.version}</version> |
| 206 | </dependency> |
| 207 | <dependency> |
| 208 | <groupId>xml-apis</groupId> |
| 209 | <artifactId>xml-apis</artifactId> |
| 210 | <version>${xml.apis.version}</version> |
| 211 | </dependency> |
| 212 | </dependencies> |
| 213 | </dependencyManagement> |
Pamela Dragosh | bd6c437 | 2018-02-16 10:30:56 -0500 | [diff] [blame] | 214 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 215 | <build> |
| 216 | <plugins> |
| 217 | <plugin> |
| 218 | <groupId>org.jacoco</groupId> |
| 219 | <artifactId>jacoco-maven-plugin</artifactId> |
| 220 | <executions> |
| 221 | <execution> |
| 222 | <id>pre-unit-test</id> |
| 223 | <goals> |
| 224 | <goal>prepare-agent</goal> |
| 225 | </goals> |
| 226 | <configuration> |
| 227 | <destFile>${sonar.jacoco.reportPath}</destFile> |
| 228 | <append>true</append> |
| 229 | </configuration> |
| 230 | </execution> |
| 231 | <execution> |
| 232 | <id>post-unit-test</id> |
| 233 | <phase>test</phase> |
| 234 | <goals> |
| 235 | <goal>report</goal> |
| 236 | </goals> |
| 237 | <configuration> |
| 238 | <dataFile>${sonar.jacoco.reportPath}</dataFile> |
| 239 | </configuration> |
| 240 | </execution> |
| 241 | </executions> |
| 242 | </plugin> |
| 243 | <plugin> |
| 244 | <groupId>org.sonatype.plugins</groupId> |
| 245 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 246 | <extensions>true</extensions> |
| 247 | <configuration> |
| 248 | <nexusUrl>${nexusproxy}</nexusUrl> |
| 249 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
| 250 | <serverId>ecomp-staging</serverId> |
| 251 | </configuration> |
| 252 | </plugin> |
| 253 | <plugin> |
| 254 | <groupId>org.apache.maven.plugins</groupId> |
| 255 | <artifactId>maven-deploy-plugin</artifactId> |
| 256 | <configuration> |
| 257 | <skip /> |
| 258 | </configuration> |
| 259 | </plugin> |
| 260 | <plugin> |
| 261 | <groupId>org.apache.maven.plugins</groupId> |
| 262 | <artifactId>maven-compiler-plugin</artifactId> |
| 263 | <configuration> |
| 264 | <encoding>${project.encoding}</encoding> |
| 265 | <source>${project.source.version}</source> |
| 266 | <target>${project.target.version}</target> |
| 267 | </configuration> |
| 268 | </plugin> |
| 269 | <plugin> |
| 270 | <groupId>org.apache.maven.plugins</groupId> |
| 271 | <artifactId>maven-resources-plugin</artifactId> |
| 272 | <configuration> |
| 273 | <encoding>${project.encoding}</encoding> |
| 274 | </configuration> |
| 275 | </plugin> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 276 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 277 | <plugin> |
| 278 | <groupId>org.apache.maven.plugins</groupId> |
| 279 | <artifactId>maven-site-plugin</artifactId> |
| 280 | <dependencies> |
| 281 | <dependency> |
| 282 | <groupId>org.apache.maven.wagon</groupId> |
| 283 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
| 284 | <version>2.10</version> |
| 285 | </dependency> |
| 286 | </dependencies> |
| 287 | </plugin> |
| 288 | </plugins> |
| 289 | <pluginManagement> |
| 290 | <plugins> |
| 291 | <plugin> |
| 292 | <groupId>org.jacoco</groupId> |
| 293 | <artifactId>jacoco-maven-plugin</artifactId> |
| 294 | <version>${jacoco.version}</version> |
| 295 | <configuration> |
| 296 | <!-- Note: This exclusion list should match <sonar.exclusions> property |
| 297 | above --> |
| 298 | <excludes> |
| 299 | <exclude>**/gen/**</exclude> |
| 300 | <exclude>**/generated-sources/**</exclude> |
| 301 | <exclude>**/yang-gen/**</exclude> |
| 302 | <exclude>**/pax/**</exclude> |
| 303 | </excludes> |
| 304 | </configuration> |
| 305 | <executions> |
| 306 | <!-- Prepares the property pointing to the JaCoCo runtime agent which |
| 307 | is passed as VM argument when Maven the Surefire plugin is executed. --> |
| 308 | <execution> |
| 309 | <id>pre-unit-test</id> |
| 310 | <goals> |
| 311 | <goal>prepare-agent</goal> |
| 312 | </goals> |
| 313 | <configuration> |
| 314 | <destFile>${sonar.jacoco.reportPath}</destFile> |
| 315 | </configuration> |
| 316 | </execution> |
| 317 | <!-- Ensures that the code coverage report for unit tests is created |
| 318 | after unit tests have been run. --> |
| 319 | <execution> |
| 320 | <id>post-unit-test</id> |
| 321 | <phase>test</phase> |
| 322 | <goals> |
| 323 | <goal>report</goal> |
| 324 | </goals> |
| 325 | <configuration> |
| 326 | <dataFile>${sonar.jacoco.reportPath}</dataFile> |
| 327 | </configuration> |
| 328 | </execution> |
| 329 | </executions> |
| 330 | </plugin> |
| 331 | <plugin> |
| 332 | <groupId>org.eclipse.m2e</groupId> |
| 333 | <artifactId>lifecycle-mapping</artifactId> |
| 334 | <version>1.0.0</version> |
| 335 | <configuration> |
| 336 | <lifecycleMappingMetadata> |
| 337 | <pluginExecutions> |
| 338 | <pluginExecution> |
| 339 | <pluginExecutionFilter> |
| 340 | <groupId>org.apache.maven.plugins</groupId> |
| 341 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 342 | <versionRange>2.17,)</versionRange> |
| 343 | <goals> |
| 344 | <goal>check</goal> |
| 345 | </goals> |
| 346 | </pluginExecutionFilter> |
| 347 | <action> |
| 348 | <ignore /> |
| 349 | </action> |
| 350 | </pluginExecution> |
| 351 | </pluginExecutions> |
| 352 | </lifecycleMappingMetadata> |
| 353 | </configuration> |
| 354 | </plugin> |
| 355 | </plugins> |
| 356 | </pluginManagement> |
| 357 | </build> |
| 358 | <reporting> |
| 359 | <plugins> |
| 360 | <plugin> |
| 361 | <groupId>org.apache.maven.plugins</groupId> |
| 362 | <artifactId>maven-javadoc-plugin</artifactId> |
| 363 | <version>2.10.4</version> |
| 364 | <configuration> |
| 365 | <failOnError>false</failOnError> |
| 366 | <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet> |
| 367 | <docletArtifact> |
| 368 | <groupId>org.umlgraph</groupId> |
| 369 | <artifactId>umlgraph</artifactId> |
| 370 | <version>5.6</version> |
| 371 | </docletArtifact> |
| 372 | <additionalparam>-views</additionalparam> |
| 373 | <useStandardDocletOptions>true</useStandardDocletOptions> |
| 374 | </configuration> |
| 375 | </plugin> |
| 376 | </plugins> |
| 377 | </reporting> |
Pamela Dragosh | b67f417 | 2017-04-10 10:24:23 -0400 | [diff] [blame] | 378 | |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 379 | </project> |