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 | 073cc18 | 2017-07-31 08:47:35 +0000 | [diff] [blame^] | 5 | <groupId>org.onap.policy.engine</groupId> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 6 | <artifactId>PolicyEngineSuite</artifactId> |
Pamela Dragosh | 3234eb0 | 2017-03-10 14:54:53 -0500 | [diff] [blame] | 7 | <version>1.1.0-SNAPSHOT</version> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 8 | <packaging>pom</packaging> |
Pamela Dragosh | 5444e74 | 2017-04-28 10:51:41 -0400 | [diff] [blame] | 9 | <name>Policy Engine - Policy Engine Suite</name> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 10 | |
Guo Ruijing | 073cc18 | 2017-07-31 08:47:35 +0000 | [diff] [blame^] | 11 | <description>The ONAP Policy Engine main pom</description> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 12 | |
| 13 | <properties> |
| 14 | <maven.compiler.source>1.8</maven.compiler.source> |
| 15 | <maven.compiler.target>1.8</maven.compiler.target> |
| 16 | |
| 17 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 18 | |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 19 | <jetty.plugin.version>9.2.3.v20140905</jetty.plugin.version> |
| 20 | <project.source.version>1.8</project.source.version> |
| 21 | <project.target.version>1.8</project.target.version> |
| 22 | <project.encoding>UTF-8</project.encoding> |
Ravindra Bakkamanthala | d9007d6 | 2017-05-31 15:54:24 -0400 | [diff] [blame] | 23 | |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 24 | <sonar.language>java</sonar.language> |
| 25 | <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> |
| 26 | <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> |
| 27 | <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath> |
| 28 | <sonar.jacoco.itReportPath>/opt/app/policy/it-results/jacoco-it.exec</sonar.jacoco.itReportPath> |
| 29 | <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero> |
| 30 | <sonar.projectVersion>${project.version}</sonar.projectVersion> |
Pamela Dragosh | 3234eb0 | 2017-03-10 14:54:53 -0500 | [diff] [blame] | 31 | <common-modules.version>1.1.0-SNAPSHOT</common-modules.version> |
Pamela Dragosh | ae8d775 | 2017-03-30 09:35:18 -0400 | [diff] [blame] | 32 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
Pamela Dragosh | e1dcfc5 | 2017-04-06 11:06:34 -0400 | [diff] [blame] | 33 | <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath> |
Anaël Closson | 98fe6d8 | 2017-04-12 11:10:10 +0200 | [diff] [blame] | 34 | <releases.path>content/repositories/releases/</releases.path> |
| 35 | <snapshots.path>content/repositories/snapshots/</snapshots.path> |
| 36 | <staging.path>content/repositories/staging/</staging.path> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 37 | </properties> |
| 38 | |
| 39 | |
| 40 | <modules> |
ITSERVICES\rb7147 | e0addf5 | 2017-04-25 11:46:00 -0400 | [diff] [blame] | 41 | <module>PolicyEngineUtils</module> |
Guo Ruijing | 073cc18 | 2017-07-31 08:47:35 +0000 | [diff] [blame^] | 42 | <module>ONAP-XACML</module> |
| 43 | <module>ONAP-REST</module> |
| 44 | <module>ONAP-ASDC</module> |
| 45 | <module>ONAP-ControlloopPolicy</module> |
ITSERVICES\rb7147 | e0addf5 | 2017-04-25 11:46:00 -0400 | [diff] [blame] | 46 | <module>PolicyEngineAPI</module> |
Guo Ruijing | 073cc18 | 2017-07-31 08:47:35 +0000 | [diff] [blame^] | 47 | <module>ONAP-PDP</module> |
| 48 | <module>ONAP-PDP-REST</module> |
| 49 | <module>ONAP-PAP-REST</module> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 50 | <module>LogParser</module> |
| 51 | <module>PolicyEngineClient</module> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 52 | <module>BRMSGateway</module> |
ITSERVICES\rb7147 | e0addf5 | 2017-04-25 11:46:00 -0400 | [diff] [blame] | 53 | <module>POLICY-SDK-APP</module> |
Guo Ruijing | 073cc18 | 2017-07-31 08:47:35 +0000 | [diff] [blame^] | 54 | <module>ONAP-SDK-APP</module> |
Pamela Dragosh | c293854 | 2017-02-20 16:30:10 -0500 | [diff] [blame] | 55 | <module>packages</module> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 56 | </modules> |
| 57 | |
| 58 | <repositories> |
| 59 | <repository> |
ITSERVICES\rb7147 | e0addf5 | 2017-04-25 11:46:00 -0400 | [diff] [blame] | 60 | <id>ecomp-snapshots</id> |
Guo Ruijing | 073cc18 | 2017-07-31 08:47:35 +0000 | [diff] [blame^] | 61 | <name>ONAP Snapshot Repository</name> |
ITSERVICES\rb7147 | e0addf5 | 2017-04-25 11:46:00 -0400 | [diff] [blame] | 62 | <url>${nexusproxy}/${snapshots.path}</url> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 63 | </repository> |
Pamela Dragosh | 2a66a1b | 2017-02-15 15:33:14 -0500 | [diff] [blame] | 64 | <repository> |
| 65 | <id>ecomp-releases</id> |
Guo Ruijing | 073cc18 | 2017-07-31 08:47:35 +0000 | [diff] [blame^] | 66 | <name>ONAP Release Repository</name> |
Anaël Closson | 98fe6d8 | 2017-04-12 11:10:10 +0200 | [diff] [blame] | 67 | <url>${nexusproxy}/${releases.path}/</url> |
Pamela Dragosh | 2a66a1b | 2017-02-15 15:33:14 -0500 | [diff] [blame] | 68 | </repository> |
| 69 | <repository> |
| 70 | <id>ecomp-staging</id> |
Guo Ruijing | 073cc18 | 2017-07-31 08:47:35 +0000 | [diff] [blame^] | 71 | <name>ONAP Staging Repository</name> |
Anaël Closson | 98fe6d8 | 2017-04-12 11:10:10 +0200 | [diff] [blame] | 72 | <url>${nexusproxy}/${staging.path}</url> |
Pamela Dragosh | 2a66a1b | 2017-02-15 15:33:14 -0500 | [diff] [blame] | 73 | </repository> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 74 | </repositories> |
| 75 | |
Pamela Dragosh | 2a66a1b | 2017-02-15 15:33:14 -0500 | [diff] [blame] | 76 | <distributionManagement> |
| 77 | <repository> |
| 78 | <id>ecomp-releases</id> |
Guo Ruijing | 073cc18 | 2017-07-31 08:47:35 +0000 | [diff] [blame^] | 79 | <name>ONAP Release Repository</name> |
Anaël Closson | 98fe6d8 | 2017-04-12 11:10:10 +0200 | [diff] [blame] | 80 | <url>${nexusproxy}/${releases.path}</url> |
Pamela Dragosh | 2a66a1b | 2017-02-15 15:33:14 -0500 | [diff] [blame] | 81 | </repository> |
| 82 | <snapshotRepository> |
| 83 | <id>ecomp-snapshots</id> |
Guo Ruijing | 073cc18 | 2017-07-31 08:47:35 +0000 | [diff] [blame^] | 84 | <name>ONAP Snapshot Repository</name> |
Anaël Closson | 98fe6d8 | 2017-04-12 11:10:10 +0200 | [diff] [blame] | 85 | <url>${nexusproxy}/${snapshots.path}</url> |
Pamela Dragosh | 2a66a1b | 2017-02-15 15:33:14 -0500 | [diff] [blame] | 86 | </snapshotRepository> |
Pamela Dragosh | 0cd5435 | 2017-04-03 10:51:20 -0400 | [diff] [blame] | 87 | <site> |
| 88 | <id>ecomp-site</id> |
| 89 | <url>dav:${nexusproxy}${sitePath}</url> |
| 90 | </site> |
Pamela Dragosh | 2a66a1b | 2017-02-15 15:33:14 -0500 | [diff] [blame] | 91 | </distributionManagement> |
| 92 | |
Pamela Dragosh | 0cd5435 | 2017-04-03 10:51:20 -0400 | [diff] [blame] | 93 | <reporting> |
| 94 | <plugins> |
| 95 | <plugin> |
| 96 | <groupId>org.apache.maven.plugins</groupId> |
| 97 | <artifactId>maven-javadoc-plugin</artifactId> |
| 98 | <version>2.10.4</version> |
| 99 | <configuration> |
| 100 | <failOnError>false</failOnError> |
| 101 | <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet> |
| 102 | <docletArtifact> |
| 103 | <groupId>org.umlgraph</groupId> |
| 104 | <artifactId>umlgraph</artifactId> |
| 105 | <version>5.6</version> |
| 106 | </docletArtifact> |
| 107 | <additionalparam>-views</additionalparam> |
| 108 | <useStandardDocletOptions>true</useStandardDocletOptions> |
| 109 | </configuration> |
| 110 | </plugin> |
| 111 | </plugins> |
| 112 | </reporting> |
| 113 | |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 114 | <dependencies> |
| 115 | |
| 116 | <dependency> |
| 117 | <groupId>javax.servlet</groupId> |
| 118 | <artifactId>javax.servlet-api</artifactId> |
ITSERVICES\rb7147 | e0addf5 | 2017-04-25 11:46:00 -0400 | [diff] [blame] | 119 | <version>3.1.0</version> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 120 | </dependency> |
| 121 | <dependency> |
| 122 | <!-- org.w3c.dom dependencies --> |
| 123 | <groupId>xml-apis</groupId> |
| 124 | <artifactId>xml-apis</artifactId> |
| 125 | <version>1.3.03</version> |
| 126 | </dependency> |
| 127 | </dependencies> |
| 128 | |
| 129 | <build> |
| 130 | <plugins> |
| 131 | <plugin> |
Pamela Dragosh | 6a65705 | 2017-02-17 15:41:18 -0500 | [diff] [blame] | 132 | <groupId>org.sonatype.plugins</groupId> |
| 133 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 134 | <version>1.6.7</version> |
| 135 | <extensions>true</extensions> |
| 136 | <configuration> |
| 137 | <nexusUrl>${nexusproxy}</nexusUrl> |
| 138 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
Guo Ruijing | 073cc18 | 2017-07-31 08:47:35 +0000 | [diff] [blame^] | 139 | <serverId>onap-staging</serverId> |
Pamela Dragosh | 6a65705 | 2017-02-17 15:41:18 -0500 | [diff] [blame] | 140 | </configuration> |
| 141 | </plugin> |
| 142 | <plugin> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 143 | <groupId>org.apache.maven.plugins</groupId> |
| 144 | <artifactId>maven-deploy-plugin</artifactId> |
| 145 | <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter --> |
Pamela Dragosh | 6a65705 | 2017-02-17 15:41:18 -0500 | [diff] [blame] | 146 | <configuration> |
| 147 | <skip /> |
| 148 | </configuration> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 149 | </plugin> |
| 150 | <plugin> |
| 151 | <groupId>org.apache.maven.plugins</groupId> |
| 152 | <artifactId>maven-surefire-plugin</artifactId> |
| 153 | <version>2.19.1</version> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 154 | </plugin> |
| 155 | <plugin> |
| 156 | <groupId>org.apache.maven.plugins</groupId> |
| 157 | <artifactId>maven-clean-plugin</artifactId> |
| 158 | <version>2.4.1</version> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 159 | </plugin> |
| 160 | <!-- license plugin Run mvn clean before running from the command line |
| 161 | mvn license:update-file-header --> |
| 162 | <plugin> |
| 163 | <groupId>org.codehaus.mojo</groupId> |
| 164 | <artifactId>license-maven-plugin</artifactId> |
| 165 | <version>1.9</version> |
| 166 | <configuration> |
| 167 | <extraExtensions> |
| 168 | <!-- Used to add or change the header style <fileTypeYouAreMapping> |
| 169 | fileTypeMappedInto </fileTypeYouAreMapping> --> |
| 170 | <drl>java</drl> |
| 171 | <ccf>properties</ccf> |
| 172 | |
| 173 | <!-- Because the typical sql comment type confuses the update algorithm --> |
| 174 | <sql>java</sql> |
| 175 | </extraExtensions> |
| 176 | <licenseName>apache_v2</licenseName> |
| 177 | |
| 178 | <inceptionYear>2017</inceptionYear> |
| 179 | <organizationName>AT&T Intellectual Property. All rights |
| 180 | reserved.</organizationName> |
| 181 | |
| 182 | <!-- Once you have established the tags and delimiter, they cannot be |
| 183 | changed --> |
| 184 | <processStartTag>============LICENSE_START=======================================================</processStartTag> |
| 185 | <processEndTag>============LICENSE_END=========================================================</processEndTag> |
| 186 | <sectionDelimiter>================================================================================</sectionDelimiter> |
| 187 | <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage> |
| 188 | <canUpdateCopyright>true</canUpdateCopyright> |
| 189 | <canUpdateDescription>true</canUpdateDescription> |
| 190 | <canUpdateLicense>true</canUpdateLicense> |
| 191 | <emptyLineAfterHeader>true</emptyLineAfterHeader> |
| 192 | <roots> |
| 193 | <!-- Default is src, target/generated-sources, target/processed-sources --> |
| 194 | |
| 195 | <!-- Everything except the files in the excludes section --> |
| 196 | <root>/</root> |
| 197 | </roots> |
| 198 | <excludes> |
| 199 | <!-- Files which are to be excluded. The pom.xml is excluded because |
| 200 | the start/end tags and the delimiters are in the body of the file. This confuses |
| 201 | the algorithm. So, this file must be manually updated with a license header. --> |
| 202 | <exclude>pom.xml</exclude> |
| 203 | </excludes> |
| 204 | </configuration> |
| 205 | </plugin> |
| 206 | <plugin> |
| 207 | <groupId>org.apache.maven.plugins</groupId> |
| 208 | <artifactId>maven-compiler-plugin</artifactId> |
| 209 | <version>3.0</version> |
| 210 | <configuration> |
| 211 | <encoding>${project.encoding}</encoding> |
| 212 | <source>${project.source.version}</source> |
| 213 | <target>${project.target.version}</target> |
| 214 | </configuration> |
| 215 | </plugin> |
| 216 | <plugin> |
| 217 | <groupId>org.apache.maven.plugins</groupId> |
| 218 | <artifactId>maven-resources-plugin</artifactId> |
| 219 | <version>2.6</version> |
| 220 | <configuration> |
| 221 | <encoding>${project.encoding}</encoding> |
| 222 | </configuration> |
| 223 | </plugin> |
| 224 | <plugin> |
| 225 | <groupId>org.apache.maven.plugins</groupId> |
| 226 | <artifactId>maven-war-plugin</artifactId> |
| 227 | <version>2.3</version> |
| 228 | <configuration> |
| 229 | <failOnMissingWebXml>false</failOnMissingWebXml> |
| 230 | </configuration> |
| 231 | </plugin> |
| 232 | <!-- The Jetty plugin allows us to easily test the development build by |
| 233 | running jetty:run on the command line. --> |
| 234 | |
| 235 | <plugin> |
| 236 | <groupId>org.eclipse.jetty</groupId> |
| 237 | <artifactId>jetty-maven-plugin</artifactId> |
| 238 | <version>${jetty.plugin.version}</version> |
| 239 | <configuration> |
| 240 | <scanIntervalSeconds>2</scanIntervalSeconds> |
| 241 | </configuration> |
| 242 | </plugin> |
| 243 | <plugin> |
| 244 | <groupId>com.fortify.ps.maven.plugin</groupId> |
| 245 | <artifactId>sca-maven-plugin</artifactId> |
| 246 | <version>4.20</version> |
| 247 | </plugin> |
| 248 | <plugin> |
| 249 | <groupId>org.jacoco</groupId> |
| 250 | <artifactId>jacoco-maven-plugin</artifactId> |
Ravindra Bakkamanthala | d9007d6 | 2017-05-31 15:54:24 -0400 | [diff] [blame] | 251 | <version>0.7.6.201602180812</version> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 252 | <configuration> |
| 253 | <dumpOnExit>true</dumpOnExit> |
| 254 | <includes> |
Guo Ruijing | 073cc18 | 2017-07-31 08:47:35 +0000 | [diff] [blame^] | 255 | <include>org.onap.*</include> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 256 | </includes> |
| 257 | </configuration> |
| 258 | <executions> |
| 259 | <execution> |
| 260 | <id>jacoco-initialize-unit-tests</id> |
| 261 | <goals> |
| 262 | <goal>prepare-agent</goal> |
| 263 | </goals> |
| 264 | <configuration> |
| 265 | <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile> |
| 266 | </configuration> |
| 267 | </execution> |
| 268 | </executions> |
| 269 | </plugin> |
Pamela Dragosh | 0cd5435 | 2017-04-03 10:51:20 -0400 | [diff] [blame] | 270 | <plugin> |
| 271 | <groupId>org.apache.maven.plugins</groupId> |
| 272 | <artifactId>maven-site-plugin</artifactId> |
| 273 | <version>3.6</version> |
| 274 | <dependencies> |
| 275 | <dependency> |
| 276 | <groupId>org.apache.maven.wagon</groupId> |
| 277 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
| 278 | <version>2.10</version> |
| 279 | </dependency> |
| 280 | </dependencies> |
| 281 | </plugin> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 282 | </plugins> |
| 283 | </build> |
| 284 | </project> |