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