release-1.0.0 changes
[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         <artifactId>PyPDPServer</artifactId>
27         <packaging>war</packaging>
28
29         <description>PyPDP Server</description>
30
31         <parent>
32                 <groupId>org.openecomp.policy.engine</groupId>
33                 <artifactId>PolicyEngineSuite</artifactId>
34                 <version>1.0.0</version>
35         </parent>
36
37         <properties>
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> -->
42
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>
51         </properties>
52
53         <repositories>
54                 <repository>
55                         <id>spring-releases</id>
56                         <url>https://repo.spring.io/libs-release</url>
57                 </repository>
58                 <repository>
59                         <id>ecomp-releases</id>
60                         <name>OpenECOMP Release Repository</name>
61                         <url>${nexusproxy}/content/repositories/releases/</url>
62                 </repository>
63                 <repository>
64                         <id>ecomp-staging</id>
65                         <name>OpenECOMP Staging Repository</name>
66                         <url>${nexusproxy}/content/repositories/staging/</url>
67                 </repository>
68         </repositories>
69         <pluginRepositories>
70                 <pluginRepository>
71                         <id>spring-releases</id>
72                         <url>https://repo.spring.io/libs-release</url>
73                 </pluginRepository>
74         </pluginRepositories>
75
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         
91         <dependencyManagement>
92                 <dependencies>
93                         <dependency>
94                      <groupId>org.springframework.boot</groupId>
95                      <artifactId>spring-boot-dependencies</artifactId>
96                      <version>${springboot.version}</version>
97                      <type>pom</type>
98                      <scope>import</scope>
99                  </dependency>
100                 </dependencies>
101         </dependencyManagement>
102
103         <dependencies>
104                 <dependency>
105                         <groupId>org.openecomp.policy.engine</groupId>
106                         <artifactId>PolicyEngineAPI</artifactId>
107                         <version>${project.version}</version>
108                         <exclusions>
109                                 <exclusion>
110                                         <groupId>javax.websocket</groupId>
111                                         <artifactId>javax.websocket-api</artifactId>
112                                 </exclusion>
113                                 <exclusion>
114                                         <groupId>com.google.guava</groupId>
115                                         <artifactId>guava</artifactId>
116                                 </exclusion>
117                                 <exclusion>
118                                         <artifactId>slf4j-log4j12</artifactId>
119                                         <groupId>org.slf4j</groupId>
120                                 </exclusion>
121                                 <exclusion>
122                                         <groupId>org.springframework</groupId>
123                                         <artifactId>spring-mock</artifactId>
124                                 </exclusion>
125                         </exclusions>
126                 </dependency>
127                 <dependency>
128                         <groupId>org.springframework.boot</groupId>
129                         <artifactId>spring-boot-starter-web</artifactId>
130              <version>${springboot.version}</version>
131                         <exclusions>
132                                 <exclusion>
133                                         <groupId>org.slf4j</groupId>
134                                         <artifactId>log4j-over-slf4j</artifactId>
135                                 </exclusion>
136                                 <exclusion>
137                                         <artifactId>logback-classic</artifactId>
138                                         <groupId>ch.qos.logback</groupId>
139                                 </exclusion>
140                                 <exclusion>
141                                         <artifactId>logback-core</artifactId>
142                                         <groupId>ch.qos.logback</groupId>
143                                 </exclusion>
144                         </exclusions>
145                 </dependency>
146                 <dependency>
147                         <groupId>javax.servlet</groupId>
148                         <artifactId>javax.servlet-api</artifactId>
149                         <version>3.0.1</version>
150                         <scope>provided</scope>
151                 </dependency>
152                 <dependency>
153                         <groupId>io.springfox</groupId>
154                         <artifactId>springfox-swagger2</artifactId>
155                         <version>2.4.0</version>
156                 </dependency>
157                 <dependency>
158                         <groupId>io.springfox</groupId>
159                         <artifactId>springfox-swagger-ui</artifactId>
160                         <version>2.4.0</version>
161                 </dependency>
162                 <dependency>
163                         <groupId>org.springframework</groupId>
164                         <artifactId>spring-web</artifactId>
165                         <version>4.2.5.RELEASE</version>
166                 </dependency>
167                 <dependency>
168                         <groupId>org.glassfish</groupId>
169                         <artifactId>javax.json</artifactId>
170                         <version>1.0.4</version>
171                 </dependency>
172                 <dependency>
173                         <groupId>org.apache.httpcomponents</groupId>
174                         <artifactId>httpclient</artifactId>
175                         <version>4.2.4</version>
176                 </dependency>
177                 <dependency>
178                         <groupId>commons-io</groupId>
179                         <artifactId>commons-io</artifactId>
180                         <version>2.4</version>
181                 </dependency>
182                 <dependency>
183                         <groupId>javax.validation</groupId>
184                         <artifactId>validation-api</artifactId>
185                         <version>1.1.0.Final</version>
186                 </dependency>
187                 <dependency>
188                         <groupId>com.google.guava</groupId>
189                         <artifactId>guava</artifactId>
190                         <version>19.0</version>
191                 </dependency>
192                 <dependency>
193                         <groupId>ch.qos.logback</groupId>
194                         <artifactId>logback-core</artifactId>
195                         <version>1.1.1</version>
196                 </dependency>
197                 <dependency>
198                         <groupId>ch.qos.logback</groupId>
199                         <artifactId>logback-classic</artifactId>
200                         <version>1.1.1</version>
201                 </dependency>
202                 <dependency>
203                         <groupId>org.springframework</groupId>
204                         <artifactId>spring-test</artifactId>
205                         <version>4.2.5.RELEASE</version>
206                 </dependency>
207                 <dependency>
208                         <groupId>org.mapstruct</groupId>
209                         <artifactId>mapstruct</artifactId>
210                         <version>1.0.0.Final</version>
211                 </dependency>
212                 <dependency>
213                         <groupId>org.skyscreamer</groupId>
214                         <artifactId>jsonassert</artifactId>
215                         <version>1.3.0</version>
216                 </dependency>
217                 <dependency>
218                         <groupId>javax.ws.rs</groupId>
219                         <artifactId>javax.ws.rs-api</artifactId>
220                         <version>2.0.1</version>
221                         <scope>test</scope>
222                 </dependency>
223         </dependencies>
224
225         <build>
226                 <plugins>
227                         <plugin>
228                                 <groupId>org.sonatype.plugins</groupId>
229                                 <artifactId>nexus-staging-maven-plugin</artifactId>
230                                 <version>1.6.7</version>
231                                 <extensions>true</extensions>
232                                 <configuration>
233                                         <nexusUrl>${nexusproxy}</nexusUrl>
234                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
235                                         <serverId>ecomp-staging</serverId>
236                                 </configuration>
237                         </plugin>
238                         <plugin>
239                                 <groupId>org.springframework.boot</groupId>
240                                 <artifactId>spring-boot-maven-plugin</artifactId>
241                      <version>${springboot.version}</version>
242                                 <executions>
243                                         <execution>
244                                                 <goals>
245                                                         <goal>repackage</goal>
246                                                 </goals>
247                                                 <phase>none</phase>
248                                         </execution>
249                                 </executions>
250                         </plugin>
251                         <plugin>
252                                 <artifactId>maven-war-plugin</artifactId>
253                                 <version>2.2</version>
254                                 <configuration>
255                                         <packagingExcludes>WEB-INF/lib/javax.websocket-api-1.1.jar</packagingExcludes>
256                                 </configuration>
257                         </plugin>
258                         <plugin>
259                                 <groupId>org.apache.maven.plugins</groupId>
260                                 <artifactId>maven-compiler-plugin</artifactId>
261                                 <version>3.2</version>
262                                 <configuration>
263                                         <source>1.8</source>
264                                         <target>1.8</target>
265                                 </configuration>
266                         </plugin>
267                         <plugin>
268                                 <groupId>com.fortify.ps.maven.plugin</groupId>
269                                 <artifactId>sca-maven-plugin</artifactId>
270                                 <version>4.20</version>
271                         </plugin>
272                 </plugins>
273         </build>
274 </project>