1 <?xml version="1.0" encoding="UTF-8"?>
3 ============LICENSE_START=======================================================
5 ================================================================================
6 Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
7 ================================================================================
8 Licensed under the Apache License, Version 2.0 (the "License");
9 you may not use this file except in compliance with the License.
10 You may obtain a copy of the License at
12 http://www.apache.org/licenses/LICENSE-2.0
14 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19 ============LICENSE_END=========================================================
22 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25 <modelVersion>4.0.0</modelVersion>
26 <artifactId>PyPDPServer</artifactId>
27 <packaging>war</packaging>
29 <description>PyPDP Server</description>
32 <groupId>org.openecomp.policy.engine</groupId>
33 <artifactId>PolicyEngineSuite</artifactId>
34 <version>1.0.0-SNAPSHOT</version>
38 <start-class>org.openecomp.policy.pypdp.controller.Application</start-class>
39 <maven.compiler.target>1.8</maven.compiler.target>
40 <maven.compiler.source>1.8</maven.compiler.source>
41 <!-- <tomcat.version>8.0.14</tomcat.version> -->
43 <sonar.language>java</sonar.language>
44 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
45 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
46 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
47 <sonar.jacoco.itReportPath>/opt/app/jacoco-it.exec</sonar.jacoco.itReportPath>
48 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
49 <nexusproxy>https://nexus.openecomp.org</nexusproxy>
54 <id>spring-releases</id>
55 <url>https://repo.spring.io/libs-release</url>
58 <id>ecomp-releases</id>
59 <name>OpenECOMP Release Repository</name>
60 <url>${nexusproxy}/content/repositories/releases/</url>
63 <id>ecomp-staging</id>
64 <name>OpenECOMP Staging Repository</name>
65 <url>${nexusproxy}/content/repositories/staging/</url>
70 <id>spring-releases</id>
71 <url>https://repo.spring.io/libs-release</url>
75 <distributionManagement>
77 <id>ecomp-releases</id>
78 <name>OpenECOMP Release Repository</name>
79 <url>${nexusproxy}/content/repositories/releases/</url>
82 <id>ecomp-snapshots</id>
83 <name>OpenECOMP Snapshot Repository</name>
84 <url>${nexusproxy}/content/repositories/snapshots/</url>
86 </distributionManagement>
90 <groupId>org.springframework.boot</groupId>
91 <artifactId>spring-boot-dependencies</artifactId>
92 <version>1.3.3.RELEASE</version>
97 <groupId>org.openecomp.policy.engine</groupId>
98 <artifactId>PolicyEngineAPI</artifactId>
99 <version>${project.version}</version>
102 <groupId>javax.websocket</groupId>
103 <artifactId>javax.websocket-api</artifactId>
106 <groupId>com.google.guava</groupId>
107 <artifactId>guava</artifactId>
110 <artifactId>slf4j-log4j12</artifactId>
111 <groupId>org.slf4j</groupId>
114 <groupId>org.springframework</groupId>
115 <artifactId>spring-mock</artifactId>
120 <groupId>org.springframework.boot</groupId>
121 <artifactId>spring-boot-starter-web</artifactId>
122 <version>1.3.3.RELEASE</version>
125 <groupId>org.slf4j</groupId>
126 <artifactId>log4j-over-slf4j</artifactId>
129 <artifactId>logback-classic</artifactId>
130 <groupId>ch.qos.logback</groupId>
133 <artifactId>logback-core</artifactId>
134 <groupId>ch.qos.logback</groupId>
139 <groupId>javax.servlet</groupId>
140 <artifactId>javax.servlet-api</artifactId>
141 <version>3.0.1</version>
142 <scope>provided</scope>
145 <groupId>io.springfox</groupId>
146 <artifactId>springfox-swagger2</artifactId>
147 <version>2.4.0</version>
150 <groupId>io.springfox</groupId>
151 <artifactId>springfox-swagger-ui</artifactId>
152 <version>2.4.0</version>
155 <groupId>org.springframework</groupId>
156 <artifactId>spring-web</artifactId>
157 <version>4.2.5.RELEASE</version>
160 <groupId>org.glassfish</groupId>
161 <artifactId>javax.json</artifactId>
162 <version>1.0.4</version>
165 <groupId>org.apache.httpcomponents</groupId>
166 <artifactId>httpclient</artifactId>
167 <version>4.2.4</version>
170 <groupId>commons-io</groupId>
171 <artifactId>commons-io</artifactId>
172 <version>2.4</version>
175 <groupId>javax.validation</groupId>
176 <artifactId>validation-api</artifactId>
177 <version>1.1.0.Final</version>
180 <groupId>com.google.guava</groupId>
181 <artifactId>guava</artifactId>
182 <version>19.0</version>
185 <groupId>ch.qos.logback</groupId>
186 <artifactId>logback-core</artifactId>
187 <version>1.1.1</version>
190 <groupId>ch.qos.logback</groupId>
191 <artifactId>logback-classic</artifactId>
192 <version>1.1.1</version>
195 <groupId>org.springframework</groupId>
196 <artifactId>spring-test</artifactId>
197 <version>4.2.5.RELEASE</version>
200 <groupId>org.mapstruct</groupId>
201 <artifactId>mapstruct</artifactId>
202 <version>1.0.0.Final</version>
205 <groupId>org.skyscreamer</groupId>
206 <artifactId>jsonassert</artifactId>
207 <version>1.3.0</version>
210 <groupId>javax.ws.rs</groupId>
211 <artifactId>javax.ws.rs-api</artifactId>
212 <version>2.0.1</version>
220 <groupId>org.sonatype.plugins</groupId>
221 <artifactId>nexus-staging-maven-plugin</artifactId>
222 <version>1.6.7</version>
223 <extensions>true</extensions>
225 <nexusUrl>${nexusproxy}</nexusUrl>
226 <stagingProfileId>176c31dfe190a</stagingProfileId>
227 <serverId>ecomp-staging</serverId>
231 <groupId>org.springframework.boot</groupId>
232 <artifactId>spring-boot-maven-plugin</artifactId>
236 <goal>repackage</goal>
243 <artifactId>maven-war-plugin</artifactId>
245 <packagingExcludes>WEB-INF/lib/javax.websocket-api-1.1.jar</packagingExcludes>
249 <groupId>org.apache.maven.plugins</groupId>
250 <artifactId>maven-compiler-plugin</artifactId>
251 <version>3.2</version>
258 <groupId>org.jacoco</groupId>
259 <artifactId>jacoco-maven-plugin</artifactId>
260 <version>0.7.1.201405082137</version>
262 <dumpOnExit>true</dumpOnExit>
264 <include>org.openecomp.policy.*</include>
269 <id>jacoco-initialize-unit-tests</id>
271 <goal>prepare-agent</goal>
274 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
280 <groupId>com.fortify.ps.maven.plugin</groupId>
281 <artifactId>sca-maven-plugin</artifactId>
282 <version>4.20</version>