5a64014b4cc2036321e81620839a926911240d52
[policy/engine.git] / PyPDPServer / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4   ECOMP Policy Engine
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
11   
12        http://www.apache.org/licenses/LICENSE-2.0
13   
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=========================================================
20   -->
21
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">
24
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>
30
31         <description>PyPDP Server</description>
32
33         <parent>
34                 <groupId>org.openecomp.policy.engine</groupId>
35                 <artifactId>PolicyEngineSuite</artifactId>
36                 <version>1.0.0-SNAPSHOT</version>
37         </parent>
38
39         <properties>
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> -->
44
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>
52         </properties>
53
54         <repositories>
55                 <repository>
56                         <id>spring-releases</id>
57                         <url>https://repo.spring.io/libs-release</url>
58                 </repository>
59                 <repository>
60                         <id>ecomp-releases</id>
61                         <name>OpenECOMP Release Repository</name>
62                         <url>${nexusproxy}/content/repositories/releases/</url>
63                 </repository>
64                 <repository>
65                         <id>ecomp-staging</id>
66                         <name>OpenECOMP Staging Repository</name>
67                         <url>${nexusproxy}/content/repositories/staging/</url>
68                 </repository>
69         </repositories>
70         <pluginRepositories>
71                 <pluginRepository>
72                         <id>spring-releases</id>
73                         <url>https://repo.spring.io/libs-release</url>
74                 </pluginRepository>
75         </pluginRepositories>
76
77         <distributionManagement>
78                 <repository>
79                         <id>ecomp-releases</id>
80                         <name>OpenECOMP Release Repository</name>
81                         <url>${nexusproxy}/content/repositories/releases/</url>
82                 </repository>
83                 <snapshotRepository>
84                         <id>ecomp-snapshots</id>
85                         <name>OpenECOMP Snapshot Repository</name>
86                         <url>${nexusproxy}/content/repositories/snapshots/</url>
87                 </snapshotRepository>
88         </distributionManagement>
89
90         <dependencies>
91                 <dependency>
92              <groupId>org.springframework.boot</groupId>
93              <artifactId>spring-boot-dependencies</artifactId>
94              <version>1.3.3.RELEASE</version>
95              <type>pom</type>
96              <scope>import</scope>
97          </dependency>
98                 <dependency>
99                         <groupId>org.openecomp.policy.engine</groupId>
100                         <artifactId>PolicyEngineAPI</artifactId>
101                         <version>${project.version}</version>
102                         <exclusions>
103                                 <exclusion>
104                                         <groupId>javax.websocket</groupId>
105                                         <artifactId>javax.websocket-api</artifactId>
106                                 </exclusion>
107                                 <exclusion>
108                                         <groupId>com.google.guava</groupId>
109                                         <artifactId>guava</artifactId>
110                                 </exclusion>
111                                 <exclusion>
112                                         <artifactId>slf4j-log4j12</artifactId>
113                                         <groupId>org.slf4j</groupId>
114                                 </exclusion>
115                                 <exclusion>
116                                         <groupId>org.springframework</groupId>
117                                         <artifactId>spring-mock</artifactId>
118                                 </exclusion>
119                         </exclusions>
120                 </dependency>
121                 <dependency>
122                         <groupId>org.springframework.boot</groupId>
123                         <artifactId>spring-boot-starter-web</artifactId>
124             <version>1.3.3.RELEASE</version>
125                         <exclusions>
126                                 <exclusion>
127                                         <groupId>org.slf4j</groupId>
128                                         <artifactId>log4j-over-slf4j</artifactId>
129                                 </exclusion>
130                                 <exclusion>
131                                         <artifactId>logback-classic</artifactId>
132                                         <groupId>ch.qos.logback</groupId>
133                                 </exclusion>
134                                 <exclusion>
135                                         <artifactId>logback-core</artifactId>
136                                         <groupId>ch.qos.logback</groupId>
137                                 </exclusion>
138                         </exclusions>
139                 </dependency>
140                 <dependency>
141                         <groupId>javax.servlet</groupId>
142                         <artifactId>javax.servlet-api</artifactId>
143                         <version>3.0.1</version>
144                         <scope>provided</scope>
145                 </dependency>
146                 <dependency>
147                         <groupId>io.springfox</groupId>
148                         <artifactId>springfox-swagger2</artifactId>
149                         <version>2.4.0</version>
150                 </dependency>
151                 <dependency>
152                         <groupId>io.springfox</groupId>
153                         <artifactId>springfox-swagger-ui</artifactId>
154                         <version>2.4.0</version>
155                 </dependency>
156                 <dependency>
157                         <groupId>org.springframework</groupId>
158                         <artifactId>spring-web</artifactId>
159                         <version>4.2.5.RELEASE</version>
160                 </dependency>
161                 <dependency>
162                         <groupId>org.glassfish</groupId>
163                         <artifactId>javax.json</artifactId>
164                         <version>1.0.4</version>
165                 </dependency>
166                 <dependency>
167                         <groupId>org.apache.httpcomponents</groupId>
168                         <artifactId>httpclient</artifactId>
169                         <version>4.2.4</version>
170                 </dependency>
171                 <dependency>
172                         <groupId>commons-io</groupId>
173                         <artifactId>commons-io</artifactId>
174                         <version>2.4</version>
175                 </dependency>
176                 <dependency>
177                         <groupId>javax.validation</groupId>
178                         <artifactId>validation-api</artifactId>
179                         <version>1.1.0.Final</version>
180                 </dependency>
181                 <dependency>
182                         <groupId>com.google.guava</groupId>
183                         <artifactId>guava</artifactId>
184                         <version>19.0</version>
185                 </dependency>
186                 <dependency>
187                         <groupId>ch.qos.logback</groupId>
188                         <artifactId>logback-core</artifactId>
189                         <version>1.1.1</version>
190                 </dependency>
191                 <dependency>
192                         <groupId>ch.qos.logback</groupId>
193                         <artifactId>logback-classic</artifactId>
194                         <version>1.1.1</version>
195                 </dependency>
196                 <dependency>
197                         <groupId>org.springframework</groupId>
198                         <artifactId>spring-test</artifactId>
199                         <version>4.2.5.RELEASE</version>
200                 </dependency>
201                 <dependency>
202                         <groupId>org.mapstruct</groupId>
203                         <artifactId>mapstruct</artifactId>
204                         <version>1.0.0.Final</version>
205                 </dependency>
206                 <dependency>
207                         <groupId>org.skyscreamer</groupId>
208                         <artifactId>jsonassert</artifactId>
209                         <version>1.3.0</version>
210                 </dependency>
211                 <dependency>
212                         <groupId>javax.ws.rs</groupId>
213                         <artifactId>javax.ws.rs-api</artifactId>
214                         <version>2.0.1</version>
215                         <scope>test</scope>
216                 </dependency>
217         </dependencies>
218
219         <build>
220                 <plugins>
221                         <plugin>
222                                 <groupId>org.sonatype.plugins</groupId>
223                                 <artifactId>nexus-staging-maven-plugin</artifactId>
224                                 <version>1.6.7</version>
225                                 <extensions>true</extensions>
226                                 <configuration>
227                                         <nexusUrl>${nexusproxy}</nexusUrl>
228                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
229                                         <serverId>ecomp-staging</serverId>
230                                 </configuration>
231                         </plugin>
232                         <plugin>
233                                 <groupId>org.springframework.boot</groupId>
234                                 <artifactId>spring-boot-maven-plugin</artifactId>
235                                 <executions>
236                                         <execution>
237                                                 <goals>
238                                                         <goal>repackage</goal>
239                                                 </goals>
240                                                 <phase>none</phase>
241                                         </execution>
242                                 </executions>
243                         </plugin>
244                         <plugin>
245                                 <artifactId>maven-war-plugin</artifactId>
246                                 <configuration>
247                                         <packagingExcludes>WEB-INF/lib/javax.websocket-api-1.1.jar</packagingExcludes>
248                                 </configuration>
249                         </plugin>
250                         <plugin>
251                                 <groupId>org.apache.maven.plugins</groupId>
252                                 <artifactId>maven-compiler-plugin</artifactId>
253                                 <version>3.2</version>
254                                 <configuration>
255                                         <source>1.8</source>
256                                         <target>1.8</target>
257                                 </configuration>
258                         </plugin>
259                         <plugin>
260                                 <groupId>org.jacoco</groupId>
261                                 <artifactId>jacoco-maven-plugin</artifactId>
262                                 <version>0.7.1.201405082137</version>
263                                 <configuration>
264                                         <dumpOnExit>true</dumpOnExit>
265                                         <includes>
266                                                 <include>org.openecomp.policy.*</include>
267                                         </includes>
268                                 </configuration>
269                                 <executions>
270                                         <execution>
271                                                 <id>jacoco-initialize-unit-tests</id>
272                                                 <goals>
273                                                         <goal>prepare-agent</goal>
274                                                 </goals>
275                                                 <configuration>
276                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
277                                                 </configuration>
278                                         </execution>
279                                 </executions>
280                         </plugin>
281                         <plugin>
282                                 <groupId>com.fortify.ps.maven.plugin</groupId>
283                                 <artifactId>sca-maven-plugin</artifactId>
284                                 <version>4.20</version>
285                         </plugin>
286                 </plugins>
287         </build>
288 </project>