xref: /OpenGrok/plugins/pom.xml (revision 56f072caf7d2bfa8d9934d1e7cbac3987de2dc17)
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>
28*56f072caSAdam Hornáček        <groupId>org.opengrok</groupId>
29791845cdSKryštof Tulinger        <artifactId>opengrok</artifactId>
30ace62994SVladimir Kotal        <version>1.1-SNAPSHOT</version>
31791845cdSKryštof Tulinger    </parent>
32791845cdSKryštof Tulinger
330170aac5SAdam Hornáček    <artifactId>plugins</artifactId>
340170aac5SAdam Hornáček    <version>1.1-SNAPSHOT</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>
420170aac5SAdam Hornáček            <artifactId>opengrok-indexer</artifactId>
430170aac5SAdam Hornáček            <version>${project.version}</version>
440170aac5SAdam Hornáček        </dependency>
450170aac5SAdam Hornáček        <dependency>
460170aac5SAdam Hornáček            <groupId>javax.servlet</groupId>
470170aac5SAdam Hornáček            <artifactId>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>
550170aac5SAdam Hornáček    </dependencies>
560170aac5SAdam Hornáček
57cb06a4bdSVladimir Kotal    <build>
58cb06a4bdSVladimir Kotal        <sourceDirectory>.</sourceDirectory>
5972fc4b0dSVladimir Kotal        <!-- Note that the plugins/UserPlugin/test/ directory is added via the build-helper plugin below -->
6094e775beSVladimir Kotal        <testSourceDirectory>LdapPlugin/test</testSourceDirectory>
6194e775beSVladimir Kotal
6294e775beSVladimir Kotal        <testResources>
6394e775beSVladimir Kotal            <testResource>
6494e775beSVladimir Kotal                <targetPath>opengrok/auth/plugin/</targetPath>
6594e775beSVladimir Kotal                <directory>LdapPlugin/test/opengrok/auth/plugin/</directory>
6694e775beSVladimir Kotal                <excludes>
6794e775beSVladimir Kotal                    <exclude>*.java</exclude>
6894e775beSVladimir Kotal                </excludes>
6994e775beSVladimir Kotal            </testResource>
7094e775beSVladimir Kotal        </testResources>
71cb06a4bdSVladimir Kotal
72cb06a4bdSVladimir Kotal        <plugins>
7394e775beSVladimir Kotal
74cb06a4bdSVladimir Kotal            <plugin>
75cb06a4bdSVladimir Kotal                <artifactId>maven-compiler-plugin</artifactId>
76cb06a4bdSVladimir Kotal                <version>2.0.2</version>
77cb06a4bdSVladimir Kotal                <configuration>
78cb06a4bdSVladimir Kotal                    <includes>
79cb06a4bdSVladimir Kotal                        <include>**/LdapPlugin/src/**</include>
80cb06a4bdSVladimir Kotal                        <include>**/UserPlugin/src/**</include>
81cb06a4bdSVladimir Kotal                        <include>*Plugin.java</include>
82cb06a4bdSVladimir Kotal                    </includes>
83cb06a4bdSVladimir Kotal                </configuration>
84cb06a4bdSVladimir Kotal            </plugin>
8594e775beSVladimir Kotal
8694e775beSVladimir Kotal            <plugin>
8794e775beSVladimir Kotal                <groupId>org.apache.maven.plugins</groupId>
8894e775beSVladimir Kotal                <artifactId>maven-surefire-plugin</artifactId>
8994e775beSVladimir Kotal                <configuration>
9094e775beSVladimir Kotal                    <systemPropertyVariables>
9194e775beSVladimir Kotal                        <junit-force-all>true</junit-force-all>
9294e775beSVladimir Kotal                    </systemPropertyVariables>
9394e775beSVladimir Kotal                </configuration>
9494e775beSVladimir Kotal            </plugin>
9594e775beSVladimir Kotal
9672fc4b0dSVladimir Kotal            <plugin>
9772fc4b0dSVladimir Kotal                <groupId>org.codehaus.mojo</groupId>
9872fc4b0dSVladimir Kotal                <artifactId>build-helper-maven-plugin</artifactId>
9972fc4b0dSVladimir Kotal                <version>1.8</version>
10072fc4b0dSVladimir Kotal                <executions>
10172fc4b0dSVladimir Kotal                    <execution>
10272fc4b0dSVladimir Kotal                        <id>add-test-source</id>
10372fc4b0dSVladimir Kotal                        <phase>generate-test-sources</phase>
10472fc4b0dSVladimir Kotal                        <goals>
10572fc4b0dSVladimir Kotal                            <goal>add-test-source</goal>
10672fc4b0dSVladimir Kotal                        </goals>
10772fc4b0dSVladimir Kotal                        <configuration>
10872fc4b0dSVladimir Kotal                            <sources>
10972fc4b0dSVladimir Kotal                                <directory>UserPlugin/test</directory>
11072fc4b0dSVladimir Kotal                            </sources>
11172fc4b0dSVladimir Kotal                        </configuration>
11272fc4b0dSVladimir Kotal                    </execution>
11372fc4b0dSVladimir Kotal                </executions>
11472fc4b0dSVladimir Kotal            </plugin>
11572fc4b0dSVladimir Kotal
116cb06a4bdSVladimir Kotal        </plugins>
117cb06a4bdSVladimir Kotal    </build>
118cb06a4bdSVladimir Kotal
119791845cdSKryštof Tulinger</project>
120