Initial OpenECOMP policy/engine commit
[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.springframework.boot</groupId>
35                 <artifactId>spring-boot-starter-parent</artifactId>
36                 <version>1.3.3.RELEASE</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         </properties>
52
53         <repositories>
54                 <repository>
55                         <id>spring-releases</id>
56                         <url>https://repo.spring.io/libs-release</url>
57                 </repository>
58         </repositories>
59         <pluginRepositories>
60                 <pluginRepository>
61                         <id>spring-releases</id>
62                         <url>https://repo.spring.io/libs-release</url>
63                 </pluginRepository>
64         </pluginRepositories>
65
66         <dependencies>
67                 <dependency>
68                         <groupId>org.openecomp.policy.engine</groupId>
69                         <artifactId>PolicyEngineAPI</artifactId>
70                         <version>${project.version}</version>
71                         <exclusions>
72                                 <exclusion>
73                                         <groupId>javax.websocket</groupId>
74                                         <artifactId>javax.websocket-api</artifactId>
75                                 </exclusion>
76                                 <exclusion>
77                                         <groupId>com.google.guava</groupId>
78                                         <artifactId>guava</artifactId>
79                                 </exclusion>
80                                 <exclusion>
81                                         <artifactId>slf4j-log4j12</artifactId>
82                                         <groupId>org.slf4j</groupId>
83                                 </exclusion>
84                                 <exclusion>
85                                         <groupId>org.springframework</groupId>
86                                         <artifactId>spring-mock</artifactId>
87                                 </exclusion>
88                         </exclusions>
89                 </dependency>
90                 <dependency>
91                         <groupId>org.springframework.boot</groupId>
92                         <artifactId>spring-boot-starter-web</artifactId>
93                         <exclusions>
94                                 <exclusion>
95                                         <groupId>org.slf4j</groupId>
96                                         <artifactId>log4j-over-slf4j</artifactId>
97                                 </exclusion>
98                                 <exclusion>
99                                         <artifactId>logback-classic</artifactId>
100                                         <groupId>ch.qos.logback</groupId>
101                                 </exclusion>
102                                 <exclusion>
103                                         <artifactId>logback-core</artifactId>
104                                         <groupId>ch.qos.logback</groupId>
105                                 </exclusion>
106                         </exclusions>
107                 </dependency>
108                 <dependency>
109                         <groupId>javax.servlet</groupId>
110                         <artifactId>javax.servlet-api</artifactId>
111                         <version>3.0.1</version>
112                         <scope>provided</scope>
113                 </dependency>
114                 <dependency>
115                         <groupId>io.springfox</groupId>
116                         <artifactId>springfox-swagger2</artifactId>
117                         <version>2.4.0</version>
118                 </dependency>
119                 <dependency>
120                         <groupId>io.springfox</groupId>
121                         <artifactId>springfox-swagger-ui</artifactId>
122                         <version>2.4.0</version>
123                 </dependency>
124                 <dependency>
125                         <groupId>org.springframework</groupId>
126                         <artifactId>spring-web</artifactId>
127                 </dependency>
128                 <dependency>
129                         <groupId>org.springframework.boot</groupId>
130                         <artifactId>spring-boot-starter-tomcat</artifactId>
131                         <scope>provided</scope>
132                 </dependency>
133                 <dependency>
134                         <groupId>com.fasterxml.jackson.core</groupId>
135                         <artifactId>jackson-databind</artifactId>
136                 </dependency>
137                 <dependency>
138                         <groupId>org.glassfish</groupId>
139                         <artifactId>javax.json</artifactId>
140                         <version>1.0.4</version>
141                 </dependency>
142                 <dependency>
143                         <groupId>org.apache.httpcomponents</groupId>
144                         <artifactId>httpclient</artifactId>
145                         <version>4.2.4</version>
146                 </dependency>
147                 <dependency>
148                         <groupId>commons-io</groupId>
149                         <artifactId>commons-io</artifactId>
150                         <version>2.4</version>
151                 </dependency>
152                 <dependency>
153                         <groupId>org.neo4j</groupId>
154                         <artifactId>neo4j-cypher-compiler-2.1</artifactId>
155                         <version>2.1.2</version>
156                 </dependency>
157                 <dependency>
158                         <groupId>javax.validation</groupId>
159                         <artifactId>validation-api</artifactId>
160                         <version>1.1.0.Final</version>
161                 </dependency>
162                 <dependency>
163                         <groupId>com.google.guava</groupId>
164                         <artifactId>guava</artifactId>
165                         <version>19.0</version>
166                 </dependency>
167                 <dependency>
168                         <groupId>ch.qos.logback</groupId>
169                         <artifactId>logback-core</artifactId>
170                         <version>1.1.1</version>
171                 </dependency>
172                 <dependency>
173                         <groupId>ch.qos.logback</groupId>
174                         <artifactId>logback-classic</artifactId>
175                         <version>1.1.1</version>
176                 </dependency>
177                 <dependency>
178                         <groupId>org.springframework</groupId>
179                         <artifactId>spring-test</artifactId>
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.springframework.boot</groupId>
203                                 <artifactId>spring-boot-maven-plugin</artifactId>
204                                 <executions>
205                                         <execution>
206                                                 <goals>
207                                                         <goal>repackage</goal>
208                                                 </goals>
209                                                 <phase>none</phase>
210                                         </execution>
211                                 </executions>
212                         </plugin>
213                         <plugin>
214                                 <artifactId>maven-war-plugin</artifactId>
215                                 <configuration>
216                                         <packagingExcludes>WEB-INF/lib/javax.websocket-api-1.1.jar</packagingExcludes>
217                                 </configuration>
218                         </plugin>
219                         <plugin>
220                                 <groupId>org.apache.maven.plugins</groupId>
221                                 <artifactId>maven-compiler-plugin</artifactId>
222                                 <version>3.2</version>
223                                 <configuration>
224                                         <source>1.8</source>
225                                         <target>1.8</target>
226                                 </configuration>
227                         </plugin>
228                         <plugin>
229                                 <groupId>org.jacoco</groupId>
230                                 <artifactId>jacoco-maven-plugin</artifactId>
231                                 <version>0.7.1.201405082137</version>
232                                 <configuration>
233                                         <dumpOnExit>true</dumpOnExit>
234                                         <includes>
235                                                 <include>org.openecomp.policy.*</include>
236                                         </includes>
237                                 </configuration>
238                                 <executions>
239                                         <execution>
240                                                 <id>jacoco-initialize-unit-tests</id>
241                                                 <goals>
242                                                         <goal>prepare-agent</goal>
243                                                 </goals>
244                                                 <configuration>
245                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
246                                                 </configuration>
247                                         </execution>
248                                 </executions>
249                         </plugin>
250                         <plugin>
251                                 <groupId>com.fortify.ps.maven.plugin</groupId>
252                                 <artifactId>sca-maven-plugin</artifactId>
253                                 <version>4.20</version>
254                         </plugin>
255                 </plugins>
256         </build>
257 </project>