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