Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
Guo Ruijing | 6abeb29 | 2017-07-28 08:23:01 +0000 | [diff] [blame] | 3 | ONAP Policy Engine - Drools PDP |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 4 | ================================================================================ |
| 5 | Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. |
| 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 | ============LICENSE_END========================================================= |
| 19 | --> |
| 20 | |
| 21 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 22 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 23 | <modelVersion>4.0.0</modelVersion> |
| 24 | |
Guo Ruijing | 15be35a | 2017-08-03 11:32:09 +0000 | [diff] [blame] | 25 | <parent> |
| 26 | <groupId>org.onap.oparent</groupId> |
| 27 | <artifactId>oparent</artifactId> |
| 28 | <version>1.0.0-SNAPSHOT</version> |
| 29 | <relativePath/> |
| 30 | </parent> |
| 31 | |
Guo Ruijing | 6abeb29 | 2017-07-28 08:23:01 +0000 | [diff] [blame] | 32 | <groupId>org.onap.policy.drools-pdp</groupId> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 33 | <artifactId>drools-pdp</artifactId> |
Pamela Dragosh | 998f0b3 | 2017-03-10 14:31:17 -0500 | [diff] [blame] | 34 | <version>1.1.0-SNAPSHOT</version> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 35 | <packaging>pom</packaging> |
Pamela Dragosh | 8ddd73a | 2017-04-28 10:50:14 -0400 | [diff] [blame] | 36 | <name>Policy Engine - Drools PDP</name> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 37 | |
Guo Ruijing | 6abeb29 | 2017-07-28 08:23:01 +0000 | [diff] [blame] | 38 | <description>The ONAP Policy Engine drools-based PDP Project</description> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 39 | |
| 40 | <properties> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 41 | <project.source.version>1.8</project.source.version> |
| 42 | <project.target.version>1.8</project.target.version> |
Pamela Dragosh | 998f0b3 | 2017-03-10 14:31:17 -0500 | [diff] [blame] | 43 | <common-modules.version>1.1.0-SNAPSHOT</common-modules.version> |
Ralph Straubs | 5bd9ff4 | 2017-04-21 04:23:55 -0500 | [diff] [blame] | 44 | <dmaap.version>0.2.12</dmaap.version> |
| 45 | <cambria.version>0.0.1</cambria.version> |
| 46 | <jersey.version>2.22.2</jersey.version> |
Jorge Hernandez | 881c32e | 2017-05-25 16:44:15 -0500 | [diff] [blame] | 47 | <jersey.swagger.version>1.5.13</jersey.swagger.version> |
Ralph Straubs | 5bd9ff4 | 2017-04-21 04:23:55 -0500 | [diff] [blame] | 48 | <jackson.version>2.8.4</jackson.version> |
Jorge Hernandez | 8f61e18 | 2017-06-22 17:17:28 -0500 | [diff] [blame] | 49 | <http.client.version>4.5</http.client.version> |
| 50 | <http.core.version>4.4.4</http.core.version> |
| 51 | <logback.version>1.2.3</logback.version> |
Jorge Hernandez | 1550fa8 | 2017-07-26 19:00:54 -0500 | [diff] [blame] | 52 | <sonar.plugin.version>3.2</sonar.plugin.version> |
| 53 | <jacoco.plugin.version>0.7.9</jacoco.plugin.version> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 54 | |
| 55 | <sonar.language>java</sonar.language> |
| 56 | <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> |
| 57 | <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> |
| 58 | <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath> |
Jorge Hernandez | 1550fa8 | 2017-07-26 19:00:54 -0500 | [diff] [blame] | 59 | <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero> |
| 60 | <sonar.projectVersion>${project.version}</sonar.projectVersion> |
| 61 | |
Pamela Dragosh | e8bdb51 | 2017-03-30 09:46:40 -0400 | [diff] [blame] | 62 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
Anaël Closson | 8f7e5de | 2017-04-12 11:09:25 +0200 | [diff] [blame] | 63 | <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath> |
| 64 | <releases.path>content/repositories/releases/</releases.path> |
| 65 | <snapshots.path>content/repositories/snapshots/</snapshots.path> |
| 66 | <staging.path>content/repositories/staging/</staging.path> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 67 | </properties> |
| 68 | |
| 69 | <modules> |
| 70 | <module>policy-utils</module> |
| 71 | <module>policy-core</module> |
| 72 | <module>policy-endpoints</module> |
| 73 | <module>policy-management</module> |
Jorge Hernandez | 564f818 | 2017-06-30 13:29:03 -0500 | [diff] [blame] | 74 | <module>feature-healthcheck</module> |
Jorge Hernandez | 9e69cc2 | 2017-06-26 08:05:30 -0500 | [diff] [blame] | 75 | <module>feature-eelf</module> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 76 | <module>packages</module> |
| 77 | </modules> |
| 78 | |
Pamela Dragosh | 2f7c70d | 2017-02-15 16:09:00 -0500 | [diff] [blame] | 79 | <distributionManagement> |
| 80 | <repository> |
Jorge Hernandez | 41ca218 | 2017-07-31 15:35:01 -0500 | [diff] [blame] | 81 | <id>ecomp-releases</id> |
Guo Ruijing | 6abeb29 | 2017-07-28 08:23:01 +0000 | [diff] [blame] | 82 | <name>ONAP Release Repository</name> |
Anaël Closson | 8f7e5de | 2017-04-12 11:09:25 +0200 | [diff] [blame] | 83 | <url>${nexusproxy}/${releases.path}</url> |
Pamela Dragosh | 2f7c70d | 2017-02-15 16:09:00 -0500 | [diff] [blame] | 84 | </repository> |
| 85 | <snapshotRepository> |
Jorge Hernandez | 41ca218 | 2017-07-31 15:35:01 -0500 | [diff] [blame] | 86 | <id>ecomp-snapshots</id> |
Guo Ruijing | 6abeb29 | 2017-07-28 08:23:01 +0000 | [diff] [blame] | 87 | <name>ONAP Snapshot Repository</name> |
Anaël Closson | 8f7e5de | 2017-04-12 11:09:25 +0200 | [diff] [blame] | 88 | <url>${nexusproxy}/${snapshots.path}</url> |
Pamela Dragosh | 2f7c70d | 2017-02-15 16:09:00 -0500 | [diff] [blame] | 89 | </snapshotRepository> |
| 90 | <site> |
Jorge Hernandez | 41ca218 | 2017-07-31 15:35:01 -0500 | [diff] [blame] | 91 | <id>ecomp-site</id> |
Pamela Dragosh | b67f417 | 2017-04-10 10:24:23 -0400 | [diff] [blame] | 92 | <url>dav:${nexusproxy}${sitePath}</url> |
Pamela Dragosh | 2f7c70d | 2017-02-15 16:09:00 -0500 | [diff] [blame] | 93 | </site> |
| 94 | </distributionManagement> |
| 95 | |
Jorge Hernandez | 8f61e18 | 2017-06-22 17:17:28 -0500 | [diff] [blame] | 96 | <dependencies/> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 97 | |
Ralph Straubs | 5bd9ff4 | 2017-04-21 04:23:55 -0500 | [diff] [blame] | 98 | <dependencyManagement> |
| 99 | <dependencies> |
| 100 | <dependency> |
| 101 | <groupId>com.google.guava</groupId> |
| 102 | <artifactId>guava</artifactId> |
Ralph Straubs | 8ce73e2 | 2017-07-17 10:16:44 -0500 | [diff] [blame] | 103 | <version>16.0.1</version> |
Ralph Straubs | 5bd9ff4 | 2017-04-21 04:23:55 -0500 | [diff] [blame] | 104 | </dependency> |
| 105 | <dependency> |
| 106 | <groupId>javax.ws.rs</groupId> |
| 107 | <artifactId>javax.ws.rs-api</artifactId> |
| 108 | <version>2.0.1</version> |
| 109 | </dependency> |
| 110 | <dependency> |
| 111 | <groupId>org.glassfish.hk2.external</groupId> |
| 112 | <artifactId>javax.inject</artifactId> |
| 113 | <version>2.4.0-b31</version> |
| 114 | </dependency> |
| 115 | <dependency> |
| 116 | <groupId>com.fasterxml.jackson.jaxrs</groupId> |
| 117 | <artifactId>jackson-jaxrs-base</artifactId> |
| 118 | <version>${jackson.version}</version> |
| 119 | </dependency> |
| 120 | <dependency> |
| 121 | <groupId>com.fasterxml.jackson.jaxrs</groupId> |
| 122 | <artifactId>jackson-jaxrs-json-provider</artifactId> |
| 123 | <version>${jackson.version}</version> |
| 124 | </dependency> |
| 125 | <dependency> |
| 126 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 127 | <artifactId>jackson-dataformat-xml</artifactId> |
| 128 | <version>${jackson.version}</version> |
| 129 | </dependency> |
| 130 | <dependency> |
| 131 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 132 | <artifactId>jackson-dataformat-yaml</artifactId> |
| 133 | <version>${jackson.version}</version> |
| 134 | </dependency> |
| 135 | <dependency> |
| 136 | <groupId>com.fasterxml.jackson.datatype</groupId> |
| 137 | <artifactId>jackson-datatype-joda</artifactId> |
| 138 | <version>${jackson.version}</version> |
| 139 | </dependency> |
| 140 | <dependency> |
| 141 | <groupId>org.glassfish.jersey.containers</groupId> |
| 142 | <artifactId>jersey-common</artifactId> |
| 143 | <version>${jersey.version}</version> |
| 144 | </dependency> |
| 145 | <dependency> |
| 146 | <groupId>org.glassfish.jersey.containers</groupId> |
| 147 | <artifactId>jersey-container-servlet-core</artifactId> |
| 148 | <version>${jersey.version}</version> |
| 149 | </dependency> |
Jorge Hernandez | 881c32e | 2017-05-25 16:44:15 -0500 | [diff] [blame] | 150 | <dependency> |
| 151 | <groupId>io.swagger</groupId> |
| 152 | <artifactId>swagger-jersey2-jaxrs</artifactId> |
| 153 | <version>${jersey.swagger.version}</version> |
| 154 | </dependency> |
Jorge Hernandez | 85e1256 | 2017-06-05 09:51:55 -0500 | [diff] [blame] | 155 | <dependency> |
| 156 | <groupId>org.apache.httpcomponents</groupId> |
| 157 | <artifactId>httpclient</artifactId> |
Jorge Hernandez | 8f61e18 | 2017-06-22 17:17:28 -0500 | [diff] [blame] | 158 | <version>${http.client.version}</version> |
Jorge Hernandez | 85e1256 | 2017-06-05 09:51:55 -0500 | [diff] [blame] | 159 | </dependency> |
| 160 | <dependency> |
| 161 | <groupId>org.apache.httpcomponents</groupId> |
| 162 | <artifactId>httpcore</artifactId> |
Jorge Hernandez | 8f61e18 | 2017-06-22 17:17:28 -0500 | [diff] [blame] | 163 | <version>${http.core.version}</version> |
| 164 | </dependency> |
| 165 | <dependency> |
| 166 | <groupId>ch.qos.logback</groupId> |
| 167 | <artifactId>logback-classic</artifactId> |
| 168 | <version>${logback.version}</version> |
Jorge Hernandez | 85e1256 | 2017-06-05 09:51:55 -0500 | [diff] [blame] | 169 | </dependency> |
Ralph Straubs | 5bd9ff4 | 2017-04-21 04:23:55 -0500 | [diff] [blame] | 170 | </dependencies> |
| 171 | </dependencyManagement> |
| 172 | |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 173 | <build> |
| 174 | <plugins> |
| 175 | <plugin> |
Pamela Dragosh | a5fd1fb | 2017-02-17 15:31:11 -0500 | [diff] [blame] | 176 | <groupId>org.sonatype.plugins</groupId> |
| 177 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 178 | <version>1.6.7</version> |
| 179 | <extensions>true</extensions> |
| 180 | <configuration> |
| 181 | <nexusUrl>${nexusproxy}</nexusUrl> |
| 182 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
Pamela Dragosh | 9626594 | 2017-07-31 21:31:31 -0400 | [diff] [blame] | 183 | <serverId>ecomp-staging</serverId> |
Pamela Dragosh | a5fd1fb | 2017-02-17 15:31:11 -0500 | [diff] [blame] | 184 | </configuration> |
| 185 | </plugin> |
| 186 | <plugin> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 187 | <groupId>org.apache.maven.plugins</groupId> |
| 188 | <artifactId>maven-deploy-plugin</artifactId> |
| 189 | <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter --> |
Pamela Dragosh | a5fd1fb | 2017-02-17 15:31:11 -0500 | [diff] [blame] | 190 | <configuration> |
| 191 | <skip /> |
| 192 | </configuration> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 193 | </plugin> |
| 194 | <plugin> |
| 195 | <groupId>org.apache.maven.plugins</groupId> |
| 196 | <artifactId>maven-compiler-plugin</artifactId> |
| 197 | <version>3.0</version> |
| 198 | <configuration> |
| 199 | <encoding>${project.encoding}</encoding> |
| 200 | <source>${project.source.version}</source> |
| 201 | <target>${project.target.version}</target> |
| 202 | </configuration> |
| 203 | </plugin> |
| 204 | <plugin> |
| 205 | <groupId>org.apache.maven.plugins</groupId> |
| 206 | <artifactId>maven-resources-plugin</artifactId> |
| 207 | <version>2.6</version> |
| 208 | <configuration> |
| 209 | <encoding>${project.encoding}</encoding> |
| 210 | </configuration> |
| 211 | </plugin> |
| 212 | <!-- |
| 213 | license plugin |
| 214 | Run |
| 215 | mvn clean |
| 216 | before running from the command line |
| 217 | mvn license:update-file-header |
| 218 | --> |
| 219 | <plugin> |
| 220 | <groupId>org.codehaus.mojo</groupId> |
| 221 | <artifactId>license-maven-plugin</artifactId> |
| 222 | <version>1.9</version> |
| 223 | <configuration> |
| 224 | <extraExtensions> |
| 225 | <!-- Used to add or change the header style <fileTypeYouAreMapping> |
| 226 | fileTypeMappedInto </fileTypeYouAreMapping> --> |
| 227 | <drl>java</drl> |
| 228 | <ccf>properties</ccf> |
| 229 | |
| 230 | <!-- Because the typical sql comment type confuses the update algorithm --> |
| 231 | <sql>java</sql> |
| 232 | </extraExtensions> |
| 233 | <licenseName>apache_v2</licenseName> |
| 234 | |
| 235 | <inceptionYear>2017</inceptionYear> |
| 236 | <organizationName>AT&T Intellectual Property. All rights reserved.</organizationName> |
| 237 | |
| 238 | <!-- Once you have established the tags and delimiter, they cannot be |
| 239 | changed --> |
| 240 | <processStartTag>============LICENSE_START=======================================================</processStartTag> |
| 241 | <processEndTag>============LICENSE_END=========================================================</processEndTag> |
| 242 | <sectionDelimiter>================================================================================</sectionDelimiter> |
| 243 | <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage> |
| 244 | <canUpdateCopyright>true</canUpdateCopyright> |
| 245 | <canUpdateDescription>true</canUpdateDescription> |
| 246 | <canUpdateLicense>true</canUpdateLicense> |
| 247 | <emptyLineAfterHeader>true</emptyLineAfterHeader> |
| 248 | <roots> |
| 249 | <!-- Default is src, target/generated-sources, target/processed-sources --> |
| 250 | |
| 251 | <!-- Everything except the files in the excludes section --> |
| 252 | <root>/</root> |
| 253 | </roots> |
| 254 | <excludes> |
| 255 | <!-- Files which are to be excluded. The pom.xml is excluded because |
| 256 | the start/end tags and the delimiters are in the body of the file. This confuses |
| 257 | the algorithm. So, this file must be manually updated with a license header. --> |
| 258 | <exclude>pom.xml</exclude> |
| 259 | </excludes> |
| 260 | </configuration> |
| 261 | </plugin> |
Pamela Dragosh | b67f417 | 2017-04-10 10:24:23 -0400 | [diff] [blame] | 262 | <plugin> |
| 263 | <groupId>org.apache.maven.plugins</groupId> |
| 264 | <artifactId>maven-site-plugin</artifactId> |
| 265 | <version>3.6</version> |
| 266 | <dependencies> |
| 267 | <dependency> |
| 268 | <groupId>org.apache.maven.wagon</groupId> |
| 269 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
| 270 | <version>2.10</version> |
| 271 | </dependency> |
| 272 | </dependencies> |
| 273 | </plugin> |
Jorge Hernandez | 1550fa8 | 2017-07-26 19:00:54 -0500 | [diff] [blame] | 274 | |
| 275 | <plugin> |
| 276 | <groupId>org.jacoco</groupId> |
| 277 | <artifactId>jacoco-maven-plugin</artifactId> |
| 278 | </plugin> |
| 279 | |
| 280 | <plugin> |
| 281 | <groupId>org.codehaus.mojo</groupId> |
| 282 | <artifactId>sonar-maven-plugin</artifactId> |
| 283 | </plugin> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 284 | </plugins> |
| 285 | <pluginManagement> |
| 286 | <plugins> |
| 287 | <plugin> |
| 288 | <groupId>org.jacoco</groupId> |
| 289 | <artifactId>jacoco-maven-plugin</artifactId> |
Jorge Hernandez | 1550fa8 | 2017-07-26 19:00:54 -0500 | [diff] [blame] | 290 | <version>${jacoco.plugin.version}</version> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 291 | <configuration> |
| 292 | <dumpOnExit>true</dumpOnExit> |
| 293 | <includes> |
Guo Ruijing | 6abeb29 | 2017-07-28 08:23:01 +0000 | [diff] [blame] | 294 | <include>org.onap.*</include> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 295 | </includes> |
| 296 | </configuration> |
| 297 | <executions> |
| 298 | <execution> |
| 299 | <id>jacoco-initialize-unit-tests</id> |
| 300 | <goals> |
| 301 | <goal>prepare-agent</goal> |
| 302 | </goals> |
| 303 | <configuration> |
| 304 | <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile> |
| 305 | </configuration> |
| 306 | </execution> |
| 307 | </executions> |
| 308 | </plugin> |
Jorge Hernandez | 1550fa8 | 2017-07-26 19:00:54 -0500 | [diff] [blame] | 309 | <plugin> |
| 310 | <groupId>org.codehaus.mojo</groupId> |
| 311 | <artifactId>sonar-maven-plugin</artifactId> |
| 312 | <version>${sonar.plugin.version}</version> |
| 313 | </plugin> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 314 | </plugins> |
| 315 | </pluginManagement> |
| 316 | </build> |
Pamela Dragosh | b67f417 | 2017-04-10 10:24:23 -0400 | [diff] [blame] | 317 | <reporting> |
| 318 | <plugins> |
| 319 | <plugin> |
| 320 | <groupId>org.apache.maven.plugins</groupId> |
| 321 | <artifactId>maven-javadoc-plugin</artifactId> |
| 322 | <version>2.10.4</version> |
| 323 | <configuration> |
| 324 | <failOnError>false</failOnError> |
| 325 | <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet> |
| 326 | <docletArtifact> |
| 327 | <groupId>org.umlgraph</groupId> |
| 328 | <artifactId>umlgraph</artifactId> |
| 329 | <version>5.6</version> |
| 330 | </docletArtifact> |
| 331 | <additionalparam>-views</additionalparam> |
| 332 | <useStandardDocletOptions>true</useStandardDocletOptions> |
| 333 | </configuration> |
| 334 | </plugin> |
| 335 | </plugins> |
| 336 | </reporting> |
| 337 | |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 338 | </project> |