pom.xml revision 6ba6a49186aff8de4dc5251195b9917021b5ee69
<?xml version="1.0" encoding="UTF-8"?>
<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>
<groupId>org.opensolaris.opengrok</groupId>
<artifactId>opengrok-indexer</artifactId>
<packaging>jar</packaging>
<version>0.10-SNAPSHOT</version>
<name>OpenGrok Indexer</name>
<parent>
<groupId>org.opensolaris.opengrok</groupId>
<artifactId>opengrok</artifactId>
<version>0.10-SNAPSHOT</version>
</parent>
<build>
<sourceDirectory>/src</sourceDirectory>
<testSourceDirectory>/test</testSourceDirectory>
<resources>
<resource>
<targetPath>org/opensolaris/opengrok/analysis/sql/</targetPath>
<directory>/src/org/opensolaris/opengrok/analysis/sql/</directory>
<includes>
<include>*.dat</include>
</includes>
</resource>
<resource>
<targetPath>org/opensolaris/opengrok/index/</targetPath>
<directory>/src/org/opensolaris/opengrok/index/</directory>
<excludes><exclude>*.java</exclude></excludes>
</resource>
<resource>
<targetPath>org/opensolaris/opengrok/management/</targetPath>
<directory>/src/org/opensolaris/opengrok/management/</directory>
<includes>
<include>*.properties</include>
<include>**/*.gif</include>
</includes>
</resource>
<resource>
<targetPath>org/opensolaris/opengrok/history/</targetPath>
<directory>/src/org/opensolaris/opengrok/history/</directory>
<excludes>
<exclude>*.java</exclude>
<exclude>*.html</exclude>
</excludes>
</resource>
</resources>
<testResources>
<testResource>
<targetPath>org/opensolaris/opengrok/history/</targetPath>
<directory>/test/org/opensolaris/opengrok/history/</directory>
<excludes><exclude>*.java</exclude></excludes>
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>de.jflex</groupId>
<artifactId>maven-jflex-plugin</artifactId>
<version>1.4.3</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<lexDefinitions>
<lexDefinition>/src</lexDefinition>
</lexDefinitions>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>build-config-files</id>
<phase>process-test-classes</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks unless="maven.test.skip">
<ant antfile="${basedir}/build.xml">
<target name="-post-compile-test"/>
</ant>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
<!-- Test helper class with name that confuses surefire -->
<exclude>**/TestRepository.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.apache.bcel</groupId>
<artifactId>bcel</artifactId>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-spellchecker</artifactId>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
</dependency>
<dependency>
<groupId>org.opensolaris.opengrok</groupId>
<artifactId>jrcs</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
<scope>test</scope>
</dependency>
<!-- <dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derbyclient</artifactId>
<scope>run</scope>
</dependency>
-->
</dependencies>
</project>