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 <!-- 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>
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.1.0-SNAPSHOT</common-modules.version>
34 <nexusproxy>https://nexus.onap.org</nexusproxy>
35 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
36 <releases.path>content/repositories/releases/</releases.path>
37 <snapshots.path>content/repositories/snapshots/</snapshots.path>
38 <staging.path>content/repositories/staging/</staging.path>
43 <module>ECOMP-XACML</module>
44 <module>ECOMP-REST</module>
45 <module>ECOMP-PDP</module>
46 <module>ECOMP-PDP-REST</module>
47 <module>ECOMP-PAP-REST</module>
48 <module>ECOMP-TEST</module>
49 <module>LogParser</module>
50 <module>PolicyEngineClient</module>
51 <module>PolicyEngineUtils</module>
52 <module>PolicyEngineAPI</module>
53 <module>PyPDPServer</module>
54 <module>BRMSGateway</module>
55 <module>ecomp-sdk-app</module>
56 <module>packages</module>
62 <name>Maven 2 repository</name>
63 <url>http://repo2.maven.org/maven2/</url>
67 <url>http://www.soapui.org/repository/maven2/</url>
68 <name>SoapUI plugin</name>
71 <id>ecomp-releases</id>
72 <name>OpenECOMP Release Repository</name>
73 <url>${nexusproxy}/${releases.path}/</url>
76 <id>ecomp-staging</id>
77 <name>OpenECOMP Staging Repository</name>
78 <url>${nexusproxy}/${staging.path}</url>
81 <id>ecomp-snapshots</id>
82 <name>OpenECOMP Snapshot Repository</name>
83 <url>${nexusproxy}/${snapshots.path}</url>
87 <distributionManagement>
89 <id>ecomp-releases</id>
90 <name>OpenECOMP Release Repository</name>
91 <url>${nexusproxy}/${releases.path}</url>
94 <id>ecomp-snapshots</id>
95 <name>OpenECOMP Snapshot Repository</name>
96 <url>${nexusproxy}/${snapshots.path}</url>
100 <url>dav:${nexusproxy}${sitePath}</url>
102 </distributionManagement>
107 <groupId>org.apache.maven.plugins</groupId>
108 <artifactId>maven-javadoc-plugin</artifactId>
109 <version>2.10.4</version>
111 <failOnError>false</failOnError>
112 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
114 <groupId>org.umlgraph</groupId>
115 <artifactId>umlgraph</artifactId>
116 <version>5.6</version>
118 <additionalparam>-views</additionalparam>
119 <useStandardDocletOptions>true</useStandardDocletOptions>
128 <groupId>javax.servlet</groupId>
129 <artifactId>javax.servlet-api</artifactId>
130 <version>3.0.1</version>
131 <!-- <scope>provided</scope> -->
134 <!-- org.w3c.dom dependencies -->
135 <groupId>xml-apis</groupId>
136 <artifactId>xml-apis</artifactId>
137 <version>1.3.03</version>
144 <groupId>org.sonatype.plugins</groupId>
145 <artifactId>nexus-staging-maven-plugin</artifactId>
146 <version>1.6.7</version>
147 <extensions>true</extensions>
149 <nexusUrl>${nexusproxy}</nexusUrl>
150 <stagingProfileId>176c31dfe190a</stagingProfileId>
151 <serverId>ecomp-staging</serverId>
155 <groupId>org.apache.maven.plugins</groupId>
156 <artifactId>maven-deploy-plugin</artifactId>
157 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
163 <groupId>org.apache.maven.plugins</groupId>
164 <artifactId>maven-surefire-plugin</artifactId>
165 <version>2.19.1</version>
167 <skipTests>true</skipTests>
171 <groupId>org.apache.maven.plugins</groupId>
172 <artifactId>maven-clean-plugin</artifactId>
173 <version>2.4.1</version>
175 <!-- license plugin Run mvn clean before running from the command line
176 mvn license:update-file-header -->
178 <groupId>org.codehaus.mojo</groupId>
179 <artifactId>license-maven-plugin</artifactId>
180 <version>1.9</version>
183 <!-- Used to add or change the header style <fileTypeYouAreMapping>
184 fileTypeMappedInto </fileTypeYouAreMapping> -->
186 <ccf>properties</ccf>
188 <!-- Because the typical sql comment type confuses the update algorithm -->
191 <licenseName>apache_v2</licenseName>
193 <inceptionYear>2017</inceptionYear>
194 <organizationName>AT&T Intellectual Property. All rights
195 reserved.</organizationName>
197 <!-- Once you have established the tags and delimiter, they cannot be
199 <processStartTag>============LICENSE_START=======================================================</processStartTag>
200 <processEndTag>============LICENSE_END=========================================================</processEndTag>
201 <sectionDelimiter>================================================================================</sectionDelimiter>
202 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
203 <canUpdateCopyright>true</canUpdateCopyright>
204 <canUpdateDescription>true</canUpdateDescription>
205 <canUpdateLicense>true</canUpdateLicense>
206 <emptyLineAfterHeader>true</emptyLineAfterHeader>
208 <!-- Default is src, target/generated-sources, target/processed-sources -->
210 <!-- Everything except the files in the excludes section -->
214 <!-- Files which are to be excluded. The pom.xml is excluded because
215 the start/end tags and the delimiters are in the body of the file. This confuses
216 the algorithm. So, this file must be manually updated with a license header. -->
217 <exclude>pom.xml</exclude>
222 <groupId>org.apache.maven.plugins</groupId>
223 <artifactId>maven-compiler-plugin</artifactId>
224 <version>3.0</version>
226 <encoding>${project.encoding}</encoding>
227 <source>${project.source.version}</source>
228 <target>${project.target.version}</target>
232 <groupId>org.apache.maven.plugins</groupId>
233 <artifactId>maven-resources-plugin</artifactId>
234 <version>2.6</version>
236 <encoding>${project.encoding}</encoding>
240 <groupId>org.apache.maven.plugins</groupId>
241 <artifactId>maven-war-plugin</artifactId>
242 <version>2.3</version>
244 <failOnMissingWebXml>false</failOnMissingWebXml>
247 <!-- The Jetty plugin allows us to easily test the development build by
248 running jetty:run on the command line. -->
251 <groupId>org.eclipse.jetty</groupId>
252 <artifactId>jetty-maven-plugin</artifactId>
253 <version>${jetty.plugin.version}</version>
255 <scanIntervalSeconds>2</scanIntervalSeconds>
259 <groupId>com.fortify.ps.maven.plugin</groupId>
260 <artifactId>sca-maven-plugin</artifactId>
261 <version>4.20</version>
264 <groupId>org.jacoco</groupId>
265 <artifactId>jacoco-maven-plugin</artifactId>
266 <version>0.7.5.201505241946</version>
268 <dumpOnExit>true</dumpOnExit>
270 <include>org.openecomp.*</include>
275 <id>jacoco-initialize-unit-tests</id>
277 <goal>prepare-agent</goal>
280 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
286 <groupId>org.apache.maven.plugins</groupId>
287 <artifactId>maven-site-plugin</artifactId>
288 <version>3.6</version>
291 <groupId>org.apache.maven.wagon</groupId>
292 <artifactId>wagon-webdav-jackrabbit</artifactId>
293 <version>2.10</version>