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