xref: /OpenGrok/opengrok-indexer/pom.xml (revision aa4907e29a9548c256bfc09e42598a7d5bdcd670)
108a0c20eSJorgen Austvik<?xml version="1.0" encoding="UTF-8"?>
208a0c20eSJorgen Austvik<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
308a0c20eSJorgen Austvik  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
408a0c20eSJorgen Austvik    <modelVersion>4.0.0</modelVersion>
508a0c20eSJorgen Austvik    <groupId>org.opensolaris.opengrok</groupId>
608a0c20eSJorgen Austvik    <artifactId>opengrok-indexer</artifactId>
708a0c20eSJorgen Austvik    <packaging>jar</packaging>
808a0c20eSJorgen Austvik    <version>0.10-SNAPSHOT</version>
908a0c20eSJorgen Austvik    <name>OpenGrok Indexer</name>
1008a0c20eSJorgen Austvik
1108a0c20eSJorgen Austvik    <parent>
1208a0c20eSJorgen Austvik        <groupId>org.opensolaris.opengrok</groupId>
1308a0c20eSJorgen Austvik        <artifactId>opengrok</artifactId>
1408a0c20eSJorgen Austvik        <version>0.10-SNAPSHOT</version>
1508a0c20eSJorgen Austvik    </parent>
1608a0c20eSJorgen Austvik
1708a0c20eSJorgen Austvik    <build>
1808a0c20eSJorgen Austvik        <sourceDirectory>../src</sourceDirectory>
1908a0c20eSJorgen Austvik        <testSourceDirectory>../test</testSourceDirectory>
2008a0c20eSJorgen Austvik
218a75af3fSLubos Kosco        <resources>
228a75af3fSLubos Kosco            <resource>
23*aa4907e2SLubos Kosco                <targetPath>org/opensolaris/opengrok/analysis/sql/</targetPath>
248a75af3fSLubos Kosco                <directory>../src/org/opensolaris/opengrok/analysis/sql/</directory>
25*aa4907e2SLubos Kosco                <excludes><exclude>*.java</exclude></excludes>
268a75af3fSLubos Kosco            </resource>
278a75af3fSLubos Kosco            <resource>
28*aa4907e2SLubos Kosco                <targetPath>org/opensolaris/opengrok/index/</targetPath>
29*aa4907e2SLubos Kosco                <directory>../src/org/opensolaris/opengrok/index/</directory>
30*aa4907e2SLubos Kosco                <excludes><exclude>*.java</exclude></excludes>
318a75af3fSLubos Kosco            </resource>
32*aa4907e2SLubos Kosco            <resource>
33*aa4907e2SLubos Kosco                <targetPath>org/opensolaris/opengrok/management/</targetPath>
34*aa4907e2SLubos Kosco                <directory>../src/org/opensolaris/opengrok/management/</directory>
35*aa4907e2SLubos Kosco                <excludes>
36*aa4907e2SLubos Kosco                  <exclude>*.java</exclude>
37*aa4907e2SLubos Kosco                  <exclude>*.html</exclude>
38*aa4907e2SLubos Kosco                </excludes>
39*aa4907e2SLubos Kosco            </resource>
40*aa4907e2SLubos Kosco            <resource>
41*aa4907e2SLubos Kosco                <targetPath>org/opensolaris/opengrok/history/</targetPath>
42*aa4907e2SLubos Kosco                <directory>../src/org/opensolaris/opengrok/history/</directory>
43*aa4907e2SLubos Kosco                <excludes>
44*aa4907e2SLubos Kosco                  <exclude>*.java</exclude>
45*aa4907e2SLubos Kosco                  <exclude>*.html</exclude>
46*aa4907e2SLubos Kosco                </excludes>
47*aa4907e2SLubos Kosco            </resource>
488a75af3fSLubos Kosco        </resources>
498a75af3fSLubos Kosco
50*aa4907e2SLubos Kosco        <testResources>
51*aa4907e2SLubos Kosco            <testResource>
52*aa4907e2SLubos Kosco                <targetPath>org/opensolaris/opengrok/history/</targetPath>
53*aa4907e2SLubos Kosco                <directory>../test/org/opensolaris/opengrok/history/</directory>
54*aa4907e2SLubos Kosco                <excludes><exclude>*.java</exclude></excludes>
55*aa4907e2SLubos Kosco            </testResource>
56*aa4907e2SLubos Kosco        </testResources>
57*aa4907e2SLubos Kosco
5808a0c20eSJorgen Austvik        <plugins>
5908a0c20eSJorgen Austvik            <plugin>
6008a0c20eSJorgen Austvik                <groupId>de.jflex</groupId>
6108a0c20eSJorgen Austvik                <artifactId>maven-jflex-plugin</artifactId>
6208a0c20eSJorgen Austvik                <version>1.4.3</version>
6308a0c20eSJorgen Austvik                <executions>
6408a0c20eSJorgen Austvik                    <execution>
6508a0c20eSJorgen Austvik                        <goals>
6608a0c20eSJorgen Austvik                            <goal>generate</goal>
6708a0c20eSJorgen Austvik                        </goals>
6808a0c20eSJorgen Austvik                        <configuration>
69*aa4907e2SLubos Kosco                            <outputDirectory>../generatedsrc/</outputDirectory>
7008a0c20eSJorgen Austvik                            <lexDefinitions>
7108a0c20eSJorgen Austvik                                <lexDefinition>../src/org/opensolaris/opengrok/analysis/c/CSymbolTokenizer.lex</lexDefinition>
7208a0c20eSJorgen Austvik                                <lexDefinition>../src/org/opensolaris/opengrok/analysis/c/CXref.lex</lexDefinition>
7308a0c20eSJorgen Austvik                                <lexDefinition>../src/org/opensolaris/opengrok/analysis/c/CxxSymbolTokenizer.lex</lexDefinition>
7408a0c20eSJorgen Austvik                                <lexDefinition>../src/org/opensolaris/opengrok/analysis/c/CxxXref.lex</lexDefinition>
7508a0c20eSJorgen Austvik                                <lexDefinition>../src/org/opensolaris/opengrok/analysis/document/TroffFullTokenizer.lex</lexDefinition>
7608a0c20eSJorgen Austvik                                <lexDefinition>../src/org/opensolaris/opengrok/analysis/document/TroffXref.lex</lexDefinition>
7708a0c20eSJorgen Austvik                                <lexDefinition>../src/org/opensolaris/opengrok/analysis/fortran/FortranSymbolTokenizer.lex</lexDefinition>
7808a0c20eSJorgen Austvik                                <lexDefinition>../src/org/opensolaris/opengrok/analysis/fortran/FortranXref.lex</lexDefinition>
7908a0c20eSJorgen Austvik                                <lexDefinition>../src/org/opensolaris/opengrok/analysis/java/JavaSymbolTokenizer.lex</lexDefinition>
8008a0c20eSJorgen Austvik                                <lexDefinition>../src/org/opensolaris/opengrok/analysis/java/JavaXref.lex</lexDefinition>
8108a0c20eSJorgen Austvik                                <lexDefinition>../src/org/opensolaris/opengrok/analysis/lisp/LispSymbolTokenizer.lex</lexDefinition>
8208a0c20eSJorgen Austvik                                <lexDefinition>../src/org/opensolaris/opengrok/analysis/lisp/LispXref.lex</lexDefinition>
8308a0c20eSJorgen Austvik                                <lexDefinition>../src/org/opensolaris/opengrok/analysis/plain/PlainFullTokenizer.lex</lexDefinition>
8408a0c20eSJorgen Austvik                                <lexDefinition>../src/org/opensolaris/opengrok/analysis/plain/PlainSymbolTokenizer.lex</lexDefinition>
8508a0c20eSJorgen Austvik                                <lexDefinition>../src/org/opensolaris/opengrok/analysis/plain/PlainXref.lex</lexDefinition>
8608a0c20eSJorgen Austvik                                <lexDefinition>../src/org/opensolaris/opengrok/analysis/plain/XMLXref.lex</lexDefinition>
8708a0c20eSJorgen Austvik                                <lexDefinition>../src/org/opensolaris/opengrok/analysis/python/PythonSymbolTokenizer.lex</lexDefinition>
8808a0c20eSJorgen Austvik                                <lexDefinition>../src/org/opensolaris/opengrok/analysis/python/PythonXref.lex</lexDefinition>
8908a0c20eSJorgen Austvik                                <lexDefinition>../src/org/opensolaris/opengrok/analysis/sh/ShSymbolTokenizer.lex</lexDefinition>
9008a0c20eSJorgen Austvik                                <lexDefinition>../src/org/opensolaris/opengrok/analysis/sh/ShXref.lex</lexDefinition>
9108a0c20eSJorgen Austvik                                <lexDefinition>../src/org/opensolaris/opengrok/analysis/sql/SQLXref.lex</lexDefinition>
9208a0c20eSJorgen Austvik                                <lexDefinition>../src/org/opensolaris/opengrok/analysis/tcl/TclSymbolTokenizer.lex</lexDefinition>
9308a0c20eSJorgen Austvik                                <lexDefinition>../src/org/opensolaris/opengrok/analysis/tcl/TclXref.lex</lexDefinition>
9408a0c20eSJorgen Austvik                                <lexDefinition>../src/org/opensolaris/opengrok/search/context/HistoryLineTokenizer.lex</lexDefinition>
9508a0c20eSJorgen Austvik                                <lexDefinition>../src/org/opensolaris/opengrok/search/context/PlainLineTokenizer.lex</lexDefinition>
9608a0c20eSJorgen Austvik                            </lexDefinitions>
9708a0c20eSJorgen Austvik                        </configuration>
9808a0c20eSJorgen Austvik                    </execution>
9908a0c20eSJorgen Austvik                </executions>
10008a0c20eSJorgen Austvik            </plugin>
1012e3d7e6eSJorgen Austvik
1022e3d7e6eSJorgen Austvik            <plugin>
1032e3d7e6eSJorgen Austvik                <artifactId>maven-antrun-plugin</artifactId>
1042e3d7e6eSJorgen Austvik                <executions>
1052e3d7e6eSJorgen Austvik                    <execution>
1062e3d7e6eSJorgen Austvik                        <id>build-config-files</id>
1072e3d7e6eSJorgen Austvik                        <phase>process-test-classes</phase>
1082e3d7e6eSJorgen Austvik                        <goals>
1092e3d7e6eSJorgen Austvik                            <goal>run</goal>
1102e3d7e6eSJorgen Austvik                        </goals>
1112e3d7e6eSJorgen Austvik                        <configuration>
1122e3d7e6eSJorgen Austvik                            <tasks unless="maven.test.skip">
1132e3d7e6eSJorgen Austvik                                <ant antfile="${basedir}/build.xml">
1142e3d7e6eSJorgen Austvik                                    <target name="-post-compile-test"/>
1152e3d7e6eSJorgen Austvik                                </ant>
1162e3d7e6eSJorgen Austvik                            </tasks>
1172e3d7e6eSJorgen Austvik                        </configuration>
1182e3d7e6eSJorgen Austvik                    </execution>
1192e3d7e6eSJorgen Austvik                </executions>
1202e3d7e6eSJorgen Austvik            </plugin>
1212e3d7e6eSJorgen Austvik
122*aa4907e2SLubos Kosco            <plugin>
123*aa4907e2SLubos Kosco                <groupId>org.apache.maven.plugins</groupId>
124*aa4907e2SLubos Kosco                <artifactId>maven-surefire-plugin</artifactId>
125*aa4907e2SLubos Kosco                <configuration>
126*aa4907e2SLubos Kosco                    <excludes>
127*aa4907e2SLubos Kosco                        <!-- Test helper class with name that confuses surefire -->
128*aa4907e2SLubos Kosco                        <exclude>**/TestRepository.java</exclude>
129*aa4907e2SLubos Kosco                    </excludes>
130*aa4907e2SLubos Kosco                </configuration>
131*aa4907e2SLubos Kosco            </plugin>
132*aa4907e2SLubos Kosco
133*aa4907e2SLubos Kosco
13408a0c20eSJorgen Austvik        </plugins>
13508a0c20eSJorgen Austvik    </build>
13608a0c20eSJorgen Austvik
13708a0c20eSJorgen Austvik    <dependencies>
13808a0c20eSJorgen Austvik        <dependency>
13908a0c20eSJorgen Austvik            <groupId>org.apache.bcel</groupId>
14008a0c20eSJorgen Austvik            <artifactId>bcel</artifactId>
14108a0c20eSJorgen Austvik        </dependency>
14208a0c20eSJorgen Austvik        <dependency>
14308a0c20eSJorgen Austvik            <groupId>org.apache.lucene</groupId>
14408a0c20eSJorgen Austvik            <artifactId>lucene-core</artifactId>
14508a0c20eSJorgen Austvik        </dependency>
14608a0c20eSJorgen Austvik        <dependency>
14708a0c20eSJorgen Austvik            <groupId>org.apache.lucene</groupId>
14808a0c20eSJorgen Austvik            <artifactId>lucene-spellchecker</artifactId>
14908a0c20eSJorgen Austvik        </dependency>
15008a0c20eSJorgen Austvik        <dependency>
15108a0c20eSJorgen Austvik            <groupId>javax.servlet</groupId>
15208a0c20eSJorgen Austvik            <artifactId>servlet-api</artifactId>
15308a0c20eSJorgen Austvik        </dependency>
15408a0c20eSJorgen Austvik        <dependency>
15508a0c20eSJorgen Austvik            <groupId>oro</groupId>
15608a0c20eSJorgen Austvik            <artifactId>oro</artifactId>
15708a0c20eSJorgen Austvik        </dependency>
15808a0c20eSJorgen Austvik        <dependency>
159381a9b85SJorgen Austvik            <groupId>org.opensolaris.opengrok</groupId>
160381a9b85SJorgen Austvik            <artifactId>jrcs</artifactId>
161381a9b85SJorgen Austvik            <version>${project.version}</version>
16208a0c20eSJorgen Austvik        </dependency>
16308a0c20eSJorgen Austvik        <dependency>
16408a0c20eSJorgen Austvik            <groupId>org.apache.ant</groupId>
16508a0c20eSJorgen Austvik            <artifactId>ant</artifactId>
16608a0c20eSJorgen Austvik        </dependency>
16708a0c20eSJorgen Austvik        <dependency>
16808a0c20eSJorgen Austvik            <groupId>junit</groupId>
16908a0c20eSJorgen Austvik            <artifactId>junit</artifactId>
17008a0c20eSJorgen Austvik            <scope>test</scope>
17108a0c20eSJorgen Austvik        </dependency>
172*aa4907e2SLubos Kosco        <dependency>
173*aa4907e2SLubos Kosco            <groupId>org.apache.derby</groupId>
174*aa4907e2SLubos Kosco            <artifactId>derby</artifactId>
175*aa4907e2SLubos Kosco            <version>10.6.1.0</version>
176*aa4907e2SLubos Kosco            <scope>test</scope>
177*aa4907e2SLubos Kosco        </dependency>
178*aa4907e2SLubos Kosco<!--        <dependency>
179*aa4907e2SLubos Kosco            <groupId>org.apache.derby</groupId>
180*aa4907e2SLubos Kosco            <artifactId>derbyclient</artifactId>
181*aa4907e2SLubos Kosco            <version>10.6.1.0</version>
182*aa4907e2SLubos Kosco            <scope>run</scope>
183*aa4907e2SLubos Kosco        </dependency>
184*aa4907e2SLubos Kosco-->
185*aa4907e2SLubos Kosco
18608a0c20eSJorgen Austvik    </dependencies>
18708a0c20eSJorgen Austvik
18808a0c20eSJorgen Austvik</project>
189