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>
50 <springboot.version>1.3.3.RELEASE</springboot.version>
55 <id>spring-releases</id>
56 <url>https://repo.spring.io/libs-release</url>
59 <id>ecomp-releases</id>
60 <name>OpenECOMP Release Repository</name>
61 <url>${nexusproxy}/content/repositories/releases/</url>
64 <id>ecomp-staging</id>
65 <name>OpenECOMP Staging Repository</name>
66 <url>${nexusproxy}/content/repositories/staging/</url>
71 <id>spring-releases</id>
72 <url>https://repo.spring.io/libs-release</url>
76 <distributionManagement>
78 <id>ecomp-releases</id>
79 <name>OpenECOMP Release Repository</name>
80 <url>${nexusproxy}/content/repositories/releases/</url>
83 <id>ecomp-snapshots</id>
84 <name>OpenECOMP Snapshot Repository</name>
85 <url>${nexusproxy}/content/repositories/snapshots/</url>
87 </distributionManagement>
89 <dependencyManagement>
92 <groupId>org.springframework.boot</groupId>
93 <artifactId>spring-boot-dependencies</artifactId>
94 <version>${springboot.version}</version>
99 </dependencyManagement>
103 <groupId>org.openecomp.policy.engine</groupId>
104 <artifactId>PolicyEngineAPI</artifactId>
105 <version>${project.version}</version>
108 <groupId>javax.websocket</groupId>
109 <artifactId>javax.websocket-api</artifactId>
112 <groupId>com.google.guava</groupId>
113 <artifactId>guava</artifactId>
116 <artifactId>slf4j-log4j12</artifactId>
117 <groupId>org.slf4j</groupId>
120 <groupId>org.springframework</groupId>
121 <artifactId>spring-mock</artifactId>
126 <groupId>org.springframework.boot</groupId>
127 <artifactId>spring-boot-starter-web</artifactId>
128 <version>${springboot.version}</version>
131 <groupId>org.slf4j</groupId>
132 <artifactId>log4j-over-slf4j</artifactId>
135 <artifactId>logback-classic</artifactId>
136 <groupId>ch.qos.logback</groupId>
139 <artifactId>logback-core</artifactId>
140 <groupId>ch.qos.logback</groupId>
145 <groupId>javax.servlet</groupId>
146 <artifactId>javax.servlet-api</artifactId>
147 <version>3.0.1</version>
148 <scope>provided</scope>
151 <groupId>io.springfox</groupId>
152 <artifactId>springfox-swagger2</artifactId>
153 <version>2.4.0</version>
156 <groupId>io.springfox</groupId>
157 <artifactId>springfox-swagger-ui</artifactId>
158 <version>2.4.0</version>
161 <groupId>org.springframework</groupId>
162 <artifactId>spring-web</artifactId>
163 <version>4.2.5.RELEASE</version>
166 <groupId>org.glassfish</groupId>
167 <artifactId>javax.json</artifactId>
168 <version>1.0.4</version>
171 <groupId>org.apache.httpcomponents</groupId>
172 <artifactId>httpclient</artifactId>
173 <version>4.2.4</version>
176 <groupId>commons-io</groupId>
177 <artifactId>commons-io</artifactId>
178 <version>2.4</version>
181 <groupId>javax.validation</groupId>
182 <artifactId>validation-api</artifactId>
183 <version>1.1.0.Final</version>
186 <groupId>com.google.guava</groupId>
187 <artifactId>guava</artifactId>
188 <version>19.0</version>
191 <groupId>ch.qos.logback</groupId>
192 <artifactId>logback-core</artifactId>
193 <version>1.1.1</version>
196 <groupId>ch.qos.logback</groupId>
197 <artifactId>logback-classic</artifactId>
198 <version>1.1.1</version>
201 <groupId>org.springframework</groupId>
202 <artifactId>spring-test</artifactId>
203 <version>4.2.5.RELEASE</version>
206 <groupId>org.mapstruct</groupId>
207 <artifactId>mapstruct</artifactId>
208 <version>1.0.0.Final</version>
211 <groupId>org.skyscreamer</groupId>
212 <artifactId>jsonassert</artifactId>
213 <version>1.3.0</version>
216 <groupId>javax.ws.rs</groupId>
217 <artifactId>javax.ws.rs-api</artifactId>
218 <version>2.0.1</version>
226 <groupId>org.sonatype.plugins</groupId>
227 <artifactId>nexus-staging-maven-plugin</artifactId>
228 <version>1.6.7</version>
229 <extensions>true</extensions>
231 <nexusUrl>${nexusproxy}</nexusUrl>
232 <stagingProfileId>176c31dfe190a</stagingProfileId>
233 <serverId>ecomp-staging</serverId>
237 <groupId>org.springframework.boot</groupId>
238 <artifactId>spring-boot-maven-plugin</artifactId>
239 <version>${springboot.version}</version>
243 <goal>repackage</goal>
250 <artifactId>maven-war-plugin</artifactId>
251 <version>2.2</version>
253 <packagingExcludes>WEB-INF/lib/javax.websocket-api-1.1.jar</packagingExcludes>
257 <groupId>org.apache.maven.plugins</groupId>
258 <artifactId>maven-compiler-plugin</artifactId>
259 <version>3.2</version>
266 <groupId>com.fortify.ps.maven.plugin</groupId>
267 <artifactId>sca-maven-plugin</artifactId>
268 <version>4.20</version>