Small change to please sonar
[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 Engine - 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.22.2</jersey.version>
47                 <jersey.swagger.version>1.5.13</jersey.swagger.version>
48                 <jackson.version>2.8.4</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>16.0.1</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>packages</module>
77         </modules>
78
79         <distributionManagement>
80                 <repository>
81                         <id>ecomp-releases</id>
82                         <name>ONAP Release Repository</name>
83                         <url>${nexusproxy}/${releases.path}</url>
84                 </repository>
85                 <snapshotRepository>
86                         <id>ecomp-snapshots</id>
87                         <name>ONAP Snapshot Repository</name>
88                         <url>${nexusproxy}/${snapshots.path}</url>
89                 </snapshotRepository>
90                 <site>
91                         <id>ecomp-site</id>
92                         <url>dav:${nexusproxy}${sitePath}</url>
93                 </site>
94         </distributionManagement>
95
96         <dependencyManagement>
97                 <dependencies>
98                         <dependency>
99                                 <groupId>com.google.guava</groupId>
100                                 <artifactId>guava</artifactId>
101                                 <version>${guava.version}</version>
102                         </dependency>
103                         <dependency>
104                                 <groupId>javax.ws.rs</groupId>
105                                 <artifactId>javax.ws.rs-api</artifactId>
106                                 <version>2.0.1</version>
107                         </dependency>
108                         <dependency>
109                                 <groupId>org.glassfish.hk2.external</groupId>
110                                 <artifactId>javax.inject</artifactId>
111                                 <version>2.4.0-b31</version>
112                         </dependency>
113                         <dependency>
114                                 <groupId>com.fasterxml.jackson.jaxrs</groupId>
115                                 <artifactId>jackson-jaxrs-base</artifactId>
116                                 <version>${jackson.version}</version>
117                         </dependency>
118                         <dependency>
119                                 <groupId>com.fasterxml.jackson.jaxrs</groupId>
120                                 <artifactId>jackson-jaxrs-json-provider</artifactId>
121                                 <version>${jackson.version}</version>
122                         </dependency>
123                         <dependency>
124                                 <groupId>com.fasterxml.jackson.dataformat</groupId>
125                                 <artifactId>jackson-dataformat-xml</artifactId>
126                                 <version>${jackson.version}</version>
127                         </dependency>
128                         <dependency>
129                                 <groupId>com.fasterxml.jackson.dataformat</groupId>
130                                 <artifactId>jackson-dataformat-yaml</artifactId>
131                                 <version>${jackson.version}</version>
132                         </dependency>
133                         <dependency>
134                                 <groupId>com.fasterxml.jackson.datatype</groupId>
135                                 <artifactId>jackson-datatype-joda</artifactId>
136                                 <version>${jackson.version}</version>
137                         </dependency>
138                         <dependency>
139                                 <groupId>org.glassfish.jersey.containers</groupId>
140                                 <artifactId>jersey-common</artifactId>
141                                 <version>${jersey.version}</version>
142                         </dependency>
143                         <dependency>
144                                 <groupId>org.glassfish.jersey.containers</groupId>
145                                 <artifactId>jersey-container-servlet-core</artifactId>
146                                 <version>${jersey.version}</version>
147                         </dependency>
148                         <dependency>
149                                 <groupId>io.swagger</groupId>
150                                 <artifactId>swagger-jersey2-jaxrs</artifactId>
151                                 <version>${jersey.swagger.version}</version>
152                         </dependency>
153                         <dependency>
154                                 <groupId>org.apache.httpcomponents</groupId>
155                                 <artifactId>httpclient</artifactId>
156                                 <version>${http.client.version}</version>
157                         </dependency>
158                         <dependency>
159                                 <groupId>org.apache.httpcomponents</groupId>
160                                 <artifactId>httpcore</artifactId>
161                                 <version>${http.core.version}</version>
162                         </dependency>
163                         <dependency>
164                                 <groupId>ch.qos.logback</groupId>
165                                 <artifactId>logback-classic</artifactId>
166                                 <version>${logback.version}</version>
167                         </dependency>
168                         <dependency>
169                                 <groupId>junit</groupId>
170                                 <artifactId>junit</artifactId>
171                                 <version>${junit.version}</version>
172                         </dependency>
173                         <dependency>
174                                 <groupId>org.eclipse.persistence</groupId>
175                                 <artifactId>eclipselink</artifactId>
176                                 <version>${eclipselink.version}</version>
177                         </dependency>
178                         <dependency>
179                                 <groupId>org.eclipse.persistence</groupId>
180                                 <artifactId>org.eclipse.persistence.jpa</artifactId>
181                                 <version>${eclipselink.version}</version>
182                         </dependency>
183                         <dependency>
184                             <groupId>org.mariadb.jdbc</groupId>
185                             <artifactId>mariadb-java-client</artifactId>
186                             <version>${mariadb.jdbc.version}</version>
187                         </dependency>
188                         <dependency>
189                             <groupId>org.hibernate</groupId>
190                             <artifactId>hibernate-core</artifactId>
191                             <version>${hibernate.core.version}</version>
192                         </dependency>
193                         <dependency>
194                             <groupId>org.hibernate.common</groupId>
195                             <artifactId>hibernate-commons-annotations</artifactId>
196                             <version>${hibernate.commons.annotations.version}</version>
197                         </dependency>
198                         <dependency>
199                             <groupId>commons-io</groupId>
200                             <artifactId>commons-io</artifactId>
201                             <version>${commons.io.version}</version>
202                         </dependency>
203                 </dependencies>
204         </dependencyManagement>
205         
206         <dependencies>
207                 <dependency>
208                         <groupId>org.onap.oparent</groupId>
209                         <artifactId>version-check-maven-plugin</artifactId>
210                         <version>1.0.0-SNAPSHOT</version>
211                         <scope>provided</scope>
212                         <optional>true</optional>
213                         <exclusions>
214                                 <exclusion>
215                                         <groupId>*</groupId>
216                                         <artifactId>*</artifactId>
217                                 </exclusion>
218                         </exclusions>
219                 </dependency>
220         </dependencies>
221
222         <build>
223                 <plugins>
224                         <plugin>
225                                 <groupId>org.sonatype.plugins</groupId>
226                                 <artifactId>nexus-staging-maven-plugin</artifactId>
227                                 <extensions>true</extensions>
228                                 <configuration>
229                                         <nexusUrl>${nexusproxy}</nexusUrl>
230                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
231                                         <serverId>ecomp-staging</serverId>
232                                 </configuration>
233                         </plugin>
234                         <plugin>
235                                 <groupId>org.apache.maven.plugins</groupId>
236                                 <artifactId>maven-deploy-plugin</artifactId>
237                                 <configuration>
238                                         <skip />
239                                 </configuration>
240                         </plugin>
241                         <plugin>
242                                 <groupId>org.apache.maven.plugins</groupId>
243                                 <artifactId>maven-compiler-plugin</artifactId>
244                                 <version>3.0</version>
245                                 <configuration>
246                                         <encoding>${project.encoding}</encoding>
247                                         <source>${project.source.version}</source>
248                                         <target>${project.target.version}</target>
249                                 </configuration>
250                         </plugin>
251                         <plugin>
252                                 <groupId>org.apache.maven.plugins</groupId>
253                                 <artifactId>maven-resources-plugin</artifactId>
254                                 <version>2.6</version>
255                                 <configuration>
256                                         <encoding>${project.encoding}</encoding>
257                                 </configuration>
258                         </plugin>
259
260                         <plugin>
261                           <groupId>org.apache.maven.plugins</groupId>
262                           <artifactId>maven-site-plugin</artifactId>
263                           <dependencies>
264                             <dependency>
265                               <groupId>org.apache.maven.wagon</groupId>
266                               <artifactId>wagon-webdav-jackrabbit</artifactId>
267                               <version>2.10</version>
268                             </dependency>
269                           </dependencies>
270                         </plugin>
271
272                         <plugin>
273                                 <groupId>org.jacoco</groupId>
274                                 <artifactId>jacoco-maven-plugin</artifactId>
275                         </plugin>
276
277                         <plugin>
278                                 <groupId>org.codehaus.mojo</groupId>
279                                 <artifactId>sonar-maven-plugin</artifactId>
280                         </plugin>       
281                         
282                         <plugin>
283                                 <groupId>org.onap.oparent</groupId>
284                                 <artifactId>version-check-maven-plugin</artifactId>
285                                 <executions>
286                                      <execution>
287                                        <id>version-check</id>
288                                        <phase/>
289                                      </execution>    
290                                 </executions>
291                         </plugin>
292
293                 </plugins>
294                 <pluginManagement>
295                         <plugins>
296                <plugin>
297                     <groupId>org.eclipse.m2e</groupId>
298                     <artifactId>lifecycle-mapping</artifactId>
299                     <version>1.0.0</version>
300                     <configuration>
301                         <lifecycleMappingMetadata>
302                             <pluginExecutions>
303                                 <pluginExecution>
304                                     <pluginExecutionFilter>
305                                         <groupId>org.apache.maven.plugins</groupId>
306                                         <artifactId>maven-checkstyle-plugin</artifactId>
307                                         <versionRange>2.17,)</versionRange>
308                                         <goals>
309                                             <goal>check</goal>
310                                         </goals>
311                                     </pluginExecutionFilter>
312                                     <action>
313                                         <ignore />
314                                     </action>
315                                 </pluginExecution>
316                             </pluginExecutions>
317                         </lifecycleMappingMetadata>
318                     </configuration>
319                 </plugin>
320                         </plugins>
321                 </pluginManagement>
322         </build>
323         <reporting>
324           <plugins>
325             <plugin>
326               <groupId>org.apache.maven.plugins</groupId>
327               <artifactId>maven-javadoc-plugin</artifactId>
328               <version>2.10.4</version>
329               <configuration>
330                 <failOnError>false</failOnError>
331                 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
332                 <docletArtifact>
333                   <groupId>org.umlgraph</groupId>
334                   <artifactId>umlgraph</artifactId>
335                   <version>5.6</version>
336                 </docletArtifact>
337                 <additionalparam>-views</additionalparam>
338                 <useStandardDocletOptions>true</useStandardDocletOptions>
339               </configuration>
340             </plugin>
341           </plugins>
342         </reporting>
343
344 </project>