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>ECOMP Policy Engine</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>PolicyEngineAPI</module>
45 <module>ECOMP-PDP</module>
46 <module>ECOMP-PDP-REST</module>
47 <module>ECOMP-PAP-REST</module>
48 <module>LogParser</module>
49 <module>PolicyEngineClient</module>
50 <module>BRMSGateway</module>
51 <module>POLICY-SDK-APP</module>
52 <module>ECOMP-SDK-APP</module>
53 <module>packages</module>
58 <id>ecomp-snapshots</id>
59 <name>OpenECOMP Snapshot Repository</name>
60 <url>${nexusproxy}/${snapshots.path}</url>
63 <id>ecomp-releases</id>
64 <name>OpenECOMP Release Repository</name>
65 <url>${nexusproxy}/${releases.path}/</url>
68 <id>ecomp-staging</id>
69 <name>OpenECOMP Staging Repository</name>
70 <url>${nexusproxy}/${staging.path}</url>
74 <distributionManagement>
76 <id>ecomp-releases</id>
77 <name>OpenECOMP Release Repository</name>
78 <url>${nexusproxy}/${releases.path}</url>
81 <id>ecomp-snapshots</id>
82 <name>OpenECOMP Snapshot Repository</name>
83 <url>${nexusproxy}/${snapshots.path}</url>
87 <url>dav:${nexusproxy}${sitePath}</url>
89 </distributionManagement>
94 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-javadoc-plugin</artifactId>
96 <version>2.10.4</version>
98 <failOnError>false</failOnError>
99 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
101 <groupId>org.umlgraph</groupId>
102 <artifactId>umlgraph</artifactId>
103 <version>5.6</version>
105 <additionalparam>-views</additionalparam>
106 <useStandardDocletOptions>true</useStandardDocletOptions>
115 <groupId>javax.servlet</groupId>
116 <artifactId>javax.servlet-api</artifactId>
117 <version>3.1.0</version>
120 <!-- org.w3c.dom dependencies -->
121 <groupId>xml-apis</groupId>
122 <artifactId>xml-apis</artifactId>
123 <version>1.3.03</version>
130 <groupId>org.sonatype.plugins</groupId>
131 <artifactId>nexus-staging-maven-plugin</artifactId>
132 <version>1.6.7</version>
133 <extensions>true</extensions>
135 <nexusUrl>${nexusproxy}</nexusUrl>
136 <stagingProfileId>176c31dfe190a</stagingProfileId>
137 <serverId>ecomp-staging</serverId>
141 <groupId>org.apache.maven.plugins</groupId>
142 <artifactId>maven-deploy-plugin</artifactId>
143 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
149 <groupId>org.apache.maven.plugins</groupId>
150 <artifactId>maven-surefire-plugin</artifactId>
151 <version>2.19.1</version>
153 <skipTests>true</skipTests>
157 <groupId>org.apache.maven.plugins</groupId>
158 <artifactId>maven-clean-plugin</artifactId>
159 <version>2.4.1</version>
161 <!-- license plugin Run mvn clean before running from the command line
162 mvn license:update-file-header -->
164 <groupId>org.codehaus.mojo</groupId>
165 <artifactId>license-maven-plugin</artifactId>
166 <version>1.9</version>
169 <!-- Used to add or change the header style <fileTypeYouAreMapping>
170 fileTypeMappedInto </fileTypeYouAreMapping> -->
172 <ccf>properties</ccf>
174 <!-- Because the typical sql comment type confuses the update algorithm -->
177 <licenseName>apache_v2</licenseName>
179 <inceptionYear>2017</inceptionYear>
180 <organizationName>AT&T Intellectual Property. All rights
181 reserved.</organizationName>
183 <!-- Once you have established the tags and delimiter, they cannot be
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>
194 <!-- Default is src, target/generated-sources, target/processed-sources -->
196 <!-- Everything except the files in the excludes section -->
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>
208 <groupId>org.apache.maven.plugins</groupId>
209 <artifactId>maven-compiler-plugin</artifactId>
210 <version>3.0</version>
212 <encoding>${project.encoding}</encoding>
213 <source>${project.source.version}</source>
214 <target>${project.target.version}</target>
218 <groupId>org.apache.maven.plugins</groupId>
219 <artifactId>maven-resources-plugin</artifactId>
220 <version>2.6</version>
222 <encoding>${project.encoding}</encoding>
226 <groupId>org.apache.maven.plugins</groupId>
227 <artifactId>maven-war-plugin</artifactId>
228 <version>2.3</version>
230 <failOnMissingWebXml>false</failOnMissingWebXml>
233 <!-- The Jetty plugin allows us to easily test the development build by
234 running jetty:run on the command line. -->
237 <groupId>org.eclipse.jetty</groupId>
238 <artifactId>jetty-maven-plugin</artifactId>
239 <version>${jetty.plugin.version}</version>
241 <scanIntervalSeconds>2</scanIntervalSeconds>
245 <groupId>com.fortify.ps.maven.plugin</groupId>
246 <artifactId>sca-maven-plugin</artifactId>
247 <version>4.20</version>
250 <groupId>org.jacoco</groupId>
251 <artifactId>jacoco-maven-plugin</artifactId>
252 <version>0.7.5.201505241946</version>
254 <dumpOnExit>true</dumpOnExit>
256 <include>org.openecomp.*</include>
261 <id>jacoco-initialize-unit-tests</id>
263 <goal>prepare-agent</goal>
266 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
272 <groupId>org.apache.maven.plugins</groupId>
273 <artifactId>maven-site-plugin</artifactId>
274 <version>3.6</version>
277 <groupId>org.apache.maven.wagon</groupId>
278 <artifactId>wagon-webdav-jackrabbit</artifactId>
279 <version>2.10</version>