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