Change rule retrieval from CBS to ConfigMap
[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.5-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                 <exclusion>
115                     <groupId>org.apache.httpcomponents</groupId>
116                     <artifactId>httpclient</artifactId>
117                 </exclusion>
118             </exclusions>
119         </dependency>
120         <dependency>
121             <groupId>com.squareup.retrofit2</groupId>
122             <artifactId>retrofit</artifactId>
123             <version>2.5.0</version>
124         </dependency>
125         <dependency>
126             <groupId>org.reflections</groupId>
127             <artifactId>reflections</artifactId>
128             <version>0.9.9</version>
129         </dependency>
130         <dependency>
131             <groupId>org.onap.holmes.common</groupId>
132             <artifactId>holmes-actions</artifactId>
133             <version>1.3.7</version>
134             <exclusions>
135                 <exclusion>
136                     <groupId>org.glassfish.jersey.containers</groupId>
137                     <artifactId>jersey-container-servlet-core</artifactId>
138                 </exclusion>
139                 <exclusion>
140                     <groupId>io.swagger</groupId>
141                     <artifactId>swagger-jersey2-jaxrs</artifactId>
142                 </exclusion>
143                 <exclusion>
144                     <groupId>org.slf4j</groupId>
145                     <artifactId>slf4j-api</artifactId>
146                 </exclusion>
147             </exclusions>
148         </dependency>
149         <dependency>
150             <groupId>org.easymock</groupId>
151             <artifactId>easymock</artifactId>
152             <version>4.2</version>
153             <scope>test</scope>
154         </dependency>
155         <dependency>
156             <groupId>io.dropwizard</groupId>
157             <artifactId>dropwizard-core</artifactId>
158             <version>${dropwizard.version}</version>
159         </dependency>
160         <dependency>
161             <groupId>io.dropwizard</groupId>
162             <artifactId>dropwizard-db</artifactId>
163             <version>${dropwizard.version}</version>
164         </dependency>
165         <dependency>
166             <groupId>io.dropwizard</groupId>
167             <artifactId>dropwizard-jdbi</artifactId>
168             <version>2.0.0-rc9</version>
169         </dependency>
170         <dependency>
171             <groupId>com.squareup.okhttp3</groupId>
172             <artifactId>okhttp</artifactId>
173             <version>3.14.1</version>
174         </dependency>
175         <dependency>
176             <groupId>org.projectlombok</groupId>
177             <artifactId>lombok</artifactId>
178             <version>1.18.4</version>
179         </dependency>
180         <dependency>
181             <groupId>org.postgresql</groupId>
182             <artifactId>postgresql</artifactId>
183             <version>42.2.13</version>
184         </dependency>
185         <dependency>
186             <groupId>junit</groupId>
187             <artifactId>junit</artifactId>
188             <version>4.8.2</version>
189             <scope>test</scope>
190         </dependency>
191         <dependency>
192             <groupId>org.hamcrest</groupId>
193             <artifactId>hamcrest-core</artifactId>
194             <version>1.3</version>
195             <scope>test</scope>
196         </dependency>
197         <dependency>
198             <groupId>org.powermock</groupId>
199             <artifactId>powermock-module-junit4</artifactId>
200             <version>${powermock.version}</version>
201             <scope>test</scope>
202         </dependency>
203         <dependency>
204             <groupId>org.slf4j</groupId>
205             <artifactId>slf4j-api</artifactId>
206             <version>${slf4j.version}</version>
207         </dependency>
208         <dependency>
209             <groupId>io.swagger</groupId>
210             <artifactId>swagger-jersey2-jaxrs</artifactId>
211             <version>1.6.1</version>
212             <exclusions>
213                 <exclusion>
214                     <groupId>com.fasterxml.jackson.core</groupId>
215                     <artifactId>jackson-databind</artifactId>
216                 </exclusion>
217                 <exclusion>
218                     <groupId>com.fasterxml.jackson.core</groupId>
219                     <artifactId>jackson-core</artifactId>
220                 </exclusion>
221                 <exclusion>
222                     <groupId>com.fasterxml.jackson.dataformat</groupId>
223                     <artifactId>jackson-dataformat-xml</artifactId>
224                 </exclusion>
225                 <exclusion>
226                     <groupId>javax.validation</groupId>
227                     <artifactId>validation-api</artifactId>
228                 </exclusion>
229                 <exclusion>
230                     <groupId>org.glassfish.jersey.containers</groupId>
231                     <artifactId>jersey-container-servlet-core</artifactId>
232                 </exclusion>
233                 <exclusion>
234                     <groupId>com.fasterxml.jackson.jaxrs</groupId>
235                     <artifactId>jackson-jaxrs-json-provider</artifactId>
236                 </exclusion>
237                 <exclusion>
238                     <groupId>com.fasterxml.jackson.jaxrs</groupId>
239                     <artifactId>jackson-datatype-joda</artifactId>
240                 </exclusion>
241             </exclusions>
242             <scope>provided</scope>
243         </dependency>
244         <dependency>
245             <groupId>org.powermock</groupId>
246             <artifactId>powermock-api-easymock</artifactId>
247             <version>${powermock.version}</version>
248             <scope>test</scope>
249         </dependency>
250         <dependency>
251             <groupId>org.powermock</groupId>
252             <artifactId>powermock-core</artifactId>
253             <version>${powermock.version}</version>
254             <scope>test</scope>
255         </dependency>
256         <dependency>
257             <groupId>org.powermock</groupId>
258             <artifactId>powermock-module-junit4-rule</artifactId>
259             <version>${powermock.version}</version>
260             <scope>test</scope>
261         </dependency>
262         <dependency>
263             <groupId>org.powermock</groupId>
264             <artifactId>powermock-api-mockito2</artifactId>
265             <version>${powermock.version}</version>
266             <scope>test</scope>
267         </dependency>
268         <dependency>
269             <groupId>org.javassist</groupId>
270             <artifactId>javassist</artifactId>
271             <version>3.24.1-GA</version>
272         </dependency>
273         <dependency>
274             <groupId>org.powermock</groupId>
275             <artifactId>powermock-classloading-xstream</artifactId>
276             <version>${powermock.version}</version>
277             <scope>test</scope>
278         </dependency>
279         <dependency>
280             <groupId>io.reactivex.rxjava2</groupId>
281             <artifactId>rxjava</artifactId>
282             <version>2.1.5</version>
283             <scope>test</scope>
284         </dependency>
285         <dependency>
286             <groupId>org.hamcrest</groupId>
287             <artifactId>hamcrest-library</artifactId>
288             <version>1.3</version>
289             <scope>test</scope>
290         </dependency>
291         <dependency>
292             <groupId>net.sf.json-lib</groupId>
293             <artifactId>json-lib</artifactId>
294             <version>2.4</version>
295             <classifier>jdk15</classifier>
296             <exclusions>
297                 <exclusion>
298                     <groupId>commons-collections</groupId>
299                     <artifactId>commons-collections</artifactId>
300                 </exclusion>
301                 <exclusion>
302                     <groupId>commons-beanutils</groupId>
303                     <artifactId>commons-beanutils</artifactId>
304                 </exclusion>
305             </exclusions>
306         </dependency>
307         <dependency>
308             <groupId>commons-collections</groupId>
309             <artifactId>commons-collections</artifactId>
310             <version>3.2.2</version>
311         </dependency>
312         <dependency>
313             <groupId>com.google.code.gson</groupId>
314             <artifactId>gson</artifactId>
315             <version>2.8.6</version>
316         </dependency>
317
318         <dependency>
319             <groupId>org.glassfish.jersey.core</groupId>
320             <artifactId>jersey-server</artifactId>
321             <exclusions>
322                 <exclusion>
323                     <groupId>javax.validation</groupId>
324                     <artifactId>validation-api</artifactId>
325                 </exclusion>
326             </exclusions>
327         </dependency>
328         <dependency>
329             <groupId>org.glassfish.jersey.core</groupId>
330             <artifactId>jersey-client</artifactId>
331         </dependency>
332         <dependency>
333             <groupId>org.glassfish.jersey.core</groupId>
334             <artifactId>jersey-common</artifactId>
335         </dependency>
336     </dependencies>
337
338     <build>
339         <plugins>
340             <plugin>
341                 <groupId>org.apache.maven.plugins</groupId>
342                 <artifactId>maven-compiler-plugin</artifactId>
343                 <version>3.8.0</version>
344                 <configuration>
345                     <release>11</release>
346                 </configuration>
347             </plugin>
348 <!--            <plugin>-->
349 <!--                <groupId>org.apache.maven.plugins</groupId>-->
350 <!--                <artifactId>maven-enforcer-plugin</artifactId>-->
351 <!--                <version>1.4.1</version>-->
352 <!--                <executions>-->
353 <!--                    <execution>-->
354 <!--                        <id>enforce</id>-->
355 <!--                        <configuration>-->
356 <!--                            <rules>-->
357 <!--                                <dependencyConvergence/>-->
358 <!--                            </rules>-->
359 <!--                        </configuration>-->
360 <!--                        <goals>-->
361 <!--                            <goal>enforce</goal>-->
362 <!--                        </goals>-->
363 <!--                    </execution>-->
364 <!--                </executions>-->
365 <!--            </plugin>-->
366             <plugin>
367                 <groupId>org.jacoco</groupId>
368                 <artifactId>jacoco-maven-plugin</artifactId>
369                 <version>${jacoco.version}</version>
370                 <executions>
371                     <execution>
372                         <id>prepare-agent</id>
373                         <goals>
374                             <goal>prepare-agent</goal>
375                         </goals>
376                     </execution>
377                     <execution>
378                         <id>report</id>
379                         <goals>
380                             <goal>report</goal>
381                         </goals>
382                         <configuration>
383                             <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
384                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
385                         </configuration>
386                     </execution>
387                 </executions>
388             </plugin>
389         </plugins>
390     </build>
391 </project>