Bumped Version to 1.3.1
[holmes/rule-management.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ Copyright 2017-2020 ZTE Corporation.
4   ~
5   ~ Licensed under the Apache License, Version 2.0 (the "License");
6   ~ you may not use this file except in compliance with the License.
7   ~ You may obtain a copy of the License at
8   ~
9   ~     http://www.apache.org/licenses/LICENSE-2.0
10   ~
11   ~ Unless required by applicable law or agreed to in writing, software
12   ~ distributed under the License is distributed on an "AS IS" BASIS,
13   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   ~ See the License for the specific language governing permissions and
15   ~ limitations under the License.
16   -->
17 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
18          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
19     <modelVersion>4.0.0</modelVersion>
20     <parent>
21         <groupId>org.onap.oparent</groupId>
22         <artifactId>oparent</artifactId>
23         <version>3.0.0</version>
24     </parent>
25
26     <groupId>org.onap.holmes.rule-management</groupId>
27     <artifactId>holmes-rulemgt-parent</artifactId>
28     <version>1.3.1-SNAPSHOT</version>
29     <packaging>pom</packaging>
30     <name>holmes-rule-management</name>
31     <modules>
32         <module>rulemgt</module>
33         <module>rulemgt-frontend</module>
34         <module>rulemgt-standalone</module>
35     </modules>
36
37     <properties>
38         <packagename>onap-holmes-rulemgt</packagename>
39         <finalName>${project.artifactId}-${project.version}</finalName>
40
41         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
42         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
43         <maven.test.failure.ignore>false</maven.test.failure.ignore>
44
45         <release.dir>${basedir}/target</release.dir>
46         <bundle.name>${project.artifactId}-${project.version}</bundle.name>
47
48         <powermock.version>2.0.7</powermock.version>
49         <dropwizard.version>2.0.10</dropwizard.version>
50         <jersey.version>2.31</jersey.version>
51         <jacoco.version>0.8.5</jacoco.version>
52         <slf4j.version>1.7.25</slf4j.version>
53
54         <linux64id>linux64</linux64id>
55         <linux64outputdir>target/assembly/${linux64id}</linux64outputdir>
56         <version.output>target/version</version.output>
57
58         <sonar.coverage.jacoco.xmlReportPaths>
59             ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
60         </sonar.coverage.jacoco.xmlReportPaths>
61     </properties>
62
63     <dependencyManagement>
64         <dependencies>
65             <dependency>
66                 <groupId>org.glassfish.jersey</groupId>
67                 <artifactId>jersey-bom</artifactId>
68                 <version>${jersey.version}</version>
69                 <type>pom</type>
70                 <scope>import</scope>
71             </dependency>
72         </dependencies>
73     </dependencyManagement>
74
75     <dependencies>
76         <dependency>
77             <groupId>ch.qos.logback</groupId>
78             <artifactId>logback-classic</artifactId>
79             <version>1.2.3</version>
80         </dependency>
81         <dependency>
82             <groupId>org.onap.msb.java-sdk</groupId>
83             <artifactId>msb-java-sdk</artifactId>
84             <version>1.2.5</version>
85             <exclusions>
86                 <exclusion>
87                     <groupId>ch.qos.logback</groupId>
88                     <artifactId>logback-classic</artifactId>
89                 </exclusion>
90                 <exclusion>
91                     <groupId>com.fasterxml.jackson.core</groupId>
92                     <artifactId>jackson-databind</artifactId>
93                 </exclusion>
94                 <exclusion>
95                     <groupId>com.fasterxml.jackson.core</groupId>
96                     <artifactId>jackson-core</artifactId>
97                 </exclusion>
98                 <exclusion>
99                     <groupId>com.squareup.okhttp3</groupId>
100                     <artifactId>okhttp</artifactId>
101                 </exclusion>
102                 <exclusion>
103                     <groupId>org.eclipse.jetty</groupId>
104                     <artifactId>jetty-server</artifactId>
105                 </exclusion>
106                 <exclusion>
107                     <groupId>org.checkerframework</groupId>
108                     <artifactId>checker-qual</artifactId>
109                 </exclusion>
110                 <exclusion>
111                     <groupId>com.squareup.retrofit2</groupId>
112                     <artifactId>retrofit</artifactId>
113                 </exclusion>
114             </exclusions>
115         </dependency>
116         <dependency>
117             <groupId>com.squareup.retrofit2</groupId>
118             <artifactId>retrofit</artifactId>
119             <version>2.5.0</version>
120         </dependency>
121         <dependency>
122             <groupId>org.reflections</groupId>
123             <artifactId>reflections</artifactId>
124             <version>0.9.9</version>
125         </dependency>
126         <dependency>
127             <groupId>org.onap.holmes.common</groupId>
128             <artifactId>holmes-actions</artifactId>
129             <version>1.3.2</version>
130             <exclusions>
131                 <exclusion>
132                     <groupId>org.glassfish.jersey.containers</groupId>
133                     <artifactId>jersey-container-servlet-core</artifactId>
134                 </exclusion>
135                 <exclusion>
136                     <groupId>io.swagger</groupId>
137                     <artifactId>swagger-jersey2-jaxrs</artifactId>
138                 </exclusion>
139                 <exclusion>
140                     <groupId>org.slf4j</groupId>
141                     <artifactId>slf4j-api</artifactId>
142                 </exclusion>
143             </exclusions>
144         </dependency>
145         <dependency>
146             <groupId>org.easymock</groupId>
147             <artifactId>easymock</artifactId>
148             <version>4.2</version>
149             <scope>test</scope>
150         </dependency>
151         <dependency>
152             <groupId>io.dropwizard</groupId>
153             <artifactId>dropwizard-core</artifactId>
154             <version>${dropwizard.version}</version>
155         </dependency>
156         <dependency>
157             <groupId>io.dropwizard</groupId>
158             <artifactId>dropwizard-db</artifactId>
159             <version>${dropwizard.version}</version>
160         </dependency>
161         <dependency>
162             <groupId>io.dropwizard</groupId>
163             <artifactId>dropwizard-jdbi</artifactId>
164             <version>2.0.0-rc9</version>
165         </dependency>
166         <dependency>
167             <groupId>com.squareup.okhttp3</groupId>
168             <artifactId>okhttp</artifactId>
169             <version>3.14.1</version>
170         </dependency>
171         <dependency>
172             <groupId>org.projectlombok</groupId>
173             <artifactId>lombok</artifactId>
174             <version>1.18.4</version>
175         </dependency>
176         <dependency>
177             <groupId>org.postgresql</groupId>
178             <artifactId>postgresql</artifactId>
179             <version>42.2.13</version>
180         </dependency>
181         <dependency>
182             <groupId>junit</groupId>
183             <artifactId>junit</artifactId>
184             <version>4.8.2</version>
185             <scope>test</scope>
186         </dependency>
187         <dependency>
188             <groupId>org.hamcrest</groupId>
189             <artifactId>hamcrest-core</artifactId>
190             <version>1.3</version>
191             <scope>test</scope>
192         </dependency>
193         <dependency>
194             <groupId>org.powermock</groupId>
195             <artifactId>powermock-module-junit4</artifactId>
196             <version>${powermock.version}</version>
197             <scope>test</scope>
198         </dependency>
199         <dependency>
200             <groupId>org.slf4j</groupId>
201             <artifactId>slf4j-api</artifactId>
202             <version>${slf4j.version}</version>
203         </dependency>
204         <dependency>
205             <groupId>io.swagger</groupId>
206             <artifactId>swagger-jersey2-jaxrs</artifactId>
207             <version>1.6.1</version>
208             <exclusions>
209                 <exclusion>
210                     <groupId>com.fasterxml.jackson.core</groupId>
211                     <artifactId>jackson-databind</artifactId>
212                 </exclusion>
213                 <exclusion>
214                     <groupId>com.fasterxml.jackson.core</groupId>
215                     <artifactId>jackson-core</artifactId>
216                 </exclusion>
217                 <exclusion>
218                     <groupId>com.fasterxml.jackson.dataformat</groupId>
219                     <artifactId>jackson-dataformat-xml</artifactId>
220                 </exclusion>
221                 <exclusion>
222                     <groupId>javax.validation</groupId>
223                     <artifactId>validation-api</artifactId>
224                 </exclusion>
225                 <exclusion>
226                     <groupId>org.glassfish.jersey.containers</groupId>
227                     <artifactId>jersey-container-servlet-core</artifactId>
228                 </exclusion>
229                 <exclusion>
230                     <groupId>com.fasterxml.jackson.jaxrs</groupId>
231                     <artifactId>jackson-jaxrs-json-provider</artifactId>
232                 </exclusion>
233                 <exclusion>
234                     <groupId>com.fasterxml.jackson.jaxrs</groupId>
235                     <artifactId>jackson-datatype-joda</artifactId>
236                 </exclusion>
237             </exclusions>
238             <scope>provided</scope>
239         </dependency>
240         <dependency>
241             <groupId>org.powermock</groupId>
242             <artifactId>powermock-api-easymock</artifactId>
243             <version>${powermock.version}</version>
244             <scope>test</scope>
245         </dependency>
246         <dependency>
247             <groupId>org.powermock</groupId>
248             <artifactId>powermock-core</artifactId>
249             <version>${powermock.version}</version>
250             <scope>test</scope>
251         </dependency>
252         <dependency>
253             <groupId>org.powermock</groupId>
254             <artifactId>powermock-module-junit4-rule</artifactId>
255             <version>${powermock.version}</version>
256             <scope>test</scope>
257         </dependency>
258         <dependency>
259             <groupId>org.powermock</groupId>
260             <artifactId>powermock-api-mockito2</artifactId>
261             <version>${powermock.version}</version>
262             <scope>test</scope>
263         </dependency>
264         <dependency>
265             <groupId>org.javassist</groupId>
266             <artifactId>javassist</artifactId>
267             <version>3.24.1-GA</version>
268         </dependency>
269         <dependency>
270             <groupId>org.powermock</groupId>
271             <artifactId>powermock-classloading-xstream</artifactId>
272             <version>${powermock.version}</version>
273             <scope>test</scope>
274         </dependency>
275         <dependency>
276             <groupId>io.reactivex.rxjava2</groupId>
277             <artifactId>rxjava</artifactId>
278             <version>2.1.5</version>
279             <scope>test</scope>
280         </dependency>
281         <dependency>
282             <groupId>org.hamcrest</groupId>
283             <artifactId>hamcrest-library</artifactId>
284             <version>1.3</version>
285             <scope>test</scope>
286         </dependency>
287         <dependency>
288             <groupId>net.sf.json-lib</groupId>
289             <artifactId>json-lib</artifactId>
290             <version>2.4</version>
291             <classifier>jdk15</classifier>
292             <exclusions>
293                 <exclusion>
294                     <groupId>commons-collections</groupId>
295                     <artifactId>commons-collections</artifactId>
296                 </exclusion>
297                 <exclusion>
298                     <groupId>commons-beanutils</groupId>
299                     <artifactId>commons-beanutils</artifactId>
300                 </exclusion>
301             </exclusions>
302         </dependency>
303         <dependency>
304             <groupId>commons-collections</groupId>
305             <artifactId>commons-collections</artifactId>
306             <version>3.2.2</version>
307         </dependency>
308         <dependency>
309             <groupId>com.google.code.gson</groupId>
310             <artifactId>gson</artifactId>
311             <version>2.8.6</version>
312         </dependency>
313
314         <dependency>
315             <groupId>org.glassfish.jersey.core</groupId>
316             <artifactId>jersey-server</artifactId>
317             <exclusions>
318                 <exclusion>
319                     <groupId>javax.validation</groupId>
320                     <artifactId>validation-api</artifactId>
321                 </exclusion>
322             </exclusions>
323         </dependency>
324         <dependency>
325             <groupId>org.glassfish.jersey.core</groupId>
326             <artifactId>jersey-client</artifactId>
327         </dependency>
328         <dependency>
329             <groupId>org.glassfish.jersey.core</groupId>
330             <artifactId>jersey-common</artifactId>
331         </dependency>
332     </dependencies>
333
334     <build>
335         <plugins>
336             <plugin>
337                 <groupId>org.apache.maven.plugins</groupId>
338                 <artifactId>maven-compiler-plugin</artifactId>
339                 <version>3.8.0</version>
340                 <configuration>
341                     <release>11</release>
342                 </configuration>
343             </plugin>
344 <!--            <plugin>-->
345 <!--                <groupId>org.apache.maven.plugins</groupId>-->
346 <!--                <artifactId>maven-enforcer-plugin</artifactId>-->
347 <!--                <version>1.4.1</version>-->
348 <!--                <executions>-->
349 <!--                    <execution>-->
350 <!--                        <id>enforce</id>-->
351 <!--                        <configuration>-->
352 <!--                            <rules>-->
353 <!--                                <dependencyConvergence/>-->
354 <!--                            </rules>-->
355 <!--                        </configuration>-->
356 <!--                        <goals>-->
357 <!--                            <goal>enforce</goal>-->
358 <!--                        </goals>-->
359 <!--                    </execution>-->
360 <!--                </executions>-->
361 <!--            </plugin>-->
362             <plugin>
363                 <groupId>org.jacoco</groupId>
364                 <artifactId>jacoco-maven-plugin</artifactId>
365                 <version>${jacoco.version}</version>
366                 <executions>
367                     <execution>
368                         <id>prepare-agent</id>
369                         <goals>
370                             <goal>prepare-agent</goal>
371                         </goals>
372                     </execution>
373                     <execution>
374                         <id>report</id>
375                         <goals>
376                             <goal>report</goal>
377                         </goals>
378                         <configuration>
379                             <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
380                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
381                         </configuration>
382                     </execution>
383                 </executions>
384             </plugin>
385         </plugins>
386     </build>
387 </project>