xref: /OpenGrok/plugins/pom.xml (revision 94e775be2a9f1b946ab55d8b45a33d978feabd3d)
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-->
24791845cdSKryštof Tulinger<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25791845cdSKryštof Tulinger  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
26791845cdSKryštof Tulinger    <modelVersion>4.0.0</modelVersion>
27791845cdSKryštof Tulinger    <groupId>org.opensolaris.opengrok</groupId>
28791845cdSKryštof Tulinger    <artifactId>plugins</artifactId>
29791845cdSKryštof Tulinger    <packaging>jar</packaging>
3054556231SVladimir Kotal    <version>1.1-SNAPSHOT</version>
31*94e775beSVladimir Kotal    <name>OpenGrok authorization plugins</name>
32791845cdSKryštof Tulinger
33791845cdSKryštof Tulinger    <parent>
34791845cdSKryštof Tulinger        <groupId>org.opensolaris.opengrok</groupId>
35791845cdSKryštof Tulinger        <artifactId>opengrok</artifactId>
36ace62994SVladimir Kotal        <version>1.1-SNAPSHOT</version>
37791845cdSKryštof Tulinger    </parent>
38791845cdSKryštof Tulinger
39cb06a4bdSVladimir Kotal    <build>
40cb06a4bdSVladimir Kotal        <sourceDirectory>.</sourceDirectory>
41*94e775beSVladimir Kotal	<!-- TODO: use build-helper:add-test-source to add plugins/UserPlugin/test/ -->
42*94e775beSVladimir Kotal        <testSourceDirectory>LdapPlugin/test</testSourceDirectory>
43*94e775beSVladimir Kotal
44*94e775beSVladimir Kotal        <testResources>
45*94e775beSVladimir Kotal            <testResource>
46*94e775beSVladimir Kotal                <targetPath>opengrok/auth/plugin/</targetPath>
47*94e775beSVladimir Kotal                <directory>LdapPlugin/test/opengrok/auth/plugin/</directory>
48*94e775beSVladimir Kotal                <excludes>
49*94e775beSVladimir Kotal                    <exclude>*.java</exclude>
50*94e775beSVladimir Kotal                </excludes>
51*94e775beSVladimir Kotal            </testResource>
52*94e775beSVladimir Kotal        </testResources>
53cb06a4bdSVladimir Kotal
54cb06a4bdSVladimir Kotal        <plugins>
55*94e775beSVladimir Kotal
56cb06a4bdSVladimir Kotal          <plugin>
57cb06a4bdSVladimir Kotal            <artifactId>maven-compiler-plugin</artifactId>
58cb06a4bdSVladimir Kotal            <version>2.0.2</version>
59cb06a4bdSVladimir Kotal            <configuration>
60cb06a4bdSVladimir Kotal              <includes>
61cb06a4bdSVladimir Kotal                <include>**/LdapPlugin/src/**</include>
62cb06a4bdSVladimir Kotal                <include>**/UserPlugin/src/**</include>
63cb06a4bdSVladimir Kotal                <include>*Plugin.java</include>
64cb06a4bdSVladimir Kotal              </includes>
65cb06a4bdSVladimir Kotal            </configuration>
66cb06a4bdSVladimir Kotal          </plugin>
67*94e775beSVladimir Kotal
68*94e775beSVladimir Kotal          <plugin>
69*94e775beSVladimir Kotal              <groupId>org.apache.maven.plugins</groupId>
70*94e775beSVladimir Kotal              <artifactId>maven-surefire-plugin</artifactId>
71*94e775beSVladimir Kotal              <configuration>
72*94e775beSVladimir Kotal                  <systemPropertyVariables>
73*94e775beSVladimir Kotal                      <junit-force-all>true</junit-force-all>
74*94e775beSVladimir Kotal                  </systemPropertyVariables>
75*94e775beSVladimir Kotal              </configuration>
76*94e775beSVladimir Kotal          </plugin>
77*94e775beSVladimir Kotal
78cb06a4bdSVladimir Kotal        </plugins>
79cb06a4bdSVladimir Kotal    </build>
80cb06a4bdSVladimir Kotal
81791845cdSKryštof Tulinger    <dependencies>
82791845cdSKryštof Tulinger        <dependency>
83791845cdSKryštof Tulinger            <groupId>${project.groupId}</groupId>
84791845cdSKryštof Tulinger            <artifactId>opengrok-indexer</artifactId>
85791845cdSKryštof Tulinger            <version>${project.version}</version>
86791845cdSKryštof Tulinger        </dependency>
87dce65990SVladimir Kotal        <dependency>
88*94e775beSVladimir Kotal            <groupId>javax.servlet</groupId>
89*94e775beSVladimir Kotal            <artifactId>servlet-api</artifactId>
90*94e775beSVladimir Kotal        </dependency>
91*94e775beSVladimir Kotal	<dependency>
92dce65990SVladimir Kotal	    <groupId>junit</groupId>
93dce65990SVladimir Kotal	    <artifactId>junit</artifactId>
94dce65990SVladimir Kotal	    <version>4.12</version>
95*94e775beSVladimir Kotal            <scope>test</scope>
96dce65990SVladimir Kotal	</dependency>
97791845cdSKryštof Tulinger    </dependencies>
98791845cdSKryštof Tulinger
99791845cdSKryštof Tulinger</project>
100