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-ControlloopPolicy</module>
45 <module>PolicyEngineAPI</module>
46 <module>ECOMP-PDP</module>
47 <module>ECOMP-PDP-REST</module>
48 <module>ECOMP-PAP-REST</module>
49 <module>LogParser</module>
50 <module>PolicyEngineClient</module>
51 <module>BRMSGateway</module>
52 <module>POLICY-SDK-APP</module>
53 <module>ECOMP-SDK-APP</module>
54 <module>packages</module>
59 <id>ecomp-snapshots</id>
60 <name>OpenECOMP Snapshot Repository</name>
61 <url>${nexusproxy}/${snapshots.path}</url>
64 <id>ecomp-releases</id>
65 <name>OpenECOMP Release Repository</name>
66 <url>${nexusproxy}/${releases.path}/</url>
69 <id>ecomp-staging</id>
70 <name>OpenECOMP Staging Repository</name>
71 <url>${nexusproxy}/${staging.path}</url>
75 <distributionManagement>
77 <id>ecomp-releases</id>
78 <name>OpenECOMP Release Repository</name>
79 <url>${nexusproxy}/${releases.path}</url>
82 <id>ecomp-snapshots</id>
83 <name>OpenECOMP Snapshot Repository</name>
84 <url>${nexusproxy}/${snapshots.path}</url>
88 <url>dav:${nexusproxy}${sitePath}</url>
90 </distributionManagement>
95 <groupId>org.apache.maven.plugins</groupId>
96 <artifactId>maven-javadoc-plugin</artifactId>
97 <version>2.10.4</version>
99 <failOnError>false</failOnError>
100 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
102 <groupId>org.umlgraph</groupId>
103 <artifactId>umlgraph</artifactId>
104 <version>5.6</version>
106 <additionalparam>-views</additionalparam>
107 <useStandardDocletOptions>true</useStandardDocletOptions>
116 <groupId>javax.servlet</groupId>
117 <artifactId>javax.servlet-api</artifactId>
118 <version>3.1.0</version>
121 <!-- org.w3c.dom dependencies -->
122 <groupId>xml-apis</groupId>
123 <artifactId>xml-apis</artifactId>
124 <version>1.3.03</version>
131 <groupId>org.sonatype.plugins</groupId>
132 <artifactId>nexus-staging-maven-plugin</artifactId>
133 <version>1.6.7</version>
134 <extensions>true</extensions>
136 <nexusUrl>${nexusproxy}</nexusUrl>
137 <stagingProfileId>176c31dfe190a</stagingProfileId>
138 <serverId>ecomp-staging</serverId>
142 <groupId>org.apache.maven.plugins</groupId>
143 <artifactId>maven-deploy-plugin</artifactId>
144 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
150 <groupId>org.apache.maven.plugins</groupId>
151 <artifactId>maven-surefire-plugin</artifactId>
152 <version>2.19.1</version>
154 <skipTests>true</skipTests>
158 <groupId>org.apache.maven.plugins</groupId>
159 <artifactId>maven-clean-plugin</artifactId>
160 <version>2.4.1</version>
162 <!-- license plugin Run mvn clean before running from the command line
163 mvn license:update-file-header -->
165 <groupId>org.codehaus.mojo</groupId>
166 <artifactId>license-maven-plugin</artifactId>
167 <version>1.9</version>
170 <!-- Used to add or change the header style <fileTypeYouAreMapping>
171 fileTypeMappedInto </fileTypeYouAreMapping> -->
173 <ccf>properties</ccf>
175 <!-- Because the typical sql comment type confuses the update algorithm -->
178 <licenseName>apache_v2</licenseName>
180 <inceptionYear>2017</inceptionYear>
181 <organizationName>AT&T Intellectual Property. All rights
182 reserved.</organizationName>
184 <!-- Once you have established the tags and delimiter, they cannot be
186 <processStartTag>============LICENSE_START=======================================================</processStartTag>
187 <processEndTag>============LICENSE_END=========================================================</processEndTag>
188 <sectionDelimiter>================================================================================</sectionDelimiter>
189 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
190 <canUpdateCopyright>true</canUpdateCopyright>
191 <canUpdateDescription>true</canUpdateDescription>
192 <canUpdateLicense>true</canUpdateLicense>
193 <emptyLineAfterHeader>true</emptyLineAfterHeader>
195 <!-- Default is src, target/generated-sources, target/processed-sources -->
197 <!-- Everything except the files in the excludes section -->
201 <!-- Files which are to be excluded. The pom.xml is excluded because
202 the start/end tags and the delimiters are in the body of the file. This confuses
203 the algorithm. So, this file must be manually updated with a license header. -->
204 <exclude>pom.xml</exclude>
209 <groupId>org.apache.maven.plugins</groupId>
210 <artifactId>maven-compiler-plugin</artifactId>
211 <version>3.0</version>
213 <encoding>${project.encoding}</encoding>
214 <source>${project.source.version}</source>
215 <target>${project.target.version}</target>
219 <groupId>org.apache.maven.plugins</groupId>
220 <artifactId>maven-resources-plugin</artifactId>
221 <version>2.6</version>
223 <encoding>${project.encoding}</encoding>
227 <groupId>org.apache.maven.plugins</groupId>
228 <artifactId>maven-war-plugin</artifactId>
229 <version>2.3</version>
231 <failOnMissingWebXml>false</failOnMissingWebXml>
234 <!-- The Jetty plugin allows us to easily test the development build by
235 running jetty:run on the command line. -->
238 <groupId>org.eclipse.jetty</groupId>
239 <artifactId>jetty-maven-plugin</artifactId>
240 <version>${jetty.plugin.version}</version>
242 <scanIntervalSeconds>2</scanIntervalSeconds>
246 <groupId>com.fortify.ps.maven.plugin</groupId>
247 <artifactId>sca-maven-plugin</artifactId>
248 <version>4.20</version>
251 <groupId>org.jacoco</groupId>
252 <artifactId>jacoco-maven-plugin</artifactId>
253 <version>0.7.5.201505241946</version>
255 <dumpOnExit>true</dumpOnExit>
257 <include>org.openecomp.*</include>
262 <id>jacoco-initialize-unit-tests</id>
264 <goal>prepare-agent</goal>
267 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
273 <groupId>org.apache.maven.plugins</groupId>
274 <artifactId>maven-site-plugin</artifactId>
275 <version>3.6</version>
278 <groupId>org.apache.maven.wagon</groupId>
279 <artifactId>wagon-webdav-jackrabbit</artifactId>
280 <version>2.10</version>