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.0.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.0.0-SNAPSHOT]</common-modules.version>
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>
57 <name>Maven 2 repository</name>
58 <url>http://repo2.maven.org/maven2/</url>
62 <url>http://www.soapui.org/repository/maven2/</url>
63 <name>SoapUI plugin</name>
66 <id>ecomp-releases</id>
67 <name>OpenECOMP Release Repository</name>
68 <url>${nexusproxy}/content/repositories/releases/</url>
71 <id>ecomp-staging</id>
72 <name>OpenECOMP Staging Repository</name>
73 <url>${nexusproxy}/content/repositories/staging/</url>
77 <distributionManagement>
79 <id>ecomp-releases</id>
80 <name>OpenECOMP Release Repository</name>
81 <url>${nexusproxy}/content/repositories/releases/</url>
84 <id>ecomp-snapshots</id>
85 <name>OpenECOMP Snapshot Repository</name>
86 <url>${nexusproxy}/content/repositories/snapshots/</url>
88 </distributionManagement>
93 <groupId>javax.servlet</groupId>
94 <artifactId>javax.servlet-api</artifactId>
95 <version>3.0.1</version>
96 <!-- <scope>provided</scope> -->
99 <!-- org.w3c.dom dependencies -->
100 <groupId>xml-apis</groupId>
101 <artifactId>xml-apis</artifactId>
102 <version>1.3.03</version>
109 <groupId>org.apache.maven.plugins</groupId>
110 <artifactId>maven-deploy-plugin</artifactId>
111 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
114 <groupId>org.apache.maven.plugins</groupId>
115 <artifactId>maven-surefire-plugin</artifactId>
116 <version>2.19.1</version>
118 <skipTests>true</skipTests>
122 <groupId>org.apache.maven.plugins</groupId>
123 <artifactId>maven-clean-plugin</artifactId>
124 <version>2.4.1</version>
128 <directory>${project.basedir}/SWM/pdp-package/swmstage/nix/dist_files/opt/app/policyengine/pdp/webapps/</directory>
130 <include>**/*</include>
132 <followSymlinks>false</followSymlinks>
135 <directory>${project.basedir}/SWM/pdp-package/swmstage/nix/dist_files/opt/app/policyengine/pdp/lib/</directory>
137 <include>**/*</include>
139 <followSymlinks>false</followSymlinks>
144 <!-- license plugin Run mvn clean before running from the command line
145 mvn license:update-file-header -->
147 <groupId>org.codehaus.mojo</groupId>
148 <artifactId>license-maven-plugin</artifactId>
149 <version>1.9</version>
152 <!-- Used to add or change the header style <fileTypeYouAreMapping>
153 fileTypeMappedInto </fileTypeYouAreMapping> -->
155 <ccf>properties</ccf>
157 <!-- Because the typical sql comment type confuses the update algorithm -->
160 <licenseName>apache_v2</licenseName>
162 <inceptionYear>2017</inceptionYear>
163 <organizationName>AT&T Intellectual Property. All rights
164 reserved.</organizationName>
166 <!-- Once you have established the tags and delimiter, they cannot be
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>
177 <!-- Default is src, target/generated-sources, target/processed-sources -->
179 <!-- Everything except the files in the excludes section -->
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>
191 <groupId>org.apache.maven.plugins</groupId>
192 <artifactId>maven-compiler-plugin</artifactId>
193 <version>3.0</version>
195 <encoding>${project.encoding}</encoding>
196 <source>${project.source.version}</source>
197 <target>${project.target.version}</target>
201 <groupId>org.apache.maven.plugins</groupId>
202 <artifactId>maven-resources-plugin</artifactId>
203 <version>2.6</version>
205 <encoding>${project.encoding}</encoding>
209 <groupId>org.apache.maven.plugins</groupId>
210 <artifactId>maven-war-plugin</artifactId>
211 <version>2.3</version>
213 <failOnMissingWebXml>false</failOnMissingWebXml>
216 <!-- The Jetty plugin allows us to easily test the development build by
217 running jetty:run on the command line. -->
220 <groupId>org.eclipse.jetty</groupId>
221 <artifactId>jetty-maven-plugin</artifactId>
222 <version>${jetty.plugin.version}</version>
224 <scanIntervalSeconds>2</scanIntervalSeconds>
228 <groupId>com.fortify.ps.maven.plugin</groupId>
229 <artifactId>sca-maven-plugin</artifactId>
230 <version>4.20</version>
233 <groupId>org.jacoco</groupId>
234 <artifactId>jacoco-maven-plugin</artifactId>
235 <version>0.7.1.201405082137</version>
237 <dumpOnExit>true</dumpOnExit>
239 <include>org.openecomp.*</include>
244 <id>jacoco-initialize-unit-tests</id>
246 <goal>prepare-agent</goal>
249 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>