xref: /OpenGrok/plugins/pom.xml (revision 806e34ba6cea9c9fe9c72c69579e6a1c3f93e1e7)
1791845cdSKryštof Tulinger<?xml version="1.0" encoding="UTF-8"?>
2791845cdSKryštof Tulinger<!--
3791845cdSKryštof Tulinger
4791845cdSKryštof TulingerCDDL HEADER START
5791845cdSKryštof Tulinger
6791845cdSKryštof TulingerThe contents of this file are subject to the terms of the
7791845cdSKryštof TulingerCommon Development and Distribution License (the "License").
8791845cdSKryštof TulingerYou may not use this file except in compliance with the License.
9791845cdSKryštof Tulinger
10791845cdSKryštof TulingerSee LICENSE.txt included in this distribution for the specific
11791845cdSKryštof Tulingerlanguage governing permissions and limitations under the License.
12791845cdSKryštof Tulinger
13791845cdSKryštof TulingerWhen distributing Covered Code, include this CDDL HEADER in each
14791845cdSKryštof Tulingerfile and include the License file at LICENSE.txt.
15791845cdSKryštof TulingerIf applicable, add the following below this CDDL HEADER, with the
16791845cdSKryštof Tulingerfields enclosed by brackets "[]" replaced with your own identifying
17791845cdSKryštof Tulingerinformation: Portions Copyright [yyyy] [name of copyright owner]
18791845cdSKryštof Tulinger
19791845cdSKryštof TulingerCDDL HEADER END
20791845cdSKryštof Tulinger
21791845cdSKryštof TulingerCopyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
22791845cdSKryštof Tulinger
23791845cdSKryštof Tulinger-->
240170aac5SAdam Hornáček<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">
25791845cdSKryštof Tulinger    <modelVersion>4.0.0</modelVersion>
26791845cdSKryštof Tulinger
27791845cdSKryštof Tulinger    <parent>
2856f072caSAdam Hornáček        <groupId>org.opengrok</groupId>
296ed99b2dSVladimir Kotal        <artifactId>opengrok-top</artifactId>
3032765574SVladimir Kotal        <version>1.2.7</version>
31791845cdSKryštof Tulinger    </parent>
32791845cdSKryštof Tulinger
330170aac5SAdam Hornáček    <artifactId>plugins</artifactId>
3432765574SVladimir Kotal    <version>1.2.7</version>
350170aac5SAdam Hornáček    <packaging>jar</packaging>
360170aac5SAdam Hornáček
370170aac5SAdam Hornáček    <name>OpenGrok authorization plugins</name>
380170aac5SAdam Hornáček
390170aac5SAdam Hornáček    <dependencies>
400170aac5SAdam Hornáček        <dependency>
410170aac5SAdam Hornáček            <groupId>${project.groupId}</groupId>
42bb76b0b8SAdam Hornáček            <artifactId>opengrok</artifactId>
430170aac5SAdam Hornáček            <version>${project.version}</version>
440170aac5SAdam Hornáček        </dependency>
450170aac5SAdam Hornáček        <dependency>
460170aac5SAdam Hornáček            <groupId>javax.servlet</groupId>
47e393cb49SAdam Hornáček            <artifactId>javax.servlet-api</artifactId>
480170aac5SAdam Hornáček        </dependency>
490170aac5SAdam Hornáček        <dependency>
500170aac5SAdam Hornáček            <groupId>junit</groupId>
510170aac5SAdam Hornáček            <artifactId>junit</artifactId>
520170aac5SAdam Hornáček            <version>4.12</version>
530170aac5SAdam Hornáček            <scope>test</scope>
540170aac5SAdam Hornáček        </dependency>
55*806e34baSVladimir Kotal        <dependency>
56*806e34baSVladimir Kotal            <groupId>org.glassfish.jersey.core</groupId>
57*806e34baSVladimir Kotal            <artifactId>jersey-client</artifactId>
58*806e34baSVladimir Kotal            <version>${jersey.version}</version>
59*806e34baSVladimir Kotal        </dependency>
60*806e34baSVladimir Kotal        <dependency>
61*806e34baSVladimir Kotal            <groupId>org.glassfish.jersey.media</groupId>
62*806e34baSVladimir Kotal            <artifactId>jersey-media-json-jackson</artifactId>
63*806e34baSVladimir Kotal            <version>${jersey.version}</version>
64*806e34baSVladimir Kotal        </dependency>
65*806e34baSVladimir Kotal        <dependency>
66*806e34baSVladimir Kotal            <groupId>org.glassfish.jersey.inject</groupId>
67*806e34baSVladimir Kotal            <artifactId>jersey-hk2</artifactId>
68*806e34baSVladimir Kotal            <version>${jersey.version}</version>
69*806e34baSVladimir Kotal        </dependency>
700170aac5SAdam Hornáček    </dependencies>
710170aac5SAdam Hornáček
72cb06a4bdSVladimir Kotal    <build>
73c29f361cSVladimir Kotal        <sourceDirectory>src</sourceDirectory>
74c29f361cSVladimir Kotal        <testSourceDirectory>test</testSourceDirectory>
7594e775beSVladimir Kotal
7694e775beSVladimir Kotal        <testResources>
7794e775beSVladimir Kotal            <testResource>
7894e775beSVladimir Kotal                <targetPath>opengrok/auth/plugin/</targetPath>
79c29f361cSVladimir Kotal                <directory>test/opengrok/auth/plugin/</directory>
8094e775beSVladimir Kotal                <excludes>
8194e775beSVladimir Kotal                    <exclude>*.java</exclude>
8294e775beSVladimir Kotal                </excludes>
8394e775beSVladimir Kotal            </testResource>
8494e775beSVladimir Kotal        </testResources>
85cb06a4bdSVladimir Kotal
86cb06a4bdSVladimir Kotal        <plugins>
8794e775beSVladimir Kotal            <plugin>
8894e775beSVladimir Kotal              <groupId>org.apache.maven.plugins</groupId>
89ced7bdbcSVladimir Kotal              <artifactId>maven-checkstyle-plugin</artifactId>
90ced7bdbcSVladimir Kotal            </plugin>
91ced7bdbcSVladimir Kotal            <plugin>
92ced7bdbcSVladimir Kotal                <groupId>org.apache.maven.plugins</groupId>
9394e775beSVladimir Kotal                <artifactId>maven-surefire-plugin</artifactId>
9494e775beSVladimir Kotal                <configuration>
9594e775beSVladimir Kotal                    <systemPropertyVariables>
9694e775beSVladimir Kotal                        <junit-force-all>true</junit-force-all>
9794e775beSVladimir Kotal                    </systemPropertyVariables>
983db07792SVladimir Kotal                    <argLine>@{surefireArgLine}</argLine>
9994e775beSVladimir Kotal                </configuration>
10094e775beSVladimir Kotal            </plugin>
101cb06a4bdSVladimir Kotal        </plugins>
102cb06a4bdSVladimir Kotal    </build>
103cb06a4bdSVladimir Kotal
1043db07792SVladimir Kotal    <profiles>
1053db07792SVladimir Kotal        <profile>
1063db07792SVladimir Kotal            <id>java9plus</id>
1073db07792SVladimir Kotal            <activation>
1083db07792SVladimir Kotal                <jdk>[9,18]</jdk>
1093db07792SVladimir Kotal            </activation>
1103db07792SVladimir Kotal            <build>
1113db07792SVladimir Kotal                <plugins>
1123db07792SVladimir Kotal                    <plugin>
1133db07792SVladimir Kotal                        <groupId>org.apache.maven.plugins</groupId>
1143db07792SVladimir Kotal                        <artifactId>maven-surefire-plugin</artifactId>
1153db07792SVladimir Kotal                        <configuration>
1163db07792SVladimir Kotal                            <argLine>
1173db07792SVladimir Kotal                                @{surefireArgLine}
1183db07792SVladimir Kotal                                --illegal-access=permit
1193db07792SVladimir Kotal                            </argLine>
1203db07792SVladimir Kotal                        </configuration>
1213db07792SVladimir Kotal                    </plugin>
1223db07792SVladimir Kotal                </plugins>
1233db07792SVladimir Kotal            </build>
1243db07792SVladimir Kotal        </profile>
1253db07792SVladimir Kotal    </profiles>
1263db07792SVladimir Kotal
127791845cdSKryštof Tulinger</project>
128