Merge "Removed useless parentheses"
[policy/drools-pdp.git] / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3   ONAP Policy Engine - Drools PDP
4   ================================================================================
5   Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6   ================================================================================
7   Licensed under the Apache License, Version 2.0 (the "License");
8   you may not use this file except in compliance with the License.
9   You may obtain a copy of the License at
10
11        http://www.apache.org/licenses/LICENSE-2.0
12
13   Unless required by applicable law or agreed to in writing, software
14   distributed under the License is distributed on an "AS IS" BASIS,
15   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16   See the License for the specific language governing permissions and
17   limitations under the License.
18   ============LICENSE_END=========================================================
19   -->
20
21 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
23         <modelVersion>4.0.0</modelVersion>
24
25         <parent>
26                 <groupId>org.onap.oparent</groupId>
27                 <artifactId>oparent</artifactId>
28                 <version>1.0.0-SNAPSHOT</version>
29                 <relativePath/>
30         </parent>
31
32         <groupId>org.onap.policy.drools-pdp</groupId>
33         <artifactId>drools-pdp</artifactId>
34         <version>1.1.0-SNAPSHOT</version>
35         <packaging>pom</packaging>
36         <name>policy-drools-pdp</name>
37
38         <description>The ONAP Policy Engine drools-based PDP Project</description>
39
40         <properties>
41                 <project.source.version>1.8</project.source.version>
42                 <project.target.version>1.8</project.target.version>
43                 <common-modules.version>1.1.0-SNAPSHOT</common-modules.version>
44                 <dmaap.version>0.2.12</dmaap.version>
45                 <cambria.version>0.0.1</cambria.version>
46                 <jersey.version>2.25.1</jersey.version>
47                 <jersey.swagger.version>1.5.16</jersey.swagger.version>
48                 <jackson.version>2.9.1</jackson.version>
49                 <http.client.version>4.5.2</http.client.version>
50                 <http.core.version>4.4.4</http.core.version>
51                 <logback.version>1.2.3</logback.version>
52                 <junit.version>4.12</junit.version>
53                 <eclipselink.version>2.7.0</eclipselink.version>
54                 <mariadb.jdbc.version>2.1.0</mariadb.jdbc.version>
55                 <hibernate.core.version>5.2.10.Final</hibernate.core.version>
56                 <hibernate.commons.annotations.version>5.0.1.Final</hibernate.commons.annotations.version>
57                 <commons.io.version>2.5</commons.io.version>
58                 <guava.version>23.0</guava.version>
59
60                 <nexusproxy>https://nexus.onap.org</nexusproxy>
61                 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
62                 <releases.path>content/repositories/releases/</releases.path>
63                 <snapshots.path>content/repositories/snapshots/</snapshots.path>
64                 <staging.path>content/repositories/staging/</staging.path>
65         </properties>
66
67         <modules>
68                 <module>policy-utils</module>
69                 <module>policy-core</module>
70                 <module>policy-endpoints</module>
71                 <module>policy-management</module>
72                 <module>feature-healthcheck</module>
73                 <module>feature-eelf</module>
74                 <module>feature-session-persistence</module>
75                 <module>feature-test-transaction</module>
76                 <module>api-state-management</module>
77                 <module>feature-state-management</module>
78                 <module>api-active-standby-management</module>
79                 <module>feature-active-standby-management</module>
80                 <module>packages</module>
81         </modules>
82
83         <distributionManagement>
84                 <repository>
85                         <id>ecomp-releases</id>
86                         <name>ONAP Release Repository</name>
87                         <url>${nexusproxy}/${releases.path}</url>
88                 </repository>
89                 <snapshotRepository>
90                         <id>ecomp-snapshots</id>
91                         <name>ONAP Snapshot Repository</name>
92                         <url>${nexusproxy}/${snapshots.path}</url>
93                 </snapshotRepository>
94                 <site>
95                         <id>ecomp-site</id>
96                         <url>dav:${nexusproxy}${sitePath}</url>
97                 </site>
98         </distributionManagement>
99
100         <dependencyManagement>
101                 <dependencies>
102                         <dependency>
103                                 <groupId>com.google.guava</groupId>
104                                 <artifactId>guava</artifactId>
105                                 <version>${guava.version}</version>
106                         </dependency>
107                         <dependency>
108                                 <groupId>javax.ws.rs</groupId>
109                                 <artifactId>javax.ws.rs-api</artifactId>
110                                 <version>2.0.1</version>
111                         </dependency>
112                         <dependency>
113                                 <groupId>org.glassfish.hk2.external</groupId>
114                                 <artifactId>javax.inject</artifactId>
115                                 <version>2.4.0-b31</version>
116                         </dependency>
117                         <dependency>
118                                 <groupId>com.fasterxml.jackson.jaxrs</groupId>
119                                 <artifactId>jackson-jaxrs-base</artifactId>
120                                 <version>${jackson.version}</version>
121                         </dependency>
122                         <dependency>
123                                 <groupId>com.fasterxml.jackson.jaxrs</groupId>
124                                 <artifactId>jackson-jaxrs-json-provider</artifactId>
125                                 <version>${jackson.version}</version>
126                         </dependency>
127                         <dependency>
128                                 <groupId>com.fasterxml.jackson.dataformat</groupId>
129                                 <artifactId>jackson-dataformat-xml</artifactId>
130                                 <version>${jackson.version}</version>
131                         </dependency>
132                         <dependency>
133                                 <groupId>com.fasterxml.jackson.dataformat</groupId>
134                                 <artifactId>jackson-dataformat-yaml</artifactId>
135                                 <version>${jackson.version}</version>
136                         </dependency>
137                         <dependency>
138                                 <groupId>com.fasterxml.jackson.datatype</groupId>
139                                 <artifactId>jackson-datatype-joda</artifactId>
140                                 <version>${jackson.version}</version>
141                         </dependency>
142                         <dependency>
143                                 <groupId>org.glassfish.jersey.containers</groupId>
144                                 <artifactId>jersey-common</artifactId>
145                                 <version>${jersey.version}</version>
146                         </dependency>
147                         <dependency>
148                                 <groupId>org.glassfish.jersey.containers</groupId>
149                                 <artifactId>jersey-container-servlet-core</artifactId>
150                                 <version>${jersey.version}</version>
151                         </dependency>
152                         <dependency>
153                                 <groupId>io.swagger</groupId>
154                                 <artifactId>swagger-jersey2-jaxrs</artifactId>
155                                 <version>${jersey.swagger.version}</version>
156                         </dependency>
157                         <dependency>
158                                 <groupId>org.apache.httpcomponents</groupId>
159                                 <artifactId>httpclient</artifactId>
160                                 <version>${http.client.version}</version>
161                         </dependency>
162                         <dependency>
163                                 <groupId>org.apache.httpcomponents</groupId>
164                                 <artifactId>httpcore</artifactId>
165                                 <version>${http.core.version}</version>
166                         </dependency>
167                         <dependency>
168                                 <groupId>ch.qos.logback</groupId>
169                                 <artifactId>logback-classic</artifactId>
170                                 <version>${logback.version}</version>
171                         </dependency>
172                         <dependency>
173                                 <groupId>junit</groupId>
174                                 <artifactId>junit</artifactId>
175                                 <version>${junit.version}</version>
176                         </dependency>
177                         <dependency>
178                                 <groupId>org.eclipse.persistence</groupId>
179                                 <artifactId>eclipselink</artifactId>
180                                 <version>${eclipselink.version}</version>
181                         </dependency>
182                         <dependency>
183                                 <groupId>org.eclipse.persistence</groupId>
184                                 <artifactId>org.eclipse.persistence.jpa</artifactId>
185                                 <version>${eclipselink.version}</version>
186                         </dependency>
187                         <dependency>
188                             <groupId>org.mariadb.jdbc</groupId>
189                             <artifactId>mariadb-java-client</artifactId>
190                             <version>${mariadb.jdbc.version}</version>
191                         </dependency>
192                         <dependency>
193                             <groupId>org.hibernate</groupId>
194                             <artifactId>hibernate-core</artifactId>
195                             <version>${hibernate.core.version}</version>
196                         </dependency>
197                         <dependency>
198                             <groupId>org.hibernate.common</groupId>
199                             <artifactId>hibernate-commons-annotations</artifactId>
200                             <version>${hibernate.commons.annotations.version}</version>
201                         </dependency>
202                         <dependency>
203                             <groupId>commons-io</groupId>
204                             <artifactId>commons-io</artifactId>
205                             <version>${commons.io.version}</version>
206                         </dependency>
207                 </dependencies>
208         </dependencyManagement>
209         
210         <dependencies>
211                 <dependency>
212                         <groupId>org.onap.oparent</groupId>
213                         <artifactId>version-check-maven-plugin</artifactId>
214                         <version>1.0.0-SNAPSHOT</version>
215                         <scope>provided</scope>
216                         <optional>true</optional>
217                         <exclusions>
218                                 <exclusion>
219                                         <groupId>*</groupId>
220                                         <artifactId>*</artifactId>
221                                 </exclusion>
222                         </exclusions>
223                 </dependency>
224         </dependencies>
225
226         <build>
227                 <plugins>
228                         <plugin>
229                                 <groupId>org.sonatype.plugins</groupId>
230                                 <artifactId>nexus-staging-maven-plugin</artifactId>
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.apache.maven.plugins</groupId>
240                                 <artifactId>maven-deploy-plugin</artifactId>
241                                 <configuration>
242                                         <skip />
243                                 </configuration>
244                         </plugin>
245                         <plugin>
246                                 <groupId>org.apache.maven.plugins</groupId>
247                                 <artifactId>maven-compiler-plugin</artifactId>
248                                 <version>3.0</version>
249                                 <configuration>
250                                         <encoding>${project.encoding}</encoding>
251                                         <source>${project.source.version}</source>
252                                         <target>${project.target.version}</target>
253                                 </configuration>
254                         </plugin>
255                         <plugin>
256                                 <groupId>org.apache.maven.plugins</groupId>
257                                 <artifactId>maven-resources-plugin</artifactId>
258                                 <version>2.6</version>
259                                 <configuration>
260                                         <encoding>${project.encoding}</encoding>
261                                 </configuration>
262                         </plugin>
263
264                         <plugin>
265                           <groupId>org.apache.maven.plugins</groupId>
266                           <artifactId>maven-site-plugin</artifactId>
267                           <dependencies>
268                             <dependency>
269                               <groupId>org.apache.maven.wagon</groupId>
270                               <artifactId>wagon-webdav-jackrabbit</artifactId>
271                               <version>2.10</version>
272                             </dependency>
273                           </dependencies>
274                         </plugin>
275
276                         <plugin>
277                                 <groupId>org.jacoco</groupId>
278                                 <artifactId>jacoco-maven-plugin</artifactId>
279                         </plugin>
280
281                         <plugin>
282                                 <groupId>org.codehaus.mojo</groupId>
283                                 <artifactId>sonar-maven-plugin</artifactId>
284                         </plugin>       
285                         
286                         <plugin>
287                                 <groupId>org.onap.oparent</groupId>
288                                 <artifactId>version-check-maven-plugin</artifactId>
289                                 <executions>
290                                      <execution>
291                                        <id>version-check</id>
292                                        <phase/>
293                                      </execution>    
294                                 </executions>
295                         </plugin>
296
297                 </plugins>
298                 <pluginManagement>
299                         <plugins>
300                <plugin>
301                     <groupId>org.eclipse.m2e</groupId>
302                     <artifactId>lifecycle-mapping</artifactId>
303                     <version>1.0.0</version>
304                     <configuration>
305                         <lifecycleMappingMetadata>
306                             <pluginExecutions>
307                                 <pluginExecution>
308                                     <pluginExecutionFilter>
309                                         <groupId>org.apache.maven.plugins</groupId>
310                                         <artifactId>maven-checkstyle-plugin</artifactId>
311                                         <versionRange>2.17,)</versionRange>
312                                         <goals>
313                                             <goal>check</goal>
314                                         </goals>
315                                     </pluginExecutionFilter>
316                                     <action>
317                                         <ignore />
318                                     </action>
319                                 </pluginExecution>
320                             </pluginExecutions>
321                         </lifecycleMappingMetadata>
322                     </configuration>
323                 </plugin>
324                         </plugins>
325                 </pluginManagement>
326         </build>
327         <reporting>
328           <plugins>
329             <plugin>
330               <groupId>org.apache.maven.plugins</groupId>
331               <artifactId>maven-javadoc-plugin</artifactId>
332               <version>2.10.4</version>
333               <configuration>
334                 <failOnError>false</failOnError>
335                 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
336                 <docletArtifact>
337                   <groupId>org.umlgraph</groupId>
338                   <artifactId>umlgraph</artifactId>
339                   <version>5.6</version>
340                 </docletArtifact>
341                 <additionalparam>-views</additionalparam>
342                 <useStandardDocletOptions>true</useStandardDocletOptions>
343               </configuration>
344             </plugin>
345           </plugins>
346         </reporting>
347
348 </project>