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>
5 <groupId>org.openecomp.policy.engine</groupId>
6 <artifactId>PolicyEngineSuite</artifactId>
7 <version>1.1.0-SNAPSHOT</version>
8 <packaging>pom</packaging>
9 <name>Policy Engine - Policy Engine Suite</name>
11 <description>The ECOMP Policy Engine main pom</description>
14 <maven.compiler.source>1.8</maven.compiler.source>
15 <maven.compiler.target>1.8</maven.compiler.target>
17 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
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>
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>
31 <common-modules.version>1.1.0-SNAPSHOT</common-modules.version>
32 <nexusproxy>https://nexus.onap.org</nexusproxy>
33 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
34 <releases.path>content/repositories/releases/</releases.path>
35 <snapshots.path>content/repositories/snapshots/</snapshots.path>
36 <staging.path>content/repositories/staging/</staging.path>
41 <module>PolicyEngineUtils</module>
42 <module>ECOMP-XACML</module>
43 <module>ECOMP-REST</module>
44 <module>ECOMP-ASDC</module>
45 <module>ECOMP-ControlloopPolicy</module>
46 <module>PolicyEngineAPI</module>
47 <module>ECOMP-PDP</module>
48 <module>ECOMP-PDP-REST</module>
49 <module>ECOMP-PAP-REST</module>
50 <module>LogParser</module>
51 <module>PolicyEngineClient</module>
52 <module>BRMSGateway</module>
53 <module>POLICY-SDK-APP</module>
54 <module>ECOMP-SDK-APP</module>
55 <module>packages</module>
60 <id>ecomp-snapshots</id>
61 <name>OpenECOMP Snapshot Repository</name>
62 <url>${nexusproxy}/${snapshots.path}</url>
65 <id>ecomp-releases</id>
66 <name>OpenECOMP Release Repository</name>
67 <url>${nexusproxy}/${releases.path}/</url>
70 <id>ecomp-staging</id>
71 <name>OpenECOMP Staging Repository</name>
72 <url>${nexusproxy}/${staging.path}</url>
76 <distributionManagement>
78 <id>ecomp-releases</id>
79 <name>OpenECOMP Release Repository</name>
80 <url>${nexusproxy}/${releases.path}</url>
83 <id>ecomp-snapshots</id>
84 <name>OpenECOMP Snapshot Repository</name>
85 <url>${nexusproxy}/${snapshots.path}</url>
89 <url>dav:${nexusproxy}${sitePath}</url>
91 </distributionManagement>
96 <groupId>org.apache.maven.plugins</groupId>
97 <artifactId>maven-javadoc-plugin</artifactId>
98 <version>2.10.4</version>
100 <failOnError>false</failOnError>
101 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
103 <groupId>org.umlgraph</groupId>
104 <artifactId>umlgraph</artifactId>
105 <version>5.6</version>
107 <additionalparam>-views</additionalparam>
108 <useStandardDocletOptions>true</useStandardDocletOptions>
117 <groupId>javax.servlet</groupId>
118 <artifactId>javax.servlet-api</artifactId>
119 <version>3.1.0</version>
122 <!-- org.w3c.dom dependencies -->
123 <groupId>xml-apis</groupId>
124 <artifactId>xml-apis</artifactId>
125 <version>1.3.03</version>
132 <groupId>org.sonatype.plugins</groupId>
133 <artifactId>nexus-staging-maven-plugin</artifactId>
134 <version>1.6.7</version>
135 <extensions>true</extensions>
137 <nexusUrl>${nexusproxy}</nexusUrl>
138 <stagingProfileId>176c31dfe190a</stagingProfileId>
139 <serverId>ecomp-staging</serverId>
143 <groupId>org.apache.maven.plugins</groupId>
144 <artifactId>maven-deploy-plugin</artifactId>
145 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
151 <groupId>org.apache.maven.plugins</groupId>
152 <artifactId>maven-surefire-plugin</artifactId>
153 <version>2.19.1</version>
156 <groupId>org.apache.maven.plugins</groupId>
157 <artifactId>maven-clean-plugin</artifactId>
158 <version>2.4.1</version>
160 <!-- license plugin Run mvn clean before running from the command line
161 mvn license:update-file-header -->
163 <groupId>org.codehaus.mojo</groupId>
164 <artifactId>license-maven-plugin</artifactId>
165 <version>1.9</version>
168 <!-- Used to add or change the header style <fileTypeYouAreMapping>
169 fileTypeMappedInto </fileTypeYouAreMapping> -->
171 <ccf>properties</ccf>
173 <!-- Because the typical sql comment type confuses the update algorithm -->
176 <licenseName>apache_v2</licenseName>
178 <inceptionYear>2017</inceptionYear>
179 <organizationName>AT&T Intellectual Property. All rights
180 reserved.</organizationName>
182 <!-- Once you have established the tags and delimiter, they cannot be
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>
193 <!-- Default is src, target/generated-sources, target/processed-sources -->
195 <!-- Everything except the files in the excludes section -->
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>
207 <groupId>org.apache.maven.plugins</groupId>
208 <artifactId>maven-compiler-plugin</artifactId>
209 <version>3.0</version>
211 <encoding>${project.encoding}</encoding>
212 <source>${project.source.version}</source>
213 <target>${project.target.version}</target>
217 <groupId>org.apache.maven.plugins</groupId>
218 <artifactId>maven-resources-plugin</artifactId>
219 <version>2.6</version>
221 <encoding>${project.encoding}</encoding>
225 <groupId>org.apache.maven.plugins</groupId>
226 <artifactId>maven-war-plugin</artifactId>
227 <version>2.3</version>
229 <failOnMissingWebXml>false</failOnMissingWebXml>
232 <!-- The Jetty plugin allows us to easily test the development build by
233 running jetty:run on the command line. -->
236 <groupId>org.eclipse.jetty</groupId>
237 <artifactId>jetty-maven-plugin</artifactId>
238 <version>${jetty.plugin.version}</version>
240 <scanIntervalSeconds>2</scanIntervalSeconds>
244 <groupId>com.fortify.ps.maven.plugin</groupId>
245 <artifactId>sca-maven-plugin</artifactId>
246 <version>4.20</version>
249 <groupId>org.jacoco</groupId>
250 <artifactId>jacoco-maven-plugin</artifactId>
251 <version>0.7.6.201602180812</version>
253 <dumpOnExit>true</dumpOnExit>
255 <include>org.openecomp.*</include>
260 <id>jacoco-initialize-unit-tests</id>
262 <goal>prepare-agent</goal>
265 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
271 <groupId>org.apache.maven.plugins</groupId>
272 <artifactId>maven-site-plugin</artifactId>
273 <version>3.6</version>
276 <groupId>org.apache.maven.wagon</groupId>
277 <artifactId>wagon-webdav-jackrabbit</artifactId>
278 <version>2.10</version>