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 <groupId>org.openecomp.policy.engine</groupId>
27 <artifactId>PyPDPServer</artifactId>
28 <version>1.0.0-SNAPSHOT</version>
29 <packaging>war</packaging>
31 <description>PyPDP Server</description>
34 <groupId>org.springframework.boot</groupId>
35 <artifactId>spring-boot-starter-parent</artifactId>
36 <version>1.3.3.RELEASE</version>
40 <start-class>org.openecomp.policy.pypdp.controller.Application</start-class>
41 <maven.compiler.target>1.8</maven.compiler.target>
42 <maven.compiler.source>1.8</maven.compiler.source>
43 <!-- <tomcat.version>8.0.14</tomcat.version> -->
45 <sonar.language>java</sonar.language>
46 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
47 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
48 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
49 <sonar.jacoco.itReportPath>/opt/app/jacoco-it.exec</sonar.jacoco.itReportPath>
50 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
51 <nexusproxy>https://nexus.openecomp.org</nexusproxy>
56 <id>spring-releases</id>
57 <url>https://repo.spring.io/libs-release</url>
60 <id>ecomp-releases</id>
61 <name>OpenECOMP Release Repository</name>
62 <url>${nexusproxy}/content/repositories/releases/</url>
65 <id>ecomp-staging</id>
66 <name>OpenECOMP Staging Repository</name>
67 <url>${nexusproxy}/content/repositories/staging/</url>
72 <id>spring-releases</id>
73 <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>
92 <groupId>org.openecomp.policy.engine</groupId>
93 <artifactId>PolicyEngineAPI</artifactId>
94 <version>${project.version}</version>
97 <groupId>javax.websocket</groupId>
98 <artifactId>javax.websocket-api</artifactId>
101 <groupId>com.google.guava</groupId>
102 <artifactId>guava</artifactId>
105 <artifactId>slf4j-log4j12</artifactId>
106 <groupId>org.slf4j</groupId>
109 <groupId>org.springframework</groupId>
110 <artifactId>spring-mock</artifactId>
115 <groupId>org.springframework.boot</groupId>
116 <artifactId>spring-boot-starter-web</artifactId>
119 <groupId>org.slf4j</groupId>
120 <artifactId>log4j-over-slf4j</artifactId>
123 <artifactId>logback-classic</artifactId>
124 <groupId>ch.qos.logback</groupId>
127 <artifactId>logback-core</artifactId>
128 <groupId>ch.qos.logback</groupId>
133 <groupId>javax.servlet</groupId>
134 <artifactId>javax.servlet-api</artifactId>
135 <version>3.0.1</version>
136 <scope>provided</scope>
139 <groupId>io.springfox</groupId>
140 <artifactId>springfox-swagger2</artifactId>
141 <version>2.4.0</version>
144 <groupId>io.springfox</groupId>
145 <artifactId>springfox-swagger-ui</artifactId>
146 <version>2.4.0</version>
149 <groupId>org.springframework</groupId>
150 <artifactId>spring-web</artifactId>
153 <groupId>org.springframework.boot</groupId>
154 <artifactId>spring-boot-starter-tomcat</artifactId>
155 <scope>provided</scope>
158 <groupId>com.fasterxml.jackson.core</groupId>
159 <artifactId>jackson-databind</artifactId>
162 <groupId>org.glassfish</groupId>
163 <artifactId>javax.json</artifactId>
164 <version>1.0.4</version>
167 <groupId>org.apache.httpcomponents</groupId>
168 <artifactId>httpclient</artifactId>
169 <version>4.2.4</version>
172 <groupId>commons-io</groupId>
173 <artifactId>commons-io</artifactId>
174 <version>2.4</version>
177 <groupId>javax.validation</groupId>
178 <artifactId>validation-api</artifactId>
179 <version>1.1.0.Final</version>
182 <groupId>com.google.guava</groupId>
183 <artifactId>guava</artifactId>
184 <version>19.0</version>
187 <groupId>ch.qos.logback</groupId>
188 <artifactId>logback-core</artifactId>
189 <version>1.1.1</version>
192 <groupId>ch.qos.logback</groupId>
193 <artifactId>logback-classic</artifactId>
194 <version>1.1.1</version>
197 <groupId>org.springframework</groupId>
198 <artifactId>spring-test</artifactId>
201 <groupId>org.mapstruct</groupId>
202 <artifactId>mapstruct</artifactId>
203 <version>1.0.0.Final</version>
206 <groupId>org.skyscreamer</groupId>
207 <artifactId>jsonassert</artifactId>
208 <version>1.3.0</version>
211 <groupId>javax.ws.rs</groupId>
212 <artifactId>javax.ws.rs-api</artifactId>
213 <version>2.0.1</version>
221 <groupId>org.sonatype.plugins</groupId>
222 <artifactId>nexus-staging-maven-plugin</artifactId>
223 <version>1.6.7</version>
224 <extensions>true</extensions>
226 <nexusUrl>${nexusproxy}</nexusUrl>
227 <stagingProfileId>176c31dfe190a</stagingProfileId>
228 <serverId>ecomp-staging</serverId>
232 <groupId>org.apache.maven.plugins</groupId>
233 <artifactId>maven-deploy-plugin</artifactId>
234 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
240 <groupId>org.springframework.boot</groupId>
241 <artifactId>spring-boot-maven-plugin</artifactId>
245 <goal>repackage</goal>
252 <artifactId>maven-war-plugin</artifactId>
254 <packagingExcludes>WEB-INF/lib/javax.websocket-api-1.1.jar</packagingExcludes>
258 <groupId>org.apache.maven.plugins</groupId>
259 <artifactId>maven-compiler-plugin</artifactId>
260 <version>3.2</version>
267 <groupId>org.jacoco</groupId>
268 <artifactId>jacoco-maven-plugin</artifactId>
269 <version>0.7.1.201405082137</version>
271 <dumpOnExit>true</dumpOnExit>
273 <include>org.openecomp.policy.*</include>
278 <id>jacoco-initialize-unit-tests</id>
280 <goal>prepare-agent</goal>
283 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
289 <groupId>com.fortify.ps.maven.plugin</groupId>
290 <artifactId>sca-maven-plugin</artifactId>
291 <version>4.20</version>