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