<?xml version="1.0" encoding="UTF-8"?>
<!--
CDDL HEADER START
The contents of this file are subject to the terms of the
Common Development and Distribution License (the "License").
You may not use this file except in compliance with the License.
See LICENSE.txt included in this distribution for the specific
language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each
file and include the License file at LICENSE.txt.
If applicable, add the following below this CDDL HEADER, with the
fields enclosed by brackets "[]" replaced with your own identifying
information: Portions Copyright [yyyy] [name of copyright owner]
CDDL HEADER END
-->
<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">
<modelVersion>4.0.0</modelVersion>
<artifactId>opengrok-indexer</artifactId>
<packaging>jar</packaging>
<version>0.13-SNAPSHOT</version>
<name>OpenGrok Indexer</name>
<parent>
<artifactId>opengrok</artifactId>
<version>0.13-SNAPSHOT</version>
</parent>
<build>
<resources>
<resource>
<includes>
<include>*.dat</include>
</includes>
</resource>
<resource>
<includes>
<include>*.dat</include>
</includes>
</resource>
<resource>
<excludes><exclude>*.java</exclude></excludes>
</resource>
<resource>
<includes>
<include>*.properties</include>
<include>**/*.gif</include>
</includes>
</resource>
<resource>
<excludes>
<exclude>*.java</exclude>
<exclude>*.html</exclude>
</excludes>
</resource>
</resources>
<testResources>
<testResource>
<excludes><exclude>*.java</exclude></excludes>
</testResource>
<testResource>
<excludes><exclude>*.java</exclude></excludes>
</testResource>
<testResource>
<excludes><exclude>*.java</exclude></excludes>
</testResource>
</testResources>
<plugins>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
</manifest>
<manifestEntries>
<!--
We don't include Derby yet, but set
up the classpath so that it's found
at runtime if it's installed.
-->
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<artifactId>jflex-maven-plugin</artifactId>
<version>1.6.1</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<lexDefinitions>
</lexDefinitions>
<inputStreamCtor>false</inputStreamCtor>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<executions>
<execution>
<phase>generate-resources</phase>
<configuration>
<target>
<ant target="-update-build-info"/>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
<execution>
<id>build-config-files</id>
<phase>process-test-classes</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target unless="maven.test.skip">
<ant target="-post-compile-test"/>
</target>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<junit-force-all>true</junit-force-all>
</systemPropertyVariables>
<excludes>
<!-- Test helper class with name that confuses surefire -->
</excludes>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<artifactId>bcel</artifactId>
</dependency>
<dependency>
<artifactId>lucene-core</artifactId>
</dependency>
<dependency>
<artifactId>lucene-analyzers-common</artifactId>
</dependency>
<artifactId>lucene-queryparser</artifactId>
</dependency>
<artifactId>lucene-suggest</artifactId>
</dependency>
<dependency>
<artifactId>servlet-api</artifactId>
</dependency>
<dependency>
<artifactId>json-simple</artifactId>
</dependency>
<dependency>
<artifactId>jrcs</artifactId>
</dependency>
<dependency>
<artifactId>ant</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<artifactId>derby</artifactId>
<scope>test</scope>
</dependency>
<!-- <dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derbyclient</artifactId>
<scope>run</scope>
</dependency>
-->
</dependencies>
</project>