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> |
| 7 | <version>1.0.0-SNAPSHOT</version> |
| 8 | <packaging>pom</packaging> |
| 9 | <name>ECOMP Policy Engine</name> |
| 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 | |
| 19 | <!-- from vaadin-test --> |
| 20 | <jetty.plugin.version>9.2.3.v20140905</jetty.plugin.version> |
| 21 | <project.source.version>1.8</project.source.version> |
| 22 | <project.target.version>1.8</project.target.version> |
| 23 | <project.encoding>UTF-8</project.encoding> |
| 24 | <!-- end --> |
| 25 | |
| 26 | <sonar.language>java</sonar.language> |
| 27 | <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> |
| 28 | <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> |
| 29 | <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath> |
| 30 | <sonar.jacoco.itReportPath>/opt/app/policy/it-results/jacoco-it.exec</sonar.jacoco.itReportPath> |
| 31 | <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero> |
| 32 | <sonar.projectVersion>${project.version}</sonar.projectVersion> |
| 33 | <common-modules.version>[1.0.0-SNAPSHOT]</common-modules.version> |
| 34 | </properties> |
| 35 | |
| 36 | |
| 37 | <modules> |
| 38 | <module>ECOMP-XACML</module> |
| 39 | <module>ECOMP-REST</module> |
| 40 | <module>ECOMP-PDP</module> |
| 41 | <module>ECOMP-PDP-REST</module> |
| 42 | <module>ECOMP-PAP-REST</module> |
| 43 | <module>ECOMP-TEST</module> |
| 44 | <module>LogParser</module> |
| 45 | <module>PolicyEngineClient</module> |
| 46 | <module>PolicyEngineUtils</module> |
| 47 | <module>PolicyEngineAPI</module> |
| 48 | <module>PyPDPServer</module> |
| 49 | <module>BRMSGateway</module> |
| 50 | <module>ecomp-sdk-app</module> |
| 51 | <module>packages</module> |
| 52 | </modules> |
| 53 | |
| 54 | <repositories> |
| 55 | <repository> |
| 56 | <id>central</id> |
| 57 | <name>Maven 2 repository</name> |
| 58 | <url>http://repo2.maven.org/maven2/</url> |
| 59 | </repository> |
| 60 | <repository> |
| 61 | <id>soapUI</id> |
| 62 | <url>http://www.soapui.org/repository/maven2/</url> |
| 63 | <name>SoapUI plugin</name> |
| 64 | </repository> |
Pamela Dragosh | 2a66a1b | 2017-02-15 15:33:14 -0500 | [diff] [blame^] | 65 | <repository> |
| 66 | <id>ecomp-releases</id> |
| 67 | <name>OpenECOMP Release Repository</name> |
| 68 | <url>${nexusproxy}/content/repositories/releases/</url> |
| 69 | </repository> |
| 70 | <repository> |
| 71 | <id>ecomp-staging</id> |
| 72 | <name>OpenECOMP Staging Repository</name> |
| 73 | <url>${nexusproxy}/content/repositories/staging/</url> |
| 74 | </repository> |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 75 | </repositories> |
| 76 | |
Pamela Dragosh | 2a66a1b | 2017-02-15 15:33:14 -0500 | [diff] [blame^] | 77 | <distributionManagement> |
| 78 | <repository> |
| 79 | <id>ecomp-releases</id> |
| 80 | <name>OpenECOMP Release Repository</name> |
| 81 | <url>${nexusproxy}/content/repositories/releases/</url> |
| 82 | </repository> |
| 83 | <snapshotRepository> |
| 84 | <id>ecomp-snapshots</id> |
| 85 | <name>OpenECOMP Snapshot Repository</name> |
| 86 | <url>${nexusproxy}/content/repositories/snapshots/</url> |
| 87 | </snapshotRepository> |
| 88 | </distributionManagement> |
| 89 | |
Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 90 | <dependencies> |
| 91 | |
| 92 | <dependency> |
| 93 | <groupId>javax.servlet</groupId> |
| 94 | <artifactId>javax.servlet-api</artifactId> |
| 95 | <version>3.0.1</version> |
| 96 | <!-- <scope>provided</scope> --> |
| 97 | </dependency> |
| 98 | <dependency> |
| 99 | <!-- org.w3c.dom dependencies --> |
| 100 | <groupId>xml-apis</groupId> |
| 101 | <artifactId>xml-apis</artifactId> |
| 102 | <version>1.3.03</version> |
| 103 | </dependency> |
| 104 | </dependencies> |
| 105 | |
| 106 | <build> |
| 107 | <plugins> |
| 108 | <plugin> |
| 109 | <groupId>org.apache.maven.plugins</groupId> |
| 110 | <artifactId>maven-deploy-plugin</artifactId> |
| 111 | <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter --> |
| 112 | </plugin> |
| 113 | <plugin> |
| 114 | <groupId>org.apache.maven.plugins</groupId> |
| 115 | <artifactId>maven-surefire-plugin</artifactId> |
| 116 | <version>2.19.1</version> |
| 117 | <configuration> |
| 118 | <skipTests>true</skipTests> |
| 119 | </configuration> |
| 120 | </plugin> |
| 121 | <plugin> |
| 122 | <groupId>org.apache.maven.plugins</groupId> |
| 123 | <artifactId>maven-clean-plugin</artifactId> |
| 124 | <version>2.4.1</version> |
| 125 | <configuration> |
| 126 | <filesets> |
| 127 | <fileset> |
| 128 | <directory>${project.basedir}/SWM/pdp-package/swmstage/nix/dist_files/opt/app/policyengine/pdp/webapps/</directory> |
| 129 | <includes> |
| 130 | <include>**/*</include> |
| 131 | </includes> |
| 132 | <followSymlinks>false</followSymlinks> |
| 133 | </fileset> |
| 134 | <fileset> |
| 135 | <directory>${project.basedir}/SWM/pdp-package/swmstage/nix/dist_files/opt/app/policyengine/pdp/lib/</directory> |
| 136 | <includes> |
| 137 | <include>**/*</include> |
| 138 | </includes> |
| 139 | <followSymlinks>false</followSymlinks> |
| 140 | </fileset> |
| 141 | </filesets> |
| 142 | </configuration> |
| 143 | </plugin> |
| 144 | <!-- license plugin Run mvn clean before running from the command line |
| 145 | mvn license:update-file-header --> |
| 146 | <plugin> |
| 147 | <groupId>org.codehaus.mojo</groupId> |
| 148 | <artifactId>license-maven-plugin</artifactId> |
| 149 | <version>1.9</version> |
| 150 | <configuration> |
| 151 | <extraExtensions> |
| 152 | <!-- Used to add or change the header style <fileTypeYouAreMapping> |
| 153 | fileTypeMappedInto </fileTypeYouAreMapping> --> |
| 154 | <drl>java</drl> |
| 155 | <ccf>properties</ccf> |
| 156 | |
| 157 | <!-- Because the typical sql comment type confuses the update algorithm --> |
| 158 | <sql>java</sql> |
| 159 | </extraExtensions> |
| 160 | <licenseName>apache_v2</licenseName> |
| 161 | |
| 162 | <inceptionYear>2017</inceptionYear> |
| 163 | <organizationName>AT&T Intellectual Property. All rights |
| 164 | reserved.</organizationName> |
| 165 | |
| 166 | <!-- Once you have established the tags and delimiter, they cannot be |
| 167 | changed --> |
| 168 | <processStartTag>============LICENSE_START=======================================================</processStartTag> |
| 169 | <processEndTag>============LICENSE_END=========================================================</processEndTag> |
| 170 | <sectionDelimiter>================================================================================</sectionDelimiter> |
| 171 | <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage> |
| 172 | <canUpdateCopyright>true</canUpdateCopyright> |
| 173 | <canUpdateDescription>true</canUpdateDescription> |
| 174 | <canUpdateLicense>true</canUpdateLicense> |
| 175 | <emptyLineAfterHeader>true</emptyLineAfterHeader> |
| 176 | <roots> |
| 177 | <!-- Default is src, target/generated-sources, target/processed-sources --> |
| 178 | |
| 179 | <!-- Everything except the files in the excludes section --> |
| 180 | <root>/</root> |
| 181 | </roots> |
| 182 | <excludes> |
| 183 | <!-- Files which are to be excluded. The pom.xml is excluded because |
| 184 | the start/end tags and the delimiters are in the body of the file. This confuses |
| 185 | the algorithm. So, this file must be manually updated with a license header. --> |
| 186 | <exclude>pom.xml</exclude> |
| 187 | </excludes> |
| 188 | </configuration> |
| 189 | </plugin> |
| 190 | <plugin> |
| 191 | <groupId>org.apache.maven.plugins</groupId> |
| 192 | <artifactId>maven-compiler-plugin</artifactId> |
| 193 | <version>3.0</version> |
| 194 | <configuration> |
| 195 | <encoding>${project.encoding}</encoding> |
| 196 | <source>${project.source.version}</source> |
| 197 | <target>${project.target.version}</target> |
| 198 | </configuration> |
| 199 | </plugin> |
| 200 | <plugin> |
| 201 | <groupId>org.apache.maven.plugins</groupId> |
| 202 | <artifactId>maven-resources-plugin</artifactId> |
| 203 | <version>2.6</version> |
| 204 | <configuration> |
| 205 | <encoding>${project.encoding}</encoding> |
| 206 | </configuration> |
| 207 | </plugin> |
| 208 | <plugin> |
| 209 | <groupId>org.apache.maven.plugins</groupId> |
| 210 | <artifactId>maven-war-plugin</artifactId> |
| 211 | <version>2.3</version> |
| 212 | <configuration> |
| 213 | <failOnMissingWebXml>false</failOnMissingWebXml> |
| 214 | </configuration> |
| 215 | </plugin> |
| 216 | <!-- The Jetty plugin allows us to easily test the development build by |
| 217 | running jetty:run on the command line. --> |
| 218 | |
| 219 | <plugin> |
| 220 | <groupId>org.eclipse.jetty</groupId> |
| 221 | <artifactId>jetty-maven-plugin</artifactId> |
| 222 | <version>${jetty.plugin.version}</version> |
| 223 | <configuration> |
| 224 | <scanIntervalSeconds>2</scanIntervalSeconds> |
| 225 | </configuration> |
| 226 | </plugin> |
| 227 | <plugin> |
| 228 | <groupId>com.fortify.ps.maven.plugin</groupId> |
| 229 | <artifactId>sca-maven-plugin</artifactId> |
| 230 | <version>4.20</version> |
| 231 | </plugin> |
| 232 | <plugin> |
| 233 | <groupId>org.jacoco</groupId> |
| 234 | <artifactId>jacoco-maven-plugin</artifactId> |
| 235 | <version>0.7.1.201405082137</version> |
| 236 | <configuration> |
| 237 | <dumpOnExit>true</dumpOnExit> |
| 238 | <includes> |
| 239 | <include>org.openecomp.*</include> |
| 240 | </includes> |
| 241 | </configuration> |
| 242 | <executions> |
| 243 | <execution> |
| 244 | <id>jacoco-initialize-unit-tests</id> |
| 245 | <goals> |
| 246 | <goal>prepare-agent</goal> |
| 247 | </goals> |
| 248 | <configuration> |
| 249 | <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile> |
| 250 | </configuration> |
| 251 | </execution> |
| 252 | </executions> |
| 253 | </plugin> |
| 254 | </plugins> |
| 255 | </build> |
| 256 | </project> |