xref: /OpenGrok/suggester/pom.xml (revision 1a2ed5cf92e80419ef690aef909685020d04e0e7)
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3
4CDDL HEADER START
5
6The contents of this file are subject to the terms of the
7Common Development and Distribution License (the "License").
8You may not use this file except in compliance with the License.
9
10See LICENSE.txt included in this distribution for the specific
11language governing permissions and limitations under the License.
12
13When distributing Covered Code, include this CDDL HEADER in each
14file and include the License file at LICENSE.txt.
15If applicable, add the following below this CDDL HEADER, with the
16fields enclosed by brackets "[]" replaced with your own identifying
17information: Portions Copyright [yyyy] [name of copyright owner]
18
19CDDL HEADER END
20
21Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved.
22Portions Copyright (c) 2020, Chris Fraire <cfraire@me.com>.
23
24-->
25<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/xsd/maven-4.0.0.xsd">
26    <modelVersion>4.0.0</modelVersion>
27
28    <parent>
29        <artifactId>opengrok-top</artifactId>
30        <groupId>org.opengrok</groupId>
31        <version>1.7.32</version>
32    </parent>
33
34    <artifactId>suggester</artifactId>
35    <packaging>jar</packaging>
36
37    <name>OpenGrok Suggester</name>
38
39    <properties>
40        <jdkArgs></jdkArgs>
41    </properties>
42
43    <dependencies>
44        <dependency>
45            <groupId>org.apache.lucene</groupId>
46            <artifactId>lucene-core</artifactId>
47        </dependency>
48
49        <dependency>
50            <groupId>org.apache.lucene</groupId>
51            <artifactId>lucene-analyzers-common</artifactId>
52        </dependency>
53
54        <dependency>
55            <groupId>org.apache.lucene</groupId>
56            <artifactId>lucene-queryparser</artifactId>
57        </dependency>
58
59        <dependency>
60            <groupId>org.apache.lucene</groupId>
61            <artifactId>lucene-suggest</artifactId>
62        </dependency>
63
64        <dependency>
65            <groupId>commons-io</groupId>
66            <artifactId>commons-io</artifactId>
67            <version>2.11.0</version>
68        </dependency>
69
70        <dependency>
71            <groupId>org.apache.commons</groupId>
72            <artifactId>commons-lang3</artifactId>
73            <version>${apache-commons-lang3.version}</version>
74        </dependency>
75
76        <dependency>
77            <groupId>org.hamcrest</groupId>
78            <artifactId>java-hamcrest</artifactId>
79            <version>2.0.0.0</version>
80            <scope>test</scope>
81        </dependency>
82
83        <dependency>
84            <groupId>org.junit.jupiter</groupId>
85            <artifactId>junit-jupiter-engine</artifactId>
86            <scope>test</scope>
87        </dependency>
88
89        <dependency>
90            <groupId>org.jetbrains</groupId>
91            <artifactId>annotations</artifactId>
92        </dependency>
93
94        <dependency>
95            <groupId>net.openhft</groupId>
96            <artifactId>chronicle-map</artifactId>
97            <version>3.21.85</version>
98            <exclusions>
99                <exclusion>
100                    <groupId>com.sun.java</groupId>
101                    <artifactId>tools</artifactId>
102                </exclusion>
103                <exclusion>
104                    <groupId>org.jetbrains</groupId>
105                    <artifactId>annotations</artifactId>
106                </exclusion>
107                <exclusion>
108                    <groupId>com.intellij</groupId>
109                    <artifactId>annotations</artifactId>
110                </exclusion>
111            </exclusions>
112        </dependency>
113
114        <dependency>
115            <groupId>com.thoughtworks.xstream</groupId>
116            <artifactId>xstream</artifactId>
117            <version>1.4.19</version>
118        </dependency>
119
120        <dependency>
121            <groupId>org.codehaus.jettison</groupId>
122            <artifactId>jettison</artifactId>
123            <version>1.4.1</version>
124        </dependency>
125
126        <!-- to get rid of SL4J warning messages -->
127        <dependency>
128            <groupId>org.slf4j</groupId>
129            <artifactId>slf4j-nop</artifactId>
130            <version>1.7.30</version>
131        </dependency>
132
133        <dependency>
134            <groupId>org.awaitility</groupId>
135            <artifactId>awaitility</artifactId>
136            <scope>test</scope>
137        </dependency>
138
139        <dependency>
140            <groupId>io.micrometer</groupId>
141            <artifactId>micrometer-core</artifactId>
142            <version>${micrometer.version}</version>
143        </dependency>
144    </dependencies>
145
146    <build>
147        <plugins>
148            <plugin>
149                <groupId>org.apache.maven.plugins</groupId>
150                <artifactId>maven-checkstyle-plugin</artifactId>
151            </plugin>
152            <plugin>
153                <groupId>org.apache.maven.plugins</groupId>
154                <artifactId>maven-surefire-plugin</artifactId>
155                <configuration>
156                    <argLine>
157                        @{surefireArgLine}
158                        -Djna.nosys=true
159                        --illegal-access=permit
160                        --add-exports java.base/jdk.internal.ref=ALL-UNNAMED
161                        --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
162                        --add-exports java.base/sun.nio.ch=ALL-UNNAMED
163                    </argLine>
164                </configuration>
165            </plugin>
166        </plugins>
167    </build>
168
169</project>
170