Merge "Point to latest snapshots"
[policy/drools-pdp.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4   ONAP Policy Engine - Drools PDP
5   ================================================================================
6   Copyright (C) 2017-2020 AT&T Intellectual Property. All rights reserved.
7   Modifications Copyright (C) 2019 Nordix Foundation.
8   ================================================================================
9   Licensed under the Apache License, Version 2.0 (the "License");
10   you may not use this file except in compliance with the License.
11   You may obtain a copy of the License at
12
13        http://www.apache.org/licenses/LICENSE-2.0
14
15   Unless required by applicable law or agreed to in writing, software
16   distributed under the License is distributed on an "AS IS" BASIS,
17   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18   See the License for the specific language governing permissions and
19   limitations under the License.
20   ============LICENSE_END=========================================================
21 -->
22
23 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
24     <modelVersion>4.0.0</modelVersion>
25
26     <parent>
27         <groupId>org.onap.policy.parent</groupId>
28         <artifactId>integration</artifactId>
29         <version>3.1.1</version>
30         <relativePath />
31     </parent>
32
33     <groupId>org.onap.policy.drools-pdp</groupId>
34     <artifactId>drools-pdp</artifactId>
35     <version>1.6.1-SNAPSHOT</version>
36     <packaging>pom</packaging>
37     <name>policy-drools-pdp</name>
38
39     <description>The ONAP Policy Engine drools-based PDP Project</description>
40
41     <properties>
42         <!-- Project path properties -->
43         <nexusproxy>https://nexus.onap.org</nexusproxy>
44         <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
45         <releases.path>content/repositories/releases/</releases.path>
46         <snapshots.path>content/repositories/snapshots/</snapshots.path>
47         <staging.path>content/repositories/staging/</staging.path>
48
49         <!-- Project common dependency versions -->
50         <json.path.version>2.4.0</json.path.version>
51         <hibernate.core.version>5.4.12.Final</hibernate.core.version>
52         <hibernate.commons.annotations.version>5.0.1.Final</hibernate.commons.annotations.version>
53         <commons.io.version>2.5</commons.io.version>
54         <xml.apis.version>1.4.01</xml.apis.version>
55         <policy.common.version>1.6.3-SNAPSHOT</policy.common.version>
56         <policy.models.version>2.2.3-SNAPSHOT</policy.models.version>
57     </properties>
58
59     <modules>
60         <module>policy-utils</module>
61         <module>policy-core</module>
62         <module>policy-domains</module>
63         <module>policy-management</module>
64         <module>feature-healthcheck</module>
65         <module>feature-eelf</module>
66         <module>feature-pooling-dmaap</module>
67         <module>feature-session-persistence</module>
68         <module>feature-test-transaction</module>
69         <module>api-state-management</module>
70         <module>feature-state-management</module>
71         <module>api-active-standby-management</module>
72         <module>feature-active-standby-management</module>
73         <module>feature-simulators</module>
74         <module>feature-distributed-locking</module>
75         <module>feature-controller-logging</module>
76         <module>feature-mdc-filters</module>
77         <module>feature-lifecycle</module>
78         <module>feature-drools-init</module>
79         <module>api-server-pool-state-control</module>
80         <module>feature-server-pool</module>
81         <module>packages</module>
82     </modules>
83
84     <dependencyManagement>
85         <dependencies>
86             <dependency>
87                 <groupId>javax.ws.rs</groupId>
88                 <artifactId>javax.ws.rs-api</artifactId>
89                 <version>2.0.1</version>
90             </dependency>
91             <dependency>
92                 <groupId>org.glassfish.hk2.external</groupId>
93                 <artifactId>javax.inject</artifactId>
94                 <version>2.4.0-b31</version>
95             </dependency>
96             <dependency>
97                 <groupId>com.jayway.jsonpath</groupId>
98                 <artifactId>json-path</artifactId>
99                 <version>${json.path.version}</version>
100             </dependency>
101             <dependency>
102                 <groupId>org.hibernate</groupId>
103                 <artifactId>hibernate-core</artifactId>
104                 <version>${hibernate.core.version}</version>
105             </dependency>
106             <dependency>
107                 <groupId>org.hibernate.common</groupId>
108                 <artifactId>hibernate-commons-annotations</artifactId>
109                 <version>${hibernate.commons.annotations.version}</version>
110             </dependency>
111             <dependency>
112                 <groupId>commons-io</groupId>
113                 <artifactId>commons-io</artifactId>
114                 <version>${commons.io.version}</version>
115             </dependency>
116             <dependency>
117                 <groupId>xml-apis</groupId>
118                 <artifactId>xml-apis</artifactId>
119                 <version>${xml.apis.version}</version>
120             </dependency>
121         </dependencies>
122     </dependencyManagement>
123
124     <build>
125         <plugins>
126                 <plugin>
127                     <artifactId>maven-checkstyle-plugin</artifactId>
128                     <executions>
129                         <execution>
130                             <id>onap-java-style</id>
131                             <goals>
132                                 <goal>check</goal>
133                             </goals>
134                             <phase>process-sources</phase>
135                             <configuration>
136                                 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
137                                     with minor changes -->
138                                 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
139                                 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
140                                 <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
141                                 <includeResources>true</includeResources>
142                                 <includeTestSourceDirectory>true</includeTestSourceDirectory>
143                                 <includeTestResources>true</includeTestResources>
144                                 <excludes>
145                                 </excludes>
146                                 <!-- suppressionsLocation>${project.baseUri}checkstyle-suppressions.xml</suppressionsLocation -->
147                                 <consoleOutput>true</consoleOutput>
148                                 <failsOnViolation>true</failsOnViolation>
149                                 <violationSeverity>warning</violationSeverity>
150                             </configuration>
151                         </execution>
152                     </executions>
153                     <dependencies>
154                         <dependency>
155                             <groupId>org.onap.oparent</groupId>
156                             <artifactId>checkstyle</artifactId>
157                             <version>${oparent.version}</version>
158                             <scope>compile</scope>
159                         </dependency>
160                     </dependencies>
161                 </plugin>
162             <plugin>
163                 <groupId>org.apache.maven.plugins</groupId>
164                 <artifactId>maven-deploy-plugin</artifactId>
165                 <configuration>
166                     <skip/>
167                 </configuration>
168             </plugin>
169             <plugin>
170                 <groupId>org.apache.maven.plugins</groupId>
171                 <artifactId>maven-compiler-plugin</artifactId>
172             </plugin>
173             <plugin>
174                 <groupId>org.apache.maven.plugins</groupId>
175                 <artifactId>maven-resources-plugin</artifactId>
176             </plugin>
177
178             <plugin>
179                 <groupId>org.apache.maven.plugins</groupId>
180                 <artifactId>maven-site-plugin</artifactId>
181                 <dependencies>
182                     <dependency>
183                         <groupId>org.apache.maven.wagon</groupId>
184                         <artifactId>wagon-webdav-jackrabbit</artifactId>
185                         <version>2.10</version>
186                     </dependency>
187                 </dependencies>
188             </plugin>
189         </plugins>
190         <pluginManagement>
191             <plugins>
192                 <plugin>
193                     <groupId>org.eclipse.m2e</groupId>
194                     <artifactId>lifecycle-mapping</artifactId>
195                     <version>1.0.0</version>
196                     <configuration>
197                         <lifecycleMappingMetadata>
198                             <pluginExecutions>
199                                 <pluginExecution>
200                                     <pluginExecutionFilter>
201                                         <groupId>org.apache.maven.plugins</groupId>
202                                         <artifactId>maven-checkstyle-plugin</artifactId>
203                                         <versionRange>2.17,)</versionRange>
204                                         <goals>
205                                             <goal>check</goal>
206                                         </goals>
207                                     </pluginExecutionFilter>
208                                     <action>
209                                         <ignore/>
210                                     </action>
211                                 </pluginExecution>
212                             </pluginExecutions>
213                         </lifecycleMappingMetadata>
214                     </configuration>
215                 </plugin>
216             </plugins>
217         </pluginManagement>
218     </build>
219     <reporting>
220         <plugins>
221             <plugin>
222                 <groupId>org.apache.maven.plugins</groupId>
223                 <artifactId>maven-javadoc-plugin</artifactId>
224                 <version>2.10.4</version>
225                 <configuration>
226                     <failOnError>false</failOnError>
227                     <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
228                     <docletArtifact>
229                         <groupId>org.umlgraph</groupId>
230                         <artifactId>umlgraph</artifactId>
231                         <version>5.6</version>
232                     </docletArtifact>
233                     <additionalparam>-views</additionalparam>
234                     <useStandardDocletOptions>true</useStandardDocletOptions>
235                 </configuration>
236             </plugin>
237         </plugins>
238     </reporting>
239
240 </project>