0dc78b7601c604a7ba160b03c10089c47bd99cca
[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</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.6.4</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
58                 <nexusproxy>https://nexus.onap.org</nexusproxy>
59                 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
60                 <releases.path>content/repositories/releases/</releases.path>
61                 <snapshots.path>content/repositories/snapshots/</snapshots.path>
62                 <staging.path>content/repositories/staging/</staging.path>
63         </properties>
64
65         <modules>
66                 <module>policy-utils</module>
67                 <module>policy-core</module>
68                 <module>policy-endpoints</module>
69                 <module>policy-management</module>
70                 <module>feature-healthcheck</module>
71                 <module>feature-eelf</module>
72                 <module>feature-session-persistence</module>
73                 <module>packages</module>
74         </modules>
75
76         <distributionManagement>
77                 <repository>
78                         <id>ecomp-releases</id>
79                         <name>ONAP Release Repository</name>
80                         <url>${nexusproxy}/${releases.path}</url>
81                 </repository>
82                 <snapshotRepository>
83                         <id>ecomp-snapshots</id>
84                         <name>ONAP Snapshot Repository</name>
85                         <url>${nexusproxy}/${snapshots.path}</url>
86                 </snapshotRepository>
87                 <site>
88                         <id>ecomp-site</id>
89                         <url>dav:${nexusproxy}${sitePath}</url>
90                 </site>
91         </distributionManagement>
92
93         <dependencies/>
94
95         <dependencyManagement>
96                 <dependencies>
97                         <dependency>
98                                 <groupId>com.google.guava</groupId>
99                                 <artifactId>guava</artifactId>
100                                 <version>16.0.1</version>
101                         </dependency>
102                         <dependency>
103                                 <groupId>javax.ws.rs</groupId>
104                                 <artifactId>javax.ws.rs-api</artifactId>
105                                 <version>2.0.1</version>
106                         </dependency>
107                         <dependency>
108                                 <groupId>org.glassfish.hk2.external</groupId>
109                                 <artifactId>javax.inject</artifactId>
110                                 <version>2.4.0-b31</version>
111                         </dependency>
112                         <dependency>
113                                 <groupId>com.fasterxml.jackson.jaxrs</groupId>
114                                 <artifactId>jackson-jaxrs-base</artifactId>
115                                 <version>${jackson.version}</version>
116                         </dependency>
117                         <dependency>
118                                 <groupId>com.fasterxml.jackson.jaxrs</groupId>
119                                 <artifactId>jackson-jaxrs-json-provider</artifactId>
120                                 <version>${jackson.version}</version>
121                         </dependency>
122                         <dependency>
123                                 <groupId>com.fasterxml.jackson.dataformat</groupId>
124                                 <artifactId>jackson-dataformat-xml</artifactId>
125                                 <version>${jackson.version}</version>
126                         </dependency>
127                         <dependency>
128                                 <groupId>com.fasterxml.jackson.dataformat</groupId>
129                                 <artifactId>jackson-dataformat-yaml</artifactId>
130                                 <version>${jackson.version}</version>
131                         </dependency>
132                         <dependency>
133                                 <groupId>com.fasterxml.jackson.datatype</groupId>
134                                 <artifactId>jackson-datatype-joda</artifactId>
135                                 <version>${jackson.version}</version>
136                         </dependency>
137                         <dependency>
138                                 <groupId>org.glassfish.jersey.containers</groupId>
139                                 <artifactId>jersey-common</artifactId>
140                                 <version>${jersey.version}</version>
141                         </dependency>
142                         <dependency>
143                                 <groupId>org.glassfish.jersey.containers</groupId>
144                                 <artifactId>jersey-container-servlet-core</artifactId>
145                                 <version>${jersey.version}</version>
146                         </dependency>
147                         <dependency>
148                                 <groupId>io.swagger</groupId>
149                                 <artifactId>swagger-jersey2-jaxrs</artifactId>
150                                 <version>${jersey.swagger.version}</version>
151                         </dependency>
152                         <dependency>
153                                 <groupId>org.apache.httpcomponents</groupId>
154                                 <artifactId>httpclient</artifactId>
155                                 <version>${http.client.version}</version>
156                         </dependency>
157                         <dependency>
158                                 <groupId>org.apache.httpcomponents</groupId>
159                                 <artifactId>httpcore</artifactId>
160                                 <version>${http.core.version}</version>
161                         </dependency>
162                         <dependency>
163                                 <groupId>ch.qos.logback</groupId>
164                                 <artifactId>logback-classic</artifactId>
165                                 <version>${logback.version}</version>
166                         </dependency>
167                         <dependency>
168                                 <groupId>junit</groupId>
169                                 <artifactId>junit</artifactId>
170                                 <version>${junit.version}</version>
171                         </dependency>
172                         <dependency>
173                                 <groupId>org.eclipse.persistence</groupId>
174                                 <artifactId>eclipselink</artifactId>
175                                 <version>${eclipselink.version}</version>
176                         </dependency>
177                         <dependency>
178                             <groupId>org.mariadb.jdbc</groupId>
179                             <artifactId>mariadb-java-client</artifactId>
180                             <version>${mariadb.jdbc.version}</version>
181                         </dependency>
182                         <dependency>
183                             <groupId>org.hibernate</groupId>
184                             <artifactId>hibernate-core</artifactId>
185                             <version>${hibernate.core.version}</version>
186                         </dependency>
187                         <dependency>
188                             <groupId>org.hibernate.common</groupId>
189                             <artifactId>hibernate-commons-annotations</artifactId>
190                             <version>${hibernate.commons.annotations.version}</version>
191                         </dependency>
192                 </dependencies>
193         </dependencyManagement>
194
195         <build>
196                 <plugins>
197                         <plugin>
198                                 <groupId>org.sonatype.plugins</groupId>
199                                 <artifactId>nexus-staging-maven-plugin</artifactId>
200                                 <version>1.6.7</version>
201                                 <extensions>true</extensions>
202                                 <configuration>
203                                         <nexusUrl>${nexusproxy}</nexusUrl>
204                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
205                                         <serverId>ecomp-staging</serverId>
206                                 </configuration>
207                         </plugin>
208                         <plugin>
209                                 <groupId>org.apache.maven.plugins</groupId>
210                                 <artifactId>maven-deploy-plugin</artifactId>
211                                 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
212                                 <configuration>
213                                         <skip />
214                                 </configuration>
215                         </plugin>
216                         <plugin>
217                                 <groupId>org.apache.maven.plugins</groupId>
218                                 <artifactId>maven-compiler-plugin</artifactId>
219                                 <version>3.0</version>
220                                 <configuration>
221                                         <encoding>${project.encoding}</encoding>
222                                         <source>${project.source.version}</source>
223                                         <target>${project.target.version}</target>
224                                 </configuration>
225                         </plugin>
226                         <plugin>
227                                 <groupId>org.apache.maven.plugins</groupId>
228                                 <artifactId>maven-resources-plugin</artifactId>
229                                 <version>2.6</version>
230                                 <configuration>
231                                         <encoding>${project.encoding}</encoding>
232                                 </configuration>
233                         </plugin>
234
235                         <plugin>
236                           <groupId>org.apache.maven.plugins</groupId>
237                           <artifactId>maven-site-plugin</artifactId>
238                           <version>3.6</version>
239                           <dependencies>
240                             <dependency>
241                               <groupId>org.apache.maven.wagon</groupId>
242                               <artifactId>wagon-webdav-jackrabbit</artifactId>
243                               <version>2.10</version>
244                             </dependency>
245                           </dependencies>
246                         </plugin>
247
248                         <plugin>
249                                 <groupId>org.jacoco</groupId>
250                                 <artifactId>jacoco-maven-plugin</artifactId>
251                         </plugin>
252
253                         <plugin>
254                                 <groupId>org.codehaus.mojo</groupId>
255                                 <artifactId>sonar-maven-plugin</artifactId>
256                         </plugin>
257                 </plugins>
258                 <pluginManagement>
259                         <plugins>
260                <plugin>
261                     <groupId>org.eclipse.m2e</groupId>
262                     <artifactId>lifecycle-mapping</artifactId>
263                     <version>1.0.0</version>
264                     <configuration>
265                         <lifecycleMappingMetadata>
266                             <pluginExecutions>
267                                 <pluginExecution>
268                                     <pluginExecutionFilter>
269                                         <groupId>org.apache.maven.plugins</groupId>
270                                         <artifactId>maven-checkstyle-plugin</artifactId>
271                                         <versionRange>2.17,)</versionRange>
272                                         <goals>
273                                             <goal>check</goal>
274                                         </goals>
275                                     </pluginExecutionFilter>
276                                     <action>
277                                         <ignore />
278                                     </action>
279                                 </pluginExecution>
280                             </pluginExecutions>
281                         </lifecycleMappingMetadata>
282                     </configuration>
283                 </plugin>
284                         </plugins>
285                 </pluginManagement>
286         </build>
287         <reporting>
288           <plugins>
289             <plugin>
290               <groupId>org.apache.maven.plugins</groupId>
291               <artifactId>maven-javadoc-plugin</artifactId>
292               <version>2.10.4</version>
293               <configuration>
294                 <failOnError>false</failOnError>
295                 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
296                 <docletArtifact>
297                   <groupId>org.umlgraph</groupId>
298                   <artifactId>umlgraph</artifactId>
299                   <version>5.6</version>
300                 </docletArtifact>
301                 <additionalparam>-views</additionalparam>
302                 <useStandardDocletOptions>true</useStandardDocletOptions>
303               </configuration>
304             </plugin>
305           </plugins>
306         </reporting>
307
308 </project>