Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 3 | <modelVersion>4.0.0</modelVersion> |
| 4 | |
Guo Ruijing | e938284 | 2017-08-03 11:44:10 +0000 | [diff] [blame] | 5 | <parent> |
| 6 | <groupId>org.onap.oparent</groupId> |
| 7 | <artifactId>oparent</artifactId> |
| 8 | <version>1.0.0-SNAPSHOT</version> |
| 9 | <relativePath/> |
| 10 | </parent> |
| 11 | |
Guo Ruijing | 073cc18 | 2017-07-31 08:47:35 +0000 | [diff] [blame] | 12 | <groupId>org.onap.policy.engine</groupId> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 13 | <artifactId>PolicyEngineSuite</artifactId> |
Pamela Dragosh | 3234eb0 | 2017-03-10 14:54:53 -0500 | [diff] [blame] | 14 | <version>1.1.0-SNAPSHOT</version> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 15 | <packaging>pom</packaging> |
Pamela Dragosh | 5444e74 | 2017-04-28 10:51:41 -0400 | [diff] [blame] | 16 | <name>Policy Engine - Policy Engine Suite</name> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 17 | |
Guo Ruijing | 073cc18 | 2017-07-31 08:47:35 +0000 | [diff] [blame] | 18 | <description>The ONAP Policy Engine main pom</description> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 19 | |
| 20 | <properties> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 21 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 22 | |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 23 | <jetty.plugin.version>9.2.3.v20140905</jetty.plugin.version> |
| 24 | <project.source.version>1.8</project.source.version> |
| 25 | <project.target.version>1.8</project.target.version> |
| 26 | <project.encoding>UTF-8</project.encoding> |
ITSERVICES\cr056n | 29596e4 | 2017-08-14 09:46:27 -0700 | [diff] [blame] | 27 | |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 28 | <sonar.language>java</sonar.language> |
| 29 | <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> |
| 30 | <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> |
| 31 | <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath> |
| 32 | <sonar.jacoco.itReportPath>/opt/app/policy/it-results/jacoco-it.exec</sonar.jacoco.itReportPath> |
| 33 | <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero> |
| 34 | <sonar.projectVersion>${project.version}</sonar.projectVersion> |
Pamela Dragosh | 3234eb0 | 2017-03-10 14:54:53 -0500 | [diff] [blame] | 35 | <common-modules.version>1.1.0-SNAPSHOT</common-modules.version> |
Pamela Dragosh | ae8d775 | 2017-03-30 09:35:18 -0400 | [diff] [blame] | 36 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
Pamela Dragosh | e1dcfc5 | 2017-04-06 11:06:34 -0400 | [diff] [blame] | 37 | <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath> |
Anaël Closson | 98fe6d8 | 2017-04-12 11:10:10 +0200 | [diff] [blame] | 38 | <releases.path>content/repositories/releases/</releases.path> |
| 39 | <snapshots.path>content/repositories/snapshots/</snapshots.path> |
| 40 | <staging.path>content/repositories/staging/</staging.path> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 41 | </properties> |
| 42 | |
| 43 | |
| 44 | <modules> |
ITSERVICES\rb7147 | e0addf5 | 2017-04-25 11:46:00 -0400 | [diff] [blame] | 45 | <module>PolicyEngineUtils</module> |
Guo Ruijing | 073cc18 | 2017-07-31 08:47:35 +0000 | [diff] [blame] | 46 | <module>ONAP-XACML</module> |
| 47 | <module>ONAP-REST</module> |
ITSERVICES\rb7147 | e0addf5 | 2017-04-25 11:46:00 -0400 | [diff] [blame] | 48 | <module>PolicyEngineAPI</module> |
Guo Ruijing | 073cc18 | 2017-07-31 08:47:35 +0000 | [diff] [blame] | 49 | <module>ONAP-PDP</module> |
| 50 | <module>ONAP-PDP-REST</module> |
| 51 | <module>ONAP-PAP-REST</module> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 52 | <module>LogParser</module> |
| 53 | <module>PolicyEngineClient</module> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 54 | <module>BRMSGateway</module> |
ITSERVICES\rb7147 | e0addf5 | 2017-04-25 11:46:00 -0400 | [diff] [blame] | 55 | <module>POLICY-SDK-APP</module> |
Guo Ruijing | 073cc18 | 2017-07-31 08:47:35 +0000 | [diff] [blame] | 56 | <module>ONAP-SDK-APP</module> |
Pamela Dragosh | c293854 | 2017-02-20 16:30:10 -0500 | [diff] [blame] | 57 | <module>packages</module> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 58 | </modules> |
| 59 | |
Pamela Dragosh | 2a66a1b | 2017-02-15 15:33:14 -0500 | [diff] [blame] | 60 | <distributionManagement> |
| 61 | <repository> |
| 62 | <id>ecomp-releases</id> |
Guo Ruijing | 073cc18 | 2017-07-31 08:47:35 +0000 | [diff] [blame] | 63 | <name>ONAP Release Repository</name> |
Anaël Closson | 98fe6d8 | 2017-04-12 11:10:10 +0200 | [diff] [blame] | 64 | <url>${nexusproxy}/${releases.path}</url> |
Pamela Dragosh | 2a66a1b | 2017-02-15 15:33:14 -0500 | [diff] [blame] | 65 | </repository> |
| 66 | <snapshotRepository> |
| 67 | <id>ecomp-snapshots</id> |
Guo Ruijing | 073cc18 | 2017-07-31 08:47:35 +0000 | [diff] [blame] | 68 | <name>ONAP Snapshot Repository</name> |
Anaël Closson | 98fe6d8 | 2017-04-12 11:10:10 +0200 | [diff] [blame] | 69 | <url>${nexusproxy}/${snapshots.path}</url> |
Pamela Dragosh | 2a66a1b | 2017-02-15 15:33:14 -0500 | [diff] [blame] | 70 | </snapshotRepository> |
Pamela Dragosh | 0cd5435 | 2017-04-03 10:51:20 -0400 | [diff] [blame] | 71 | <site> |
| 72 | <id>ecomp-site</id> |
| 73 | <url>dav:${nexusproxy}${sitePath}</url> |
| 74 | </site> |
Pamela Dragosh | 2a66a1b | 2017-02-15 15:33:14 -0500 | [diff] [blame] | 75 | </distributionManagement> |
| 76 | |
Pamela Dragosh | 0cd5435 | 2017-04-03 10:51:20 -0400 | [diff] [blame] | 77 | <reporting> |
| 78 | <plugins> |
| 79 | <plugin> |
| 80 | <groupId>org.apache.maven.plugins</groupId> |
| 81 | <artifactId>maven-javadoc-plugin</artifactId> |
| 82 | <version>2.10.4</version> |
| 83 | <configuration> |
| 84 | <failOnError>false</failOnError> |
| 85 | <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet> |
| 86 | <docletArtifact> |
| 87 | <groupId>org.umlgraph</groupId> |
| 88 | <artifactId>umlgraph</artifactId> |
| 89 | <version>5.6</version> |
| 90 | </docletArtifact> |
| 91 | <additionalparam>-views</additionalparam> |
| 92 | <useStandardDocletOptions>true</useStandardDocletOptions> |
| 93 | </configuration> |
| 94 | </plugin> |
| 95 | </plugins> |
| 96 | </reporting> |
| 97 | |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 98 | <dependencies> |
| 99 | |
| 100 | <dependency> |
| 101 | <groupId>javax.servlet</groupId> |
| 102 | <artifactId>javax.servlet-api</artifactId> |
ITSERVICES\rb7147 | e0addf5 | 2017-04-25 11:46:00 -0400 | [diff] [blame] | 103 | <version>3.1.0</version> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 104 | </dependency> |
| 105 | <dependency> |
| 106 | <!-- org.w3c.dom dependencies --> |
| 107 | <groupId>xml-apis</groupId> |
| 108 | <artifactId>xml-apis</artifactId> |
| 109 | <version>1.3.03</version> |
| 110 | </dependency> |
| 111 | </dependencies> |
| 112 | |
| 113 | <build> |
| 114 | <plugins> |
| 115 | <plugin> |
Pamela Dragosh | 6a65705 | 2017-02-17 15:41:18 -0500 | [diff] [blame] | 116 | <groupId>org.sonatype.plugins</groupId> |
| 117 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 118 | <version>1.6.7</version> |
| 119 | <extensions>true</extensions> |
| 120 | <configuration> |
| 121 | <nexusUrl>${nexusproxy}</nexusUrl> |
| 122 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
Pamela Dragosh | 5497a61 | 2017-07-31 21:30:18 -0400 | [diff] [blame] | 123 | <serverId>ecomp-staging</serverId> |
Pamela Dragosh | 6a65705 | 2017-02-17 15:41:18 -0500 | [diff] [blame] | 124 | </configuration> |
| 125 | </plugin> |
| 126 | <plugin> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 127 | <groupId>org.apache.maven.plugins</groupId> |
| 128 | <artifactId>maven-deploy-plugin</artifactId> |
| 129 | <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter --> |
Pamela Dragosh | 6a65705 | 2017-02-17 15:41:18 -0500 | [diff] [blame] | 130 | <configuration> |
| 131 | <skip /> |
| 132 | </configuration> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 133 | </plugin> |
| 134 | <plugin> |
| 135 | <groupId>org.apache.maven.plugins</groupId> |
| 136 | <artifactId>maven-surefire-plugin</artifactId> |
| 137 | <version>2.19.1</version> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 138 | </plugin> |
| 139 | <plugin> |
| 140 | <groupId>org.apache.maven.plugins</groupId> |
| 141 | <artifactId>maven-clean-plugin</artifactId> |
| 142 | <version>2.4.1</version> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 143 | </plugin> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 144 | <plugin> |
| 145 | <groupId>org.apache.maven.plugins</groupId> |
| 146 | <artifactId>maven-compiler-plugin</artifactId> |
| 147 | <version>3.0</version> |
| 148 | <configuration> |
| 149 | <encoding>${project.encoding}</encoding> |
| 150 | <source>${project.source.version}</source> |
| 151 | <target>${project.target.version}</target> |
| 152 | </configuration> |
| 153 | </plugin> |
| 154 | <plugin> |
| 155 | <groupId>org.apache.maven.plugins</groupId> |
| 156 | <artifactId>maven-resources-plugin</artifactId> |
| 157 | <version>2.6</version> |
| 158 | <configuration> |
| 159 | <encoding>${project.encoding}</encoding> |
| 160 | </configuration> |
| 161 | </plugin> |
| 162 | <plugin> |
| 163 | <groupId>org.apache.maven.plugins</groupId> |
| 164 | <artifactId>maven-war-plugin</artifactId> |
| 165 | <version>2.3</version> |
| 166 | <configuration> |
| 167 | <failOnMissingWebXml>false</failOnMissingWebXml> |
| 168 | </configuration> |
| 169 | </plugin> |
ITSERVICES\cr056n | 29596e4 | 2017-08-14 09:46:27 -0700 | [diff] [blame] | 170 | <!-- The Jetty plugin allows us to easily test the development build by |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 171 | running jetty:run on the command line. --> |
| 172 | |
| 173 | <plugin> |
| 174 | <groupId>org.eclipse.jetty</groupId> |
| 175 | <artifactId>jetty-maven-plugin</artifactId> |
| 176 | <version>${jetty.plugin.version}</version> |
| 177 | <configuration> |
| 178 | <scanIntervalSeconds>2</scanIntervalSeconds> |
| 179 | </configuration> |
| 180 | </plugin> |
| 181 | <plugin> |
| 182 | <groupId>com.fortify.ps.maven.plugin</groupId> |
| 183 | <artifactId>sca-maven-plugin</artifactId> |
| 184 | <version>4.20</version> |
| 185 | </plugin> |
| 186 | <plugin> |
| 187 | <groupId>org.jacoco</groupId> |
| 188 | <artifactId>jacoco-maven-plugin</artifactId> |
Ravindra Bakkamanthala | d9007d6 | 2017-05-31 15:54:24 -0400 | [diff] [blame] | 189 | <version>0.7.6.201602180812</version> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 190 | <configuration> |
| 191 | <dumpOnExit>true</dumpOnExit> |
| 192 | <includes> |
Guo Ruijing | 073cc18 | 2017-07-31 08:47:35 +0000 | [diff] [blame] | 193 | <include>org.onap.*</include> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 194 | </includes> |
| 195 | </configuration> |
| 196 | <executions> |
| 197 | <execution> |
| 198 | <id>jacoco-initialize-unit-tests</id> |
| 199 | <goals> |
| 200 | <goal>prepare-agent</goal> |
| 201 | </goals> |
| 202 | <configuration> |
| 203 | <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile> |
| 204 | </configuration> |
| 205 | </execution> |
| 206 | </executions> |
| 207 | </plugin> |
Pamela Dragosh | 0cd5435 | 2017-04-03 10:51:20 -0400 | [diff] [blame] | 208 | <plugin> |
| 209 | <groupId>org.apache.maven.plugins</groupId> |
| 210 | <artifactId>maven-site-plugin</artifactId> |
| 211 | <version>3.6</version> |
| 212 | <dependencies> |
| 213 | <dependency> |
| 214 | <groupId>org.apache.maven.wagon</groupId> |
| 215 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
| 216 | <version>2.10</version> |
| 217 | </dependency> |
| 218 | </dependencies> |
| 219 | </plugin> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 220 | </plugins> |
Pamela Dragosh | 40aef4f | 2017-08-14 13:53:06 -0400 | [diff] [blame] | 221 | <pluginManagement> |
| 222 | <plugins> |
| 223 | <plugin> |
| 224 | <groupId>org.eclipse.m2e</groupId> |
| 225 | <artifactId>lifecycle-mapping</artifactId> |
| 226 | <version>1.0.0</version> |
| 227 | <configuration> |
| 228 | <lifecycleMappingMetadata> |
| 229 | <pluginExecutions> |
| 230 | <pluginExecution> |
| 231 | <pluginExecutionFilter> |
| 232 | <groupId>org.apache.maven.plugins</groupId> |
| 233 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 234 | <versionRange>2.17,)</versionRange> |
| 235 | <goals> |
| 236 | <goal>check</goal> |
| 237 | </goals> |
| 238 | </pluginExecutionFilter> |
| 239 | <action> |
| 240 | <ignore /> |
| 241 | </action> |
| 242 | </pluginExecution> |
| 243 | </pluginExecutions> |
| 244 | </lifecycleMappingMetadata> |
| 245 | </configuration> |
| 246 | </plugin> |
| 247 | </plugins> |
| 248 | </pluginManagement> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 249 | </build> |
| 250 | </project> |