xref: /OpenGrok/plugins/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) 2016, 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/maven-v4_0_0.xsd">
26    <modelVersion>4.0.0</modelVersion>
27
28    <parent>
29        <groupId>org.opengrok</groupId>
30        <artifactId>opengrok-top</artifactId>
31        <version>1.7.32</version>
32    </parent>
33
34    <artifactId>plugins</artifactId>
35    <version>1.7.32</version>
36    <packaging>jar</packaging>
37
38    <name>OpenGrok authorization plugins</name>
39
40    <dependencies>
41        <dependency>
42            <groupId>${project.groupId}</groupId>
43            <artifactId>opengrok</artifactId>
44            <version>${project.version}</version>
45        </dependency>
46        <dependency>
47            <groupId>${project.groupId}</groupId>
48            <artifactId>opengrok</artifactId>
49            <version>${project.version}</version>
50            <classifier>tests</classifier>
51            <type>test-jar</type>
52            <scope>test</scope>
53        </dependency>
54        <dependency>
55            <groupId>jakarta.servlet</groupId>
56            <artifactId>jakarta.servlet-api</artifactId>
57        </dependency>
58        <dependency>
59            <groupId>org.junit.jupiter</groupId>
60            <artifactId>junit-jupiter-engine</artifactId>
61            <scope>test</scope>
62        </dependency>
63        <dependency>
64            <groupId>org.junit.jupiter</groupId>
65            <artifactId>junit-jupiter-params</artifactId>
66            <scope>test</scope>
67        </dependency>
68        <dependency>
69            <groupId>org.glassfish.jersey.core</groupId>
70            <artifactId>jersey-client</artifactId>
71            <version>${jersey.version}</version>
72        </dependency>
73        <dependency>
74            <groupId>org.glassfish.jersey.media</groupId>
75            <artifactId>jersey-media-json-jackson</artifactId>
76            <version>${jersey.version}</version>
77        </dependency>
78        <dependency>
79            <groupId>org.glassfish.jersey.inject</groupId>
80            <artifactId>jersey-hk2</artifactId>
81            <version>${jersey.version}</version>
82        </dependency>
83        <dependency>
84            <groupId>org.glassfish.jersey.test-framework.providers</groupId>
85            <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
86            <version>${jersey.version}</version>
87            <scope>test</scope>
88            <exclusions>
89                <exclusion>
90                    <groupId>junit</groupId>
91                    <artifactId>junit</artifactId>
92                </exclusion>
93            </exclusions>
94        </dependency>
95        <dependency>
96            <groupId>org.mockito</groupId>
97            <artifactId>mockito-core</artifactId>
98            <scope>test</scope>
99        </dependency>
100        <dependency>
101            <groupId>org.jetbrains</groupId>
102            <artifactId>annotations</artifactId>
103            <scope>compile</scope>
104        </dependency>
105    </dependencies>
106
107    <build>
108        <plugins>
109            <plugin>
110              <groupId>org.apache.maven.plugins</groupId>
111              <artifactId>maven-checkstyle-plugin</artifactId>
112            </plugin>
113            <plugin>
114                <groupId>org.apache.maven.plugins</groupId>
115                <artifactId>maven-surefire-plugin</artifactId>
116                <configuration>
117                    <systemPropertyVariables>
118                        <junit-force-all>true</junit-force-all>
119                    </systemPropertyVariables>
120                    <argLine>
121                        @{surefireArgLine}
122                        --illegal-access=permit
123                    </argLine>
124                </configuration>
125            </plugin>
126        </plugins>
127    </build>
128
129</project>
130