pom.xml revision fcb68bae47907ba23c545e379c81c3ee6e19f778
<?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>
<excludes><exclude>*.java</exclude></excludes>
</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>
<excludes>
<exclude>*.java</exclude>
<exclude>*.html</exclude>
</excludes>
</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>
<outputDirectory>/generatedsrc/</outputDirectory>
<lexDefinitions>
<lexDefinition>/src/org/opensolaris/opengrok/analysis/c/CSymbolTokenizer.lex</lexDefinition>
<lexDefinition>/src/org/opensolaris/opengrok/analysis/c/CXref.lex</lexDefinition>
<lexDefinition>/src/org/opensolaris/opengrok/analysis/c/CxxSymbolTokenizer.lex</lexDefinition>
<lexDefinition>/src/org/opensolaris/opengrok/analysis/c/CxxXref.lex</lexDefinition>
<lexDefinition>/src/org/opensolaris/opengrok/analysis/document/TroffFullTokenizer.lex</lexDefinition>
<lexDefinition>/src/org/opensolaris/opengrok/analysis/document/TroffXref.lex</lexDefinition>
<lexDefinition>/src/org/opensolaris/opengrok/analysis/fortran/FortranSymbolTokenizer.lex</lexDefinition>
<lexDefinition>/src/org/opensolaris/opengrok/analysis/fortran/FortranXref.lex</lexDefinition>
<lexDefinition>/src/org/opensolaris/opengrok/analysis/java/JavaSymbolTokenizer.lex</lexDefinition>
<lexDefinition>/src/org/opensolaris/opengrok/analysis/java/JavaXref.lex</lexDefinition>
<lexDefinition>/src/org/opensolaris/opengrok/analysis/lisp/LispSymbolTokenizer.lex</lexDefinition>
<lexDefinition>/src/org/opensolaris/opengrok/analysis/lisp/LispXref.lex</lexDefinition>
<lexDefinition>/src/org/opensolaris/opengrok/analysis/plain/PlainFullTokenizer.lex</lexDefinition>
<lexDefinition>/src/org/opensolaris/opengrok/analysis/plain/PlainSymbolTokenizer.lex</lexDefinition>
<lexDefinition>/src/org/opensolaris/opengrok/analysis/plain/PlainXref.lex</lexDefinition>
<lexDefinition>/src/org/opensolaris/opengrok/analysis/plain/XMLXref.lex</lexDefinition>
<lexDefinition>/src/org/opensolaris/opengrok/analysis/python/PythonSymbolTokenizer.lex</lexDefinition>
<lexDefinition>/src/org/opensolaris/opengrok/analysis/python/PythonXref.lex</lexDefinition>
<lexDefinition>/src/org/opensolaris/opengrok/analysis/python/PerlSymbolTokenizer.lex</lexDefinition>
<lexDefinition>/src/org/opensolaris/opengrok/analysis/python/PerlXref.lex</lexDefinition>
<lexDefinition>/src/org/opensolaris/opengrok/analysis/sh/ShSymbolTokenizer.lex</lexDefinition>
<lexDefinition>/src/org/opensolaris/opengrok/analysis/sh/ShXref.lex</lexDefinition>
<lexDefinition>/src/org/opensolaris/opengrok/analysis/sql/SQLXref.lex</lexDefinition>
<lexDefinition>/src/org/opensolaris/opengrok/analysis/tcl/TclSymbolTokenizer.lex</lexDefinition>
<lexDefinition>/src/org/opensolaris/opengrok/analysis/tcl/TclXref.lex</lexDefinition>
<lexDefinition>/src/org/opensolaris/opengrok/search/context/HistoryLineTokenizer.lex</lexDefinition>
<lexDefinition>/src/org/opensolaris/opengrok/search/context/PlainLineTokenizer.lex</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>oro</groupId>
<artifactId>oro</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>