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</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>
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>
91 <dependencyManagement>
94 <groupId>org.springframework.boot</groupId>
95 <artifactId>spring-boot-dependencies</artifactId>
96 <version>${springboot.version}</version>
101 </dependencyManagement>
105 <groupId>org.openecomp.policy.engine</groupId>
106 <artifactId>PolicyEngineAPI</artifactId>
107 <version>${project.version}</version>
110 <groupId>javax.websocket</groupId>
111 <artifactId>javax.websocket-api</artifactId>
114 <groupId>com.google.guava</groupId>
115 <artifactId>guava</artifactId>
118 <artifactId>slf4j-log4j12</artifactId>
119 <groupId>org.slf4j</groupId>
122 <groupId>org.springframework</groupId>
123 <artifactId>spring-mock</artifactId>
128 <groupId>org.springframework.boot</groupId>
129 <artifactId>spring-boot-starter-web</artifactId>
130 <version>${springboot.version}</version>
133 <groupId>org.slf4j</groupId>
134 <artifactId>log4j-over-slf4j</artifactId>
137 <artifactId>logback-classic</artifactId>
138 <groupId>ch.qos.logback</groupId>
141 <artifactId>logback-core</artifactId>
142 <groupId>ch.qos.logback</groupId>
147 <groupId>javax.servlet</groupId>
148 <artifactId>javax.servlet-api</artifactId>
149 <version>3.0.1</version>
150 <scope>provided</scope>
153 <groupId>io.springfox</groupId>
154 <artifactId>springfox-swagger2</artifactId>
155 <version>2.4.0</version>
158 <groupId>io.springfox</groupId>
159 <artifactId>springfox-swagger-ui</artifactId>
160 <version>2.4.0</version>
163 <groupId>org.springframework</groupId>
164 <artifactId>spring-web</artifactId>
165 <version>4.2.5.RELEASE</version>
168 <groupId>org.glassfish</groupId>
169 <artifactId>javax.json</artifactId>
170 <version>1.0.4</version>
173 <groupId>org.apache.httpcomponents</groupId>
174 <artifactId>httpclient</artifactId>
175 <version>4.2.4</version>
178 <groupId>commons-io</groupId>
179 <artifactId>commons-io</artifactId>
180 <version>2.4</version>
183 <groupId>javax.validation</groupId>
184 <artifactId>validation-api</artifactId>
185 <version>1.1.0.Final</version>
188 <groupId>com.google.guava</groupId>
189 <artifactId>guava</artifactId>
190 <version>19.0</version>
193 <groupId>ch.qos.logback</groupId>
194 <artifactId>logback-core</artifactId>
195 <version>1.1.1</version>
198 <groupId>ch.qos.logback</groupId>
199 <artifactId>logback-classic</artifactId>
200 <version>1.1.1</version>
203 <groupId>org.springframework</groupId>
204 <artifactId>spring-test</artifactId>
205 <version>4.2.5.RELEASE</version>
208 <groupId>org.mapstruct</groupId>
209 <artifactId>mapstruct</artifactId>
210 <version>1.0.0.Final</version>
213 <groupId>org.skyscreamer</groupId>
214 <artifactId>jsonassert</artifactId>
215 <version>1.3.0</version>
218 <groupId>javax.ws.rs</groupId>
219 <artifactId>javax.ws.rs-api</artifactId>
220 <version>2.0.1</version>
228 <groupId>org.sonatype.plugins</groupId>
229 <artifactId>nexus-staging-maven-plugin</artifactId>
230 <version>1.6.7</version>
231 <extensions>true</extensions>
233 <nexusUrl>${nexusproxy}</nexusUrl>
234 <stagingProfileId>176c31dfe190a</stagingProfileId>
235 <serverId>ecomp-staging</serverId>
239 <groupId>org.springframework.boot</groupId>
240 <artifactId>spring-boot-maven-plugin</artifactId>
241 <version>${springboot.version}</version>
245 <goal>repackage</goal>
252 <artifactId>maven-war-plugin</artifactId>
253 <version>2.2</version>
255 <packagingExcludes>WEB-INF/lib/javax.websocket-api-1.1.jar</packagingExcludes>
259 <groupId>org.apache.maven.plugins</groupId>
260 <artifactId>maven-compiler-plugin</artifactId>
261 <version>3.2</version>
268 <groupId>com.fortify.ps.maven.plugin</groupId>
269 <artifactId>sca-maven-plugin</artifactId>
270 <version>4.20</version>