Pamela Dragosh | bcdb1e1 | 2018-02-07 15:41:30 -0500 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | ONAP Policy Engine |
| 4 | ================================================================================ |
| 5 | Copyright (C) 2017-2018 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 | --> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 20 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 21 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 22 | <modelVersion>4.0.0</modelVersion> |
| 23 | |
Guo Ruijing | e938284 | 2017-08-03 11:44:10 +0000 | [diff] [blame] | 24 | <parent> |
| 25 | <groupId>org.onap.oparent</groupId> |
| 26 | <artifactId>oparent</artifactId> |
Pamela Dragosh | 871db38 | 2017-09-21 11:06:17 -0400 | [diff] [blame] | 27 | <version>0.1.1</version> |
Guo Ruijing | e938284 | 2017-08-03 11:44:10 +0000 | [diff] [blame] | 28 | <relativePath/> |
| 29 | </parent> |
| 30 | |
Guo Ruijing | 073cc18 | 2017-07-31 08:47:35 +0000 | [diff] [blame] | 31 | <groupId>org.onap.policy.engine</groupId> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 32 | <artifactId>PolicyEngineSuite</artifactId> |
Jessica Wagantall | db597fe | 2017-11-18 18:50:29 -0800 | [diff] [blame] | 33 | <version>1.2.0-SNAPSHOT</version> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 34 | <packaging>pom</packaging> |
Jessica Wagantall | 9440ed7 | 2017-09-08 14:55:14 -0700 | [diff] [blame] | 35 | <name>policy-engine</name> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 36 | |
Guo Ruijing | 073cc18 | 2017-07-31 08:47:35 +0000 | [diff] [blame] | 37 | <description>The ONAP Policy Engine main pom</description> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 38 | |
| 39 | <properties> |
Pamela Dragosh | eb6547d | 2018-02-16 11:18:09 -0500 | [diff] [blame] | 40 | <!-- Project common build settings --> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 41 | <project.source.version>1.8</project.source.version> |
| 42 | <project.target.version>1.8</project.target.version> |
| 43 | <project.encoding>UTF-8</project.encoding> |
Pamela Dragosh | eb6547d | 2018-02-16 11:18:09 -0500 | [diff] [blame] | 44 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 45 | <!-- Project path properties --> |
Pamela Dragosh | ae8d775 | 2017-03-30 09:35:18 -0400 | [diff] [blame] | 46 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
Pamela Dragosh | e1dcfc5 | 2017-04-06 11:06:34 -0400 | [diff] [blame] | 47 | <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath> |
Anaël Closson | 98fe6d8 | 2017-04-12 11:10:10 +0200 | [diff] [blame] | 48 | <releases.path>content/repositories/releases/</releases.path> |
| 49 | <snapshots.path>content/repositories/snapshots/</snapshots.path> |
| 50 | <staging.path>content/repositories/staging/</staging.path> |
Pamela Dragosh | eb6547d | 2018-02-16 11:18:09 -0500 | [diff] [blame] | 51 | |
| 52 | <!-- sonar/jacoco overrides --> |
| 53 | <!-- Overriding oparent default sonar/jacoco settings Combine all our reports |
| 54 | into one file shared across sub-modules --> |
| 55 | <sonar.jacoco.reportPath>${project.basedir}/../target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath> |
| 56 | <sonar.jacoco.itReportPath>${project.basedir}/../target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath> |
| 57 | <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis> |
| 58 | |
Pamela Dragosh | b2c2186 | 2018-02-20 13:36:48 -0500 | [diff] [blame] | 59 | <!-- |
| 60 | Shared between policy/* project repositories - same version |
| 61 | --> |
| 62 | <h2.version>1.4.186</h2.version> |
| 63 | |
| 64 | <!-- |
| 65 | Shared between policy/* project repositories - different version |
| 66 | --> |
| 67 | |
Pamela Dragosh | eb6547d | 2018-02-16 11:18:09 -0500 | [diff] [blame] | 68 | <!-- Project common dependency versions --> |
| 69 | <jetty.plugin.version>9.2.3.v20140905</jetty.plugin.version> |
Magnusen, Drew (dm741q) | 4d82018 | 2017-11-21 12:03:01 -0600 | [diff] [blame] | 70 | <dmaap.version>1.0.0</dmaap.version> |
Pamela Dragosh | bcdb1e1 | 2018-02-07 15:41:30 -0500 | [diff] [blame] | 71 | <httpclient.version>4.5.5</httpclient.version> |
Pamela Dragosh | 82640b2 | 2018-02-08 11:09:31 -0500 | [diff] [blame] | 72 | <jackson.version>2.9.4</jackson.version> |
Pamela Dragosh | bcdb1e1 | 2018-02-07 15:41:30 -0500 | [diff] [blame] | 73 | <commons.fileupload.version>1.3.3</commons.fileupload.version> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 74 | </properties> |
| 75 | |
| 76 | |
| 77 | <modules> |
ITSERVICES\rb7147 | e0addf5 | 2017-04-25 11:46:00 -0400 | [diff] [blame] | 78 | <module>PolicyEngineUtils</module> |
Guo Ruijing | 073cc18 | 2017-07-31 08:47:35 +0000 | [diff] [blame] | 79 | <module>ONAP-XACML</module> |
| 80 | <module>ONAP-REST</module> |
ITSERVICES\rb7147 | e0addf5 | 2017-04-25 11:46:00 -0400 | [diff] [blame] | 81 | <module>PolicyEngineAPI</module> |
Guo Ruijing | 073cc18 | 2017-07-31 08:47:35 +0000 | [diff] [blame] | 82 | <module>ONAP-PDP</module> |
| 83 | <module>ONAP-PDP-REST</module> |
| 84 | <module>ONAP-PAP-REST</module> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 85 | <module>LogParser</module> |
| 86 | <module>PolicyEngineClient</module> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 87 | <module>BRMSGateway</module> |
ITSERVICES\rb7147 | e0addf5 | 2017-04-25 11:46:00 -0400 | [diff] [blame] | 88 | <module>POLICY-SDK-APP</module> |
Guo Ruijing | 073cc18 | 2017-07-31 08:47:35 +0000 | [diff] [blame] | 89 | <module>ONAP-SDK-APP</module> |
Pamela Dragosh | c293854 | 2017-02-20 16:30:10 -0500 | [diff] [blame] | 90 | <module>packages</module> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 91 | </modules> |
| 92 | |
Pamela Dragosh | 2a66a1b | 2017-02-15 15:33:14 -0500 | [diff] [blame] | 93 | <distributionManagement> |
| 94 | <repository> |
| 95 | <id>ecomp-releases</id> |
Guo Ruijing | 073cc18 | 2017-07-31 08:47:35 +0000 | [diff] [blame] | 96 | <name>ONAP Release Repository</name> |
Anaël Closson | 98fe6d8 | 2017-04-12 11:10:10 +0200 | [diff] [blame] | 97 | <url>${nexusproxy}/${releases.path}</url> |
Pamela Dragosh | 2a66a1b | 2017-02-15 15:33:14 -0500 | [diff] [blame] | 98 | </repository> |
| 99 | <snapshotRepository> |
| 100 | <id>ecomp-snapshots</id> |
Guo Ruijing | 073cc18 | 2017-07-31 08:47:35 +0000 | [diff] [blame] | 101 | <name>ONAP Snapshot Repository</name> |
Anaël Closson | 98fe6d8 | 2017-04-12 11:10:10 +0200 | [diff] [blame] | 102 | <url>${nexusproxy}/${snapshots.path}</url> |
Pamela Dragosh | 2a66a1b | 2017-02-15 15:33:14 -0500 | [diff] [blame] | 103 | </snapshotRepository> |
Pamela Dragosh | 0cd5435 | 2017-04-03 10:51:20 -0400 | [diff] [blame] | 104 | <site> |
| 105 | <id>ecomp-site</id> |
| 106 | <url>dav:${nexusproxy}${sitePath}</url> |
| 107 | </site> |
Pamela Dragosh | 2a66a1b | 2017-02-15 15:33:14 -0500 | [diff] [blame] | 108 | </distributionManagement> |
| 109 | |
Pamela Dragosh | ff666e3 | 2017-11-10 20:40:14 -0500 | [diff] [blame] | 110 | <repositories> |
| 111 | <!-- LF repositories --> |
| 112 | <repository> |
| 113 | <id>ecomp-releases</id> |
| 114 | <name>Release Repository</name> |
| 115 | <url>${nexusproxy}/content/repositories/releases/</url> |
| 116 | </repository> |
| 117 | <repository> |
| 118 | <id>ecomp-staging</id> |
| 119 | <name>Staging Repository</name> |
| 120 | <url>${nexusproxy}/content/repositories/staging/</url> |
| 121 | </repository> |
| 122 | <repository> |
| 123 | <id>ecomp-snapshots</id> |
| 124 | <name>Snapshots Repository</name> |
| 125 | <url>${nexusproxy}/content/repositories/snapshots/</url> |
| 126 | </repository> |
| 127 | <repository> |
| 128 | <id>ecomp-public</id> |
| 129 | <name>Public Repository</name> |
| 130 | <url>${nexusproxy}/content/repositories/public/</url> |
| 131 | </repository> |
| 132 | <!-- LF repositories END--> |
| 133 | </repositories> |
| 134 | |
Pamela Dragosh | 0cd5435 | 2017-04-03 10:51:20 -0400 | [diff] [blame] | 135 | <reporting> |
| 136 | <plugins> |
| 137 | <plugin> |
| 138 | <groupId>org.apache.maven.plugins</groupId> |
| 139 | <artifactId>maven-javadoc-plugin</artifactId> |
| 140 | <version>2.10.4</version> |
| 141 | <configuration> |
| 142 | <failOnError>false</failOnError> |
| 143 | <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet> |
| 144 | <docletArtifact> |
| 145 | <groupId>org.umlgraph</groupId> |
| 146 | <artifactId>umlgraph</artifactId> |
| 147 | <version>5.6</version> |
| 148 | </docletArtifact> |
| 149 | <additionalparam>-views</additionalparam> |
| 150 | <useStandardDocletOptions>true</useStandardDocletOptions> |
| 151 | </configuration> |
| 152 | </plugin> |
| 153 | </plugins> |
| 154 | </reporting> |
| 155 | |
Pamela Dragosh | b2c2186 | 2018-02-20 13:36:48 -0500 | [diff] [blame] | 156 | <dependencyManagement> |
| 157 | <dependencies> |
| 158 | <dependency> |
| 159 | <groupId>com.h2database</groupId> |
| 160 | <artifactId>h2</artifactId> |
| 161 | <version>${h2.version}</version> |
| 162 | <scope>test</scope> |
| 163 | </dependency> |
| 164 | </dependencies> |
| 165 | </dependencyManagement> |
| 166 | |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 167 | <dependencies> |
| 168 | |
| 169 | <dependency> |
| 170 | <groupId>javax.servlet</groupId> |
| 171 | <artifactId>javax.servlet-api</artifactId> |
ITSERVICES\rb7147 | e0addf5 | 2017-04-25 11:46:00 -0400 | [diff] [blame] | 172 | <version>3.1.0</version> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 173 | </dependency> |
| 174 | <dependency> |
| 175 | <!-- org.w3c.dom dependencies --> |
| 176 | <groupId>xml-apis</groupId> |
| 177 | <artifactId>xml-apis</artifactId> |
| 178 | <version>1.3.03</version> |
| 179 | </dependency> |
| 180 | </dependencies> |
| 181 | |
| 182 | <build> |
| 183 | <plugins> |
| 184 | <plugin> |
Pamela Dragosh | eb6547d | 2018-02-16 11:18:09 -0500 | [diff] [blame] | 185 | <groupId>org.jacoco</groupId> |
| 186 | <artifactId>jacoco-maven-plugin</artifactId> |
| 187 | <executions> |
| 188 | <execution> |
| 189 | <id>pre-unit-test</id> |
| 190 | <goals> |
| 191 | <goal>prepare-agent</goal> |
| 192 | </goals> |
| 193 | <configuration> |
| 194 | <destFile>${sonar.jacoco.reportPath}</destFile> |
| 195 | <append>true</append> |
| 196 | </configuration> |
| 197 | </execution> |
| 198 | <execution> |
| 199 | <id>post-unit-test</id> |
| 200 | <phase>test</phase> |
| 201 | <goals> |
| 202 | <goal>report</goal> |
| 203 | </goals> |
| 204 | <configuration> |
| 205 | <dataFile>${sonar.jacoco.reportPath}</dataFile> |
| 206 | </configuration> |
| 207 | </execution> |
| 208 | </executions> |
| 209 | </plugin> |
| 210 | <plugin> |
Pamela Dragosh | 6a65705 | 2017-02-17 15:41:18 -0500 | [diff] [blame] | 211 | <groupId>org.sonatype.plugins</groupId> |
| 212 | <artifactId>nexus-staging-maven-plugin</artifactId> |
Pamela Dragosh | 6a65705 | 2017-02-17 15:41:18 -0500 | [diff] [blame] | 213 | <extensions>true</extensions> |
| 214 | <configuration> |
| 215 | <nexusUrl>${nexusproxy}</nexusUrl> |
| 216 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
Pamela Dragosh | 5497a61 | 2017-07-31 21:30:18 -0400 | [diff] [blame] | 217 | <serverId>ecomp-staging</serverId> |
Pamela Dragosh | 6a65705 | 2017-02-17 15:41:18 -0500 | [diff] [blame] | 218 | </configuration> |
| 219 | </plugin> |
| 220 | <plugin> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 221 | <groupId>org.apache.maven.plugins</groupId> |
| 222 | <artifactId>maven-deploy-plugin</artifactId> |
Pamela Dragosh | 6a65705 | 2017-02-17 15:41:18 -0500 | [diff] [blame] | 223 | <configuration> |
| 224 | <skip /> |
| 225 | </configuration> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 226 | </plugin> |
| 227 | <plugin> |
| 228 | <groupId>org.apache.maven.plugins</groupId> |
| 229 | <artifactId>maven-surefire-plugin</artifactId> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 230 | </plugin> |
| 231 | <plugin> |
| 232 | <groupId>org.apache.maven.plugins</groupId> |
| 233 | <artifactId>maven-clean-plugin</artifactId> |
| 234 | <version>2.4.1</version> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 235 | </plugin> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 236 | <plugin> |
| 237 | <groupId>org.apache.maven.plugins</groupId> |
| 238 | <artifactId>maven-compiler-plugin</artifactId> |
| 239 | <version>3.0</version> |
| 240 | <configuration> |
| 241 | <encoding>${project.encoding}</encoding> |
| 242 | <source>${project.source.version}</source> |
| 243 | <target>${project.target.version}</target> |
| 244 | </configuration> |
| 245 | </plugin> |
| 246 | <plugin> |
| 247 | <groupId>org.apache.maven.plugins</groupId> |
| 248 | <artifactId>maven-resources-plugin</artifactId> |
| 249 | <version>2.6</version> |
| 250 | <configuration> |
| 251 | <encoding>${project.encoding}</encoding> |
| 252 | </configuration> |
| 253 | </plugin> |
| 254 | <plugin> |
| 255 | <groupId>org.apache.maven.plugins</groupId> |
| 256 | <artifactId>maven-war-plugin</artifactId> |
| 257 | <version>2.3</version> |
| 258 | <configuration> |
| 259 | <failOnMissingWebXml>false</failOnMissingWebXml> |
| 260 | </configuration> |
| 261 | </plugin> |
ITSERVICES\cr056n | 29596e4 | 2017-08-14 09:46:27 -0700 | [diff] [blame] | 262 | <!-- The Jetty plugin allows us to easily test the development build by |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 263 | running jetty:run on the command line. --> |
| 264 | |
| 265 | <plugin> |
| 266 | <groupId>org.eclipse.jetty</groupId> |
| 267 | <artifactId>jetty-maven-plugin</artifactId> |
| 268 | <version>${jetty.plugin.version}</version> |
| 269 | <configuration> |
| 270 | <scanIntervalSeconds>2</scanIntervalSeconds> |
| 271 | </configuration> |
| 272 | </plugin> |
| 273 | <plugin> |
| 274 | <groupId>com.fortify.ps.maven.plugin</groupId> |
| 275 | <artifactId>sca-maven-plugin</artifactId> |
| 276 | <version>4.20</version> |
| 277 | </plugin> |
| 278 | <plugin> |
Pamela Dragosh | 0cd5435 | 2017-04-03 10:51:20 -0400 | [diff] [blame] | 279 | <groupId>org.apache.maven.plugins</groupId> |
| 280 | <artifactId>maven-site-plugin</artifactId> |
Pamela Dragosh | 0cd5435 | 2017-04-03 10:51:20 -0400 | [diff] [blame] | 281 | <dependencies> |
| 282 | <dependency> |
| 283 | <groupId>org.apache.maven.wagon</groupId> |
| 284 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
| 285 | <version>2.10</version> |
| 286 | </dependency> |
| 287 | </dependencies> |
| 288 | </plugin> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 289 | </plugins> |
Pamela Dragosh | 40aef4f | 2017-08-14 13:53:06 -0400 | [diff] [blame] | 290 | <pluginManagement> |
| 291 | <plugins> |
Pamela Dragosh | eb6547d | 2018-02-16 11:18:09 -0500 | [diff] [blame] | 292 | <plugin> |
| 293 | <groupId>org.jacoco</groupId> |
| 294 | <artifactId>jacoco-maven-plugin</artifactId> |
| 295 | <version>${jacoco.version}</version> |
| 296 | <configuration> |
| 297 | <!-- Note: This exclusion list should match <sonar.exclusions> property |
| 298 | above --> |
| 299 | <excludes> |
| 300 | <exclude>**/gen/**</exclude> |
| 301 | <exclude>**/generated-sources/**</exclude> |
| 302 | <exclude>**/yang-gen/**</exclude> |
| 303 | <exclude>**/pax/**</exclude> |
| 304 | </excludes> |
| 305 | </configuration> |
| 306 | <executions> |
| 307 | <!-- Prepares the property pointing to the JaCoCo runtime agent which |
| 308 | is passed as VM argument when Maven the Surefire plugin is executed. --> |
| 309 | <execution> |
| 310 | <id>pre-unit-test</id> |
| 311 | <goals> |
| 312 | <goal>prepare-agent</goal> |
| 313 | </goals> |
| 314 | <configuration> |
| 315 | <destFile>${sonar.jacoco.reportPath}</destFile> |
| 316 | </configuration> |
| 317 | </execution> |
| 318 | <!-- Ensures that the code coverage report for unit tests is created |
| 319 | after unit tests have been run. --> |
| 320 | <execution> |
| 321 | <id>post-unit-test</id> |
| 322 | <phase>test</phase> |
| 323 | <goals> |
| 324 | <goal>report</goal> |
| 325 | </goals> |
| 326 | <configuration> |
| 327 | <dataFile>${sonar.jacoco.reportPath}</dataFile> |
| 328 | </configuration> |
| 329 | </execution> |
| 330 | </executions> |
| 331 | </plugin> |
Pamela Dragosh | 40aef4f | 2017-08-14 13:53:06 -0400 | [diff] [blame] | 332 | <plugin> |
| 333 | <groupId>org.eclipse.m2e</groupId> |
| 334 | <artifactId>lifecycle-mapping</artifactId> |
| 335 | <version>1.0.0</version> |
| 336 | <configuration> |
| 337 | <lifecycleMappingMetadata> |
| 338 | <pluginExecutions> |
| 339 | <pluginExecution> |
| 340 | <pluginExecutionFilter> |
| 341 | <groupId>org.apache.maven.plugins</groupId> |
| 342 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 343 | <versionRange>2.17,)</versionRange> |
| 344 | <goals> |
| 345 | <goal>check</goal> |
| 346 | </goals> |
| 347 | </pluginExecutionFilter> |
| 348 | <action> |
| 349 | <ignore /> |
| 350 | </action> |
| 351 | </pluginExecution> |
| 352 | </pluginExecutions> |
| 353 | </lifecycleMappingMetadata> |
| 354 | </configuration> |
| 355 | </plugin> |
| 356 | </plugins> |
| 357 | </pluginManagement> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 358 | </build> |
| 359 | </project> |