Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | ECOMP Policy Engine - Drools PDP |
| 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 | |
| 25 | <groupId>org.openecomp.policy.drools-pdp</groupId> |
| 26 | <artifactId>drools-pdp</artifactId> |
Pamela Dragosh | 998f0b3 | 2017-03-10 14:31:17 -0500 | [diff] [blame] | 27 | <version>1.1.0-SNAPSHOT</version> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 28 | <packaging>pom</packaging> |
Pamela Dragosh | 8ddd73a | 2017-04-28 10:50:14 -0400 | [diff] [blame^] | 29 | <name>Policy Engine - Drools PDP</name> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 30 | |
| 31 | <description>The ECOMP Policy Engine drools-based PDP Project</description> |
| 32 | |
| 33 | <properties> |
| 34 | <maven.compiler.source>1.8</maven.compiler.source> |
| 35 | <maven.compiler.target>1.8</maven.compiler.target> |
| 36 | |
Ralph Straubs | 5bd9ff4 | 2017-04-21 04:23:55 -0500 | [diff] [blame] | 37 | <swagger-maven-plugin-version>3.1.4</swagger-maven-plugin-version> |
| 38 | |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 39 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 40 | <project.source.version>1.8</project.source.version> |
| 41 | <project.target.version>1.8</project.target.version> |
Pamela Dragosh | 998f0b3 | 2017-03-10 14:31:17 -0500 | [diff] [blame] | 42 | <common-modules.version>1.1.0-SNAPSHOT</common-modules.version> |
Ralph Straubs | 5bd9ff4 | 2017-04-21 04:23:55 -0500 | [diff] [blame] | 43 | <dmaap.version>0.2.12</dmaap.version> |
| 44 | <cambria.version>0.0.1</cambria.version> |
| 45 | <jersey.version>2.22.2</jersey.version> |
| 46 | <jackson.version>2.8.4</jackson.version> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 47 | |
| 48 | <sonar.language>java</sonar.language> |
| 49 | <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> |
| 50 | <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> |
| 51 | <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath> |
| 52 | <sonar.jacoco.itReportPath>/opt/app/jacoco-it.exec</sonar.jacoco.itReportPath> |
| 53 | <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero> |
Pamela Dragosh | e8bdb51 | 2017-03-30 09:46:40 -0400 | [diff] [blame] | 54 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
Anaël Closson | 8f7e5de | 2017-04-12 11:09:25 +0200 | [diff] [blame] | 55 | <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath> |
| 56 | <releases.path>content/repositories/releases/</releases.path> |
| 57 | <snapshots.path>content/repositories/snapshots/</snapshots.path> |
| 58 | <staging.path>content/repositories/staging/</staging.path> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 59 | </properties> |
| 60 | |
| 61 | <modules> |
| 62 | <module>policy-utils</module> |
| 63 | <module>policy-core</module> |
| 64 | <module>policy-endpoints</module> |
| 65 | <module>policy-management</module> |
| 66 | <module>policy-persistence</module> |
| 67 | <module>policy-healthcheck</module> |
| 68 | <module>packages</module> |
| 69 | </modules> |
| 70 | |
| 71 | <repositories> |
| 72 | <repository> |
| 73 | <id>central</id> |
| 74 | <name>Maven 2 repository</name> |
| 75 | <url>http://repo2.maven.org/maven2/</url> |
| 76 | </repository> |
| 77 | |
| 78 | <repository> |
| 79 | <id>eclipse</id> |
| 80 | <url>https://repo.eclipse.org/content/repositories/releases</url> |
| 81 | <releases> |
| 82 | <enabled>true</enabled> |
| 83 | <updatePolicy>daily</updatePolicy> |
| 84 | </releases> |
| 85 | <snapshots> |
| 86 | <enabled>false</enabled> |
| 87 | </snapshots> |
| 88 | </repository> |
| 89 | |
| 90 | <repository> |
| 91 | <id>soapUI</id> |
| 92 | <url>http://www.soapui.org/repository/maven2/</url> |
| 93 | <name>SoapUI plugin</name> |
| 94 | </repository> |
Pamela Dragosh | 2f7c70d | 2017-02-15 16:09:00 -0500 | [diff] [blame] | 95 | <repository> |
| 96 | <id>ecomp-releases</id> |
| 97 | <name>OpenECOMP Release Repository</name> |
Anaël Closson | 8f7e5de | 2017-04-12 11:09:25 +0200 | [diff] [blame] | 98 | <url>${nexusproxy}/${releases.path}</url> |
Pamela Dragosh | 2f7c70d | 2017-02-15 16:09:00 -0500 | [diff] [blame] | 99 | </repository> |
| 100 | <repository> |
| 101 | <id>ecomp-staging</id> |
| 102 | <name>OpenECOMP Staging Repository</name> |
Anaël Closson | 8f7e5de | 2017-04-12 11:09:25 +0200 | [diff] [blame] | 103 | <url>${nexusproxy}/${staging.path}</url> |
Pamela Dragosh | 2f7c70d | 2017-02-15 16:09:00 -0500 | [diff] [blame] | 104 | </repository> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 105 | </repositories> |
| 106 | |
Pamela Dragosh | 2f7c70d | 2017-02-15 16:09:00 -0500 | [diff] [blame] | 107 | <distributionManagement> |
| 108 | <repository> |
| 109 | <id>ecomp-releases</id> |
| 110 | <name>OpenECOMP Release Repository</name> |
Anaël Closson | 8f7e5de | 2017-04-12 11:09:25 +0200 | [diff] [blame] | 111 | <url>${nexusproxy}/${releases.path}</url> |
Pamela Dragosh | 2f7c70d | 2017-02-15 16:09:00 -0500 | [diff] [blame] | 112 | </repository> |
| 113 | <snapshotRepository> |
| 114 | <id>ecomp-snapshots</id> |
| 115 | <name>OpenECOMP Snapshot Repository</name> |
Anaël Closson | 8f7e5de | 2017-04-12 11:09:25 +0200 | [diff] [blame] | 116 | <url>${nexusproxy}/${snapshots.path}</url> |
Pamela Dragosh | 2f7c70d | 2017-02-15 16:09:00 -0500 | [diff] [blame] | 117 | </snapshotRepository> |
| 118 | <site> |
Pamela Dragosh | b67f417 | 2017-04-10 10:24:23 -0400 | [diff] [blame] | 119 | <id>ecomp-site</id> |
| 120 | <url>dav:${nexusproxy}${sitePath}</url> |
Pamela Dragosh | 2f7c70d | 2017-02-15 16:09:00 -0500 | [diff] [blame] | 121 | </site> |
| 122 | </distributionManagement> |
| 123 | |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 124 | <dependencies> |
| 125 | |
| 126 | </dependencies> |
Ralph Straubs | 5bd9ff4 | 2017-04-21 04:23:55 -0500 | [diff] [blame] | 127 | <dependencyManagement> |
| 128 | <dependencies> |
| 129 | <dependency> |
| 130 | <groupId>com.google.guava</groupId> |
| 131 | <artifactId>guava</artifactId> |
| 132 | <version>10.0.1</version> |
| 133 | </dependency> |
| 134 | <dependency> |
| 135 | <groupId>javax.ws.rs</groupId> |
| 136 | <artifactId>javax.ws.rs-api</artifactId> |
| 137 | <version>2.0.1</version> |
| 138 | </dependency> |
| 139 | <dependency> |
| 140 | <groupId>org.glassfish.hk2.external</groupId> |
| 141 | <artifactId>javax.inject</artifactId> |
| 142 | <version>2.4.0-b31</version> |
| 143 | </dependency> |
| 144 | <dependency> |
| 145 | <groupId>com.fasterxml.jackson.jaxrs</groupId> |
| 146 | <artifactId>jackson-jaxrs-base</artifactId> |
| 147 | <version>${jackson.version}</version> |
| 148 | </dependency> |
| 149 | <dependency> |
| 150 | <groupId>com.fasterxml.jackson.jaxrs</groupId> |
| 151 | <artifactId>jackson-jaxrs-json-provider</artifactId> |
| 152 | <version>${jackson.version}</version> |
| 153 | </dependency> |
| 154 | <dependency> |
| 155 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 156 | <artifactId>jackson-dataformat-xml</artifactId> |
| 157 | <version>${jackson.version}</version> |
| 158 | </dependency> |
| 159 | <dependency> |
| 160 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 161 | <artifactId>jackson-dataformat-yaml</artifactId> |
| 162 | <version>${jackson.version}</version> |
| 163 | </dependency> |
| 164 | <dependency> |
| 165 | <groupId>com.fasterxml.jackson.datatype</groupId> |
| 166 | <artifactId>jackson-datatype-joda</artifactId> |
| 167 | <version>${jackson.version}</version> |
| 168 | </dependency> |
| 169 | <dependency> |
| 170 | <groupId>org.glassfish.jersey.containers</groupId> |
| 171 | <artifactId>jersey-common</artifactId> |
| 172 | <version>${jersey.version}</version> |
| 173 | </dependency> |
| 174 | <dependency> |
| 175 | <groupId>org.glassfish.jersey.containers</groupId> |
| 176 | <artifactId>jersey-container-servlet-core</artifactId> |
| 177 | <version>${jersey.version}</version> |
| 178 | </dependency> |
| 179 | </dependencies> |
| 180 | </dependencyManagement> |
| 181 | |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 182 | <build> |
| 183 | <plugins> |
| 184 | <plugin> |
Pamela Dragosh | a5fd1fb | 2017-02-17 15:31:11 -0500 | [diff] [blame] | 185 | <groupId>org.sonatype.plugins</groupId> |
| 186 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 187 | <version>1.6.7</version> |
| 188 | <extensions>true</extensions> |
| 189 | <configuration> |
| 190 | <nexusUrl>${nexusproxy}</nexusUrl> |
| 191 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
| 192 | <serverId>ecomp-staging</serverId> |
| 193 | </configuration> |
| 194 | </plugin> |
| 195 | <plugin> |
Ralph Straubs | 5bd9ff4 | 2017-04-21 04:23:55 -0500 | [diff] [blame] | 196 | <groupId>com.github.kongchen</groupId> |
| 197 | <artifactId>swagger-maven-plugin</artifactId> |
| 198 | <version>${swagger-maven-plugin-version}</version> |
| 199 | <configuration> |
| 200 | <apiSources> |
| 201 | <apiSource> |
| 202 | <springmvc>false</springmvc> |
| 203 | <locations> |
| 204 | <location> |
| 205 | org.openecomp.policy.drools.core.DroolsPDPIntegrityMonitor |
| 206 | </location> |
| 207 | </locations> |
| 208 | <info> |
| 209 | <title>Drools PDP</title> |
| 210 | <version>1.0.0</version> |
| 211 | </info> |
| 212 | <swaggerDirectory>${project.build.directory}/swagger/integrityMonitor</swaggerDirectory> |
| 213 | <swaggerFileName>swagger</swaggerFileName> |
| 214 | <attachSwaggerArtifact>true</attachSwaggerArtifact> |
| 215 | </apiSource> |
| 216 | </apiSources> |
| 217 | </configuration> |
| 218 | <dependencies> |
| 219 | <!-- Adding dependency to swagger-hibernate-validations to enable the BeanValidator as a custom |
| 220 | model converter --> |
| 221 | <dependency> |
| 222 | <groupId>io.swagger</groupId> |
| 223 | <artifactId>swagger-hibernate-validations</artifactId> |
| 224 | <version>1.5.6</version> |
| 225 | </dependency> |
| 226 | <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 --> |
| 227 | <dependency> |
| 228 | <groupId>org.apache.commons</groupId> |
| 229 | <artifactId>commons-lang3</artifactId> |
| 230 | <version>3.4</version> |
| 231 | </dependency> |
| 232 | </dependencies> |
| 233 | <executions> |
| 234 | <execution> |
| 235 | <phase>compile</phase> |
| 236 | <goals> |
| 237 | <goal>generate</goal> |
| 238 | </goals> |
| 239 | </execution> |
| 240 | </executions> |
| 241 | </plugin> |
| 242 | <plugin> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 243 | <groupId>org.apache.maven.plugins</groupId> |
| 244 | <artifactId>maven-deploy-plugin</artifactId> |
| 245 | <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter --> |
Pamela Dragosh | a5fd1fb | 2017-02-17 15:31:11 -0500 | [diff] [blame] | 246 | <configuration> |
| 247 | <skip /> |
| 248 | </configuration> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 249 | </plugin> |
| 250 | <plugin> |
| 251 | <groupId>org.apache.maven.plugins</groupId> |
| 252 | <artifactId>maven-compiler-plugin</artifactId> |
| 253 | <version>3.0</version> |
| 254 | <configuration> |
| 255 | <encoding>${project.encoding}</encoding> |
| 256 | <source>${project.source.version}</source> |
| 257 | <target>${project.target.version}</target> |
| 258 | </configuration> |
| 259 | </plugin> |
| 260 | <plugin> |
| 261 | <groupId>org.apache.maven.plugins</groupId> |
| 262 | <artifactId>maven-resources-plugin</artifactId> |
| 263 | <version>2.6</version> |
| 264 | <configuration> |
| 265 | <encoding>${project.encoding}</encoding> |
| 266 | </configuration> |
| 267 | </plugin> |
| 268 | <!-- |
| 269 | license plugin |
| 270 | Run |
| 271 | mvn clean |
| 272 | before running from the command line |
| 273 | mvn license:update-file-header |
| 274 | --> |
| 275 | <plugin> |
| 276 | <groupId>org.codehaus.mojo</groupId> |
| 277 | <artifactId>license-maven-plugin</artifactId> |
| 278 | <version>1.9</version> |
| 279 | <configuration> |
| 280 | <extraExtensions> |
| 281 | <!-- Used to add or change the header style <fileTypeYouAreMapping> |
| 282 | fileTypeMappedInto </fileTypeYouAreMapping> --> |
| 283 | <drl>java</drl> |
| 284 | <ccf>properties</ccf> |
| 285 | |
| 286 | <!-- Because the typical sql comment type confuses the update algorithm --> |
| 287 | <sql>java</sql> |
| 288 | </extraExtensions> |
| 289 | <licenseName>apache_v2</licenseName> |
| 290 | |
| 291 | <inceptionYear>2017</inceptionYear> |
| 292 | <organizationName>AT&T Intellectual Property. All rights reserved.</organizationName> |
| 293 | |
| 294 | <!-- Once you have established the tags and delimiter, they cannot be |
| 295 | changed --> |
| 296 | <processStartTag>============LICENSE_START=======================================================</processStartTag> |
| 297 | <processEndTag>============LICENSE_END=========================================================</processEndTag> |
| 298 | <sectionDelimiter>================================================================================</sectionDelimiter> |
| 299 | <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage> |
| 300 | <canUpdateCopyright>true</canUpdateCopyright> |
| 301 | <canUpdateDescription>true</canUpdateDescription> |
| 302 | <canUpdateLicense>true</canUpdateLicense> |
| 303 | <emptyLineAfterHeader>true</emptyLineAfterHeader> |
| 304 | <roots> |
| 305 | <!-- Default is src, target/generated-sources, target/processed-sources --> |
| 306 | |
| 307 | <!-- Everything except the files in the excludes section --> |
| 308 | <root>/</root> |
| 309 | </roots> |
| 310 | <excludes> |
| 311 | <!-- Files which are to be excluded. The pom.xml is excluded because |
| 312 | the start/end tags and the delimiters are in the body of the file. This confuses |
| 313 | the algorithm. So, this file must be manually updated with a license header. --> |
| 314 | <exclude>pom.xml</exclude> |
| 315 | </excludes> |
| 316 | </configuration> |
| 317 | </plugin> |
Pamela Dragosh | b67f417 | 2017-04-10 10:24:23 -0400 | [diff] [blame] | 318 | <plugin> |
| 319 | <groupId>org.apache.maven.plugins</groupId> |
| 320 | <artifactId>maven-site-plugin</artifactId> |
| 321 | <version>3.6</version> |
| 322 | <dependencies> |
| 323 | <dependency> |
| 324 | <groupId>org.apache.maven.wagon</groupId> |
| 325 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
| 326 | <version>2.10</version> |
| 327 | </dependency> |
| 328 | </dependencies> |
| 329 | </plugin> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 330 | </plugins> |
| 331 | <pluginManagement> |
| 332 | <plugins> |
| 333 | <plugin> |
| 334 | <groupId>org.jacoco</groupId> |
| 335 | <artifactId>jacoco-maven-plugin</artifactId> |
| 336 | <version>0.7.5.201505241946</version> |
| 337 | <configuration> |
| 338 | <dumpOnExit>true</dumpOnExit> |
| 339 | <includes> |
| 340 | <include>org.openecomp.*</include> |
| 341 | </includes> |
| 342 | </configuration> |
| 343 | <executions> |
| 344 | <execution> |
| 345 | <id>jacoco-initialize-unit-tests</id> |
| 346 | <goals> |
| 347 | <goal>prepare-agent</goal> |
| 348 | </goals> |
| 349 | <configuration> |
| 350 | <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile> |
| 351 | </configuration> |
| 352 | </execution> |
| 353 | </executions> |
| 354 | </plugin> |
| 355 | </plugins> |
| 356 | </pluginManagement> |
| 357 | </build> |
Pamela Dragosh | b67f417 | 2017-04-10 10:24:23 -0400 | [diff] [blame] | 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> |
| 378 | |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 379 | </project> |