xref: /OpenGrok/opengrok-indexer/pom.xml (revision e66b213291ea0246d392ae3dbb9c6a609d5a1b17)
108a0c20eSJorgen Austvik<?xml version="1.0" encoding="UTF-8"?>
218446c8aSKnut Anders Hatlen<!--
318446c8aSKnut Anders Hatlen
418446c8aSKnut Anders HatlenCDDL HEADER START
518446c8aSKnut Anders Hatlen
618446c8aSKnut Anders HatlenThe contents of this file are subject to the terms of the
718446c8aSKnut Anders HatlenCommon Development and Distribution License (the "License").
818446c8aSKnut Anders HatlenYou may not use this file except in compliance with the License.
918446c8aSKnut Anders Hatlen
1018446c8aSKnut Anders HatlenSee LICENSE.txt included in this distribution for the specific
1118446c8aSKnut Anders Hatlenlanguage governing permissions and limitations under the License.
1218446c8aSKnut Anders Hatlen
1318446c8aSKnut Anders HatlenWhen distributing Covered Code, include this CDDL HEADER in each
1418446c8aSKnut Anders Hatlenfile and include the License file at LICENSE.txt.
1518446c8aSKnut Anders HatlenIf applicable, add the following below this CDDL HEADER, with the
1618446c8aSKnut Anders Hatlenfields enclosed by brackets "[]" replaced with your own identifying
1718446c8aSKnut Anders Hatleninformation: Portions Copyright [yyyy] [name of copyright owner]
1818446c8aSKnut Anders Hatlen
1918446c8aSKnut Anders HatlenCDDL HEADER END
2018446c8aSKnut Anders Hatlen
219f2d396bSVladimir KotalCopyright (c) 2010, 2020, Oracle and/or its affiliates. All rights reserved.
22d051e170SChris FrairePortions Copyright (c) 2017-2020, Chris Fraire <cfraire@me.com>.
23298ce67fSLubos KoscoPortions Copyright (c) 2020-2020, Lubos Kosco <tarzanek@gmail.com>.
2418446c8aSKnut Anders Hatlen
2518446c8aSKnut Anders Hatlen-->
260170aac5SAdam Hornáček<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">
2708a0c20eSJorgen Austvik    <modelVersion>4.0.0</modelVersion>
2808a0c20eSJorgen Austvik
2908a0c20eSJorgen Austvik    <parent>
3056f072caSAdam Hornáček        <groupId>org.opengrok</groupId>
316ed99b2dSVladimir Kotal        <artifactId>opengrok-top</artifactId>
3242714595SVladimir Kotal        <version>1.6.4</version>
3308a0c20eSJorgen Austvik    </parent>
3408a0c20eSJorgen Austvik
35bb76b0b8SAdam Hornáček    <artifactId>opengrok</artifactId>
3642714595SVladimir Kotal    <version>1.6.4</version>
370170aac5SAdam Hornáček    <packaging>jar</packaging>
380170aac5SAdam Hornáček
390170aac5SAdam Hornáček    <name>OpenGrok Indexer</name>
400170aac5SAdam Hornáček
41a99355ddSVladimir Kotal    <properties>
42a99355ddSVladimir Kotal        <version>${project.version}</version>
43a99355ddSVladimir Kotal    </properties>
44a99355ddSVladimir Kotal
450170aac5SAdam Hornáček    <dependencies>
460170aac5SAdam Hornáček        <dependency>
470170aac5SAdam Hornáček            <groupId>org.apache.bcel</groupId>
480170aac5SAdam Hornáček            <artifactId>bcel</artifactId>
490170aac5SAdam Hornáček        </dependency>
500170aac5SAdam Hornáček        <dependency>
511e75da15SVladimir Kotal            <groupId>org.apache.commons</groupId>
521e75da15SVladimir Kotal            <artifactId>commons-lang3</artifactId>
531e75da15SVladimir Kotal            <version>${apache-commons-lang3.version}</version>
541e75da15SVladimir Kotal        </dependency>
551e75da15SVladimir Kotal        <dependency>
568ba3bf89SChris Fraire            <groupId>org.apache.commons</groupId>
578ba3bf89SChris Fraire            <artifactId>commons-compress</artifactId>
588ba3bf89SChris Fraire            <version>1.19</version>
598ba3bf89SChris Fraire        </dependency>
608ba3bf89SChris Fraire        <dependency>
610170aac5SAdam Hornáček            <groupId>org.apache.lucene</groupId>
620170aac5SAdam Hornáček            <artifactId>lucene-core</artifactId>
630170aac5SAdam Hornáček        </dependency>
640170aac5SAdam Hornáček        <dependency>
650170aac5SAdam Hornáček            <groupId>org.apache.lucene</groupId>
660170aac5SAdam Hornáček            <artifactId>lucene-analyzers-common</artifactId>
670170aac5SAdam Hornáček        </dependency>
680170aac5SAdam Hornáček        <dependency>
690170aac5SAdam Hornáček            <groupId>org.apache.lucene</groupId>
702cacd6e7SAdam Hornáček            <artifactId>lucene-highlighter</artifactId>
712cacd6e7SAdam Hornáček        </dependency>
722cacd6e7SAdam Hornáček        <dependency>
732cacd6e7SAdam Hornáček            <groupId>org.apache.lucene</groupId>
742cacd6e7SAdam Hornáček            <artifactId>lucene-join</artifactId>
752cacd6e7SAdam Hornáček        </dependency>
762cacd6e7SAdam Hornáček        <dependency>
772cacd6e7SAdam Hornáček            <groupId>org.apache.lucene</groupId>
782cacd6e7SAdam Hornáček            <artifactId>lucene-memory</artifactId>
792cacd6e7SAdam Hornáček        </dependency>
802cacd6e7SAdam Hornáček        <dependency>
812cacd6e7SAdam Hornáček            <groupId>org.apache.lucene</groupId>
822cacd6e7SAdam Hornáček            <artifactId>lucene-queries</artifactId>
832cacd6e7SAdam Hornáček        </dependency>
842cacd6e7SAdam Hornáček        <dependency>
852cacd6e7SAdam Hornáček            <groupId>org.apache.lucene</groupId>
860170aac5SAdam Hornáček            <artifactId>lucene-queryparser</artifactId>
870170aac5SAdam Hornáček        </dependency>
880170aac5SAdam Hornáček        <dependency>
890170aac5SAdam Hornáček            <groupId>org.apache.lucene</groupId>
90f11f248bSAdam Hornáček            <artifactId>lucene-backward-codecs</artifactId>
91f11f248bSAdam Hornáček            <version>${lucene.version}</version>
92f11f248bSAdam Hornáček        </dependency>
93f11f248bSAdam Hornáček        <dependency>
94f11f248bSAdam Hornáček            <groupId>org.apache.lucene</groupId>
950170aac5SAdam Hornáček            <artifactId>lucene-suggest</artifactId>
960170aac5SAdam Hornáček        </dependency>
970170aac5SAdam Hornáček        <dependency>
98aa6abf42SAdam Hornacek            <groupId>jakarta.servlet</groupId>
99aa6abf42SAdam Hornacek            <artifactId>jakarta.servlet-api</artifactId>
1000170aac5SAdam Hornáček        </dependency>
1010170aac5SAdam Hornáček        <dependency>
1020170aac5SAdam Hornáček            <groupId>org.apache.ant</groupId>
1030170aac5SAdam Hornáček            <artifactId>ant</artifactId>
1040170aac5SAdam Hornáček        </dependency>
1051a2bb6b6SAdam Hornáček        <dependency> <!-- TODO: remove! (moving Messages to web module) -->
1061a2bb6b6SAdam Hornáček            <groupId>org.glassfish.jersey.ext</groupId>
1071a2bb6b6SAdam Hornáček            <artifactId>jersey-bean-validation</artifactId>
1084ce4e2b9SAdam Hornáček            <version>${jersey.version}</version>
1094ce4e2b9SAdam Hornáček        </dependency>
1104ce4e2b9SAdam Hornáček        <dependency>
1114ce4e2b9SAdam Hornáček            <groupId>org.glassfish.jersey.media</groupId>
1124ce4e2b9SAdam Hornáček            <artifactId>jersey-media-json-jackson</artifactId>
1134ce4e2b9SAdam Hornáček            <version>${jersey.version}</version>
1144ce4e2b9SAdam Hornáček        </dependency>
1154ce4e2b9SAdam Hornáček        <dependency>
1161a2bb6b6SAdam Hornáček            <groupId>org.glassfish.jersey.core</groupId>
1171a2bb6b6SAdam Hornáček            <artifactId>jersey-client</artifactId>
1184ce4e2b9SAdam Hornáček            <version>${jersey.version}</version>
1194ce4e2b9SAdam Hornáček        </dependency>
1204ce4e2b9SAdam Hornáček        <dependency>
1211a2bb6b6SAdam Hornáček            <groupId>org.glassfish.jersey.inject</groupId>
1221a2bb6b6SAdam Hornáček            <artifactId>jersey-hk2</artifactId>
1231a2bb6b6SAdam Hornáček            <version>${jersey.version}</version>
1244ce4e2b9SAdam Hornáček        </dependency>
1254ce4e2b9SAdam Hornáček        <dependency>
126fe16c439SAdam Hornacek            <groupId>org.webjars</groupId>
127fe16c439SAdam Hornacek            <artifactId>webjars-locator-core</artifactId>
12830a056baSAdam Hornacek            <version>0.46</version>
129fe16c439SAdam Hornacek        </dependency>
130fe16c439SAdam Hornacek        <dependency>
1315f96ffbeSDalibor Skrobak            <groupId>org.junit.jupiter</groupId>
1325f96ffbeSDalibor Skrobak            <artifactId>junit-jupiter-engine</artifactId>
1335f96ffbeSDalibor Skrobak            <scope>test</scope>
1345f96ffbeSDalibor Skrobak        </dependency>
1355f96ffbeSDalibor Skrobak        <dependency>
1365f96ffbeSDalibor Skrobak            <groupId>org.junit.vintage</groupId>
1375f96ffbeSDalibor Skrobak            <artifactId>junit-vintage-engine</artifactId>
1380170aac5SAdam Hornáček            <scope>test</scope>
1390170aac5SAdam Hornáček        </dependency>
1406d9d3df9SAnatoly Akkerman        <dependency>
1416d9d3df9SAnatoly Akkerman            <groupId>org.hamcrest</groupId>
1426d9d3df9SAnatoly Akkerman            <artifactId>hamcrest-library</artifactId>
1436d9d3df9SAnatoly Akkerman            <version>${hamcrest.version}</version>
1446d9d3df9SAnatoly Akkerman            <scope>test</scope>
1456d9d3df9SAnatoly Akkerman        </dependency>
1461a2bb6b6SAdam Hornáček        <dependency> <!-- TODO: remove! (moving Messages to web module) -->
1474ce4e2b9SAdam Hornáček            <groupId>org.awaitility</groupId>
1484ce4e2b9SAdam Hornáček            <artifactId>awaitility</artifactId>
1490223f1b8SAdam Hornacek            <version>3.1.6</version>
1504ce4e2b9SAdam Hornáček            <scope>test</scope>
1514ce4e2b9SAdam Hornáček        </dependency>
152911e8af0SAdam Hornáček        <dependency>
153911e8af0SAdam Hornáček            <groupId>org.glassfish.jersey.test-framework.providers</groupId>
154911e8af0SAdam Hornáček            <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
155911e8af0SAdam Hornáček            <version>${jersey.version}</version>
156911e8af0SAdam Hornáček            <scope>test</scope>
157911e8af0SAdam Hornáček        </dependency>
158911e8af0SAdam Hornáček        <dependency>
159911e8af0SAdam Hornáček            <groupId>org.mockito</groupId>
160911e8af0SAdam Hornáček            <artifactId>mockito-core</artifactId>
1610223f1b8SAdam Hornacek            <version>2.28.2</version>
162911e8af0SAdam Hornáček            <scope>test</scope>
163911e8af0SAdam Hornáček        </dependency>
164a55b429eSAdam Hornáček        <dependency>
1656d9d3df9SAnatoly Akkerman            <groupId>com.google.jimfs</groupId>
1666d9d3df9SAnatoly Akkerman            <artifactId>jimfs</artifactId>
1676d9d3df9SAnatoly Akkerman            <version>1.1</version>
1686d9d3df9SAnatoly Akkerman            <scope>test</scope>
1696d9d3df9SAnatoly Akkerman        </dependency>
1706d9d3df9SAnatoly Akkerman        <dependency>
171a55b429eSAdam Hornáček            <groupId>com.cronutils</groupId>
172a55b429eSAdam Hornáček            <artifactId>cron-utils</artifactId>
1739239476fSdependabot[bot]            <version>9.1.3</version>
174aa6abf42SAdam Hornacek            <exclusions>
175aa6abf42SAdam Hornacek                <exclusion>
176aa6abf42SAdam Hornacek                    <groupId>org.glassfish</groupId>
177aa6abf42SAdam Hornacek                    <artifactId>javax.el</artifactId>
178aa6abf42SAdam Hornacek                </exclusion>
179aa6abf42SAdam Hornacek            </exclusions>
180a55b429eSAdam Hornáček        </dependency>
1813bd78204SVladimir Kotal        <dependency>
1823bd78204SVladimir Kotal            <groupId>org.jvnet.hudson</groupId>
1833bd78204SVladimir Kotal            <artifactId>org.suigeneris.jrcs.diff</artifactId>
1843bd78204SVladimir Kotal            <version>0.4.2</version>
1853bd78204SVladimir Kotal        </dependency>
1863bd78204SVladimir Kotal        <dependency>
1873bd78204SVladimir Kotal            <groupId>org.jvnet.hudson</groupId>
1883bd78204SVladimir Kotal            <artifactId>org.suigeneris.jrcs.rcs</artifactId>
1893bd78204SVladimir Kotal            <version>0.4.2</version>
1903bd78204SVladimir Kotal        </dependency>
191fd8f155eSVladimir Kotal        <dependency>
192fd8f155eSVladimir Kotal            <groupId>com.sun.xml.bind</groupId>
193fd8f155eSVladimir Kotal            <artifactId>jaxb-core</artifactId>
194fd8f155eSVladimir Kotal            <version>2.3.0</version>
195fd8f155eSVladimir Kotal        </dependency>
196fd8f155eSVladimir Kotal        <dependency>
197fd8f155eSVladimir Kotal            <groupId>com.sun.xml.bind</groupId>
198fd8f155eSVladimir Kotal            <artifactId>jaxb-impl</artifactId>
199fd8f155eSVladimir Kotal            <version>2.3.0</version>
200fd8f155eSVladimir Kotal        </dependency>
201fd8f155eSVladimir Kotal        <dependency>
202edebc668SAdam Hornacek            <groupId>jakarta.activation</groupId>
203edebc668SAdam Hornacek            <artifactId>jakarta.activation-api</artifactId>
204edebc668SAdam Hornacek            <version>2.0.0</version>
205edebc668SAdam Hornacek        </dependency>
206edebc668SAdam Hornacek        <dependency>
2077eb5e2ffSVladimir Kotal            <groupId>com.fasterxml.jackson.core</groupId>
2087eb5e2ffSVladimir Kotal            <artifactId>jackson-databind</artifactId>
2097eb5e2ffSVladimir Kotal            <version>${jackson.version}</version>
2107eb5e2ffSVladimir Kotal        </dependency>
2117eb5e2ffSVladimir Kotal        <dependency>
2127eb5e2ffSVladimir Kotal            <groupId>com.fasterxml.jackson.core</groupId>
2137eb5e2ffSVladimir Kotal            <artifactId>jackson-annotations</artifactId>
2147eb5e2ffSVladimir Kotal            <version>${jackson.version}</version>
2157eb5e2ffSVladimir Kotal        </dependency>
21661b71b09SAdam Hornacek        <dependency>
217073595b0SAdam Hornacek            <groupId>io.micrometer</groupId>
218073595b0SAdam Hornacek            <artifactId>micrometer-core</artifactId>
219073595b0SAdam Hornacek            <version>${micrometer.version}</version>
220073595b0SAdam Hornacek        </dependency>
221073595b0SAdam Hornacek        <dependency>
222073595b0SAdam Hornacek            <groupId>io.micrometer</groupId>
223073595b0SAdam Hornacek            <artifactId>micrometer-registry-prometheus</artifactId>
224073595b0SAdam Hornacek            <version>${micrometer.version}</version>
22561b71b09SAdam Hornacek        </dependency>
2260d7ace53SVladimir Kotal        <dependency>
2270d7ace53SVladimir Kotal            <groupId>io.micrometer</groupId>
2280d7ace53SVladimir Kotal            <artifactId>micrometer-registry-statsd</artifactId>
2290d7ace53SVladimir Kotal            <version>${micrometer.version}</version>
2300d7ace53SVladimir Kotal        </dependency>
2310b89ff17SVladimir Kotal        <dependency>
2320b89ff17SVladimir Kotal            <groupId>org.jetbrains</groupId>
2330b89ff17SVladimir Kotal            <artifactId>annotations</artifactId>
2340b89ff17SVladimir Kotal            <version>20.1.0</version>
2350b89ff17SVladimir Kotal        </dependency>
236*e66b2132SVladimir Kotal        <dependency>
237*e66b2132SVladimir Kotal            <groupId>org.eclipse.jgit</groupId>
238*e66b2132SVladimir Kotal            <artifactId>org.eclipse.jgit</artifactId>
239*e66b2132SVladimir Kotal            <version>5.10.0.202012080955-r</version>
240*e66b2132SVladimir Kotal        </dependency>
2410170aac5SAdam Hornáček    </dependencies>
2420170aac5SAdam Hornáček
24308a0c20eSJorgen Austvik    <build>
24408a0c20eSJorgen Austvik        <plugins>
2453e49081eSLubos Kosco<!-- jflex:generate plugin HAS to be the first one which runs in generate-sources phase!!! -->
2463e49081eSLubos Kosco            <plugin>
2473e49081eSLubos Kosco                <groupId>de.jflex</groupId>
2483e49081eSLubos Kosco                <artifactId>jflex-maven-plugin</artifactId>
249d051e170SChris Fraire                <version>1.8.2</version>
2503e49081eSLubos Kosco                <executions>
2513e49081eSLubos Kosco                    <execution>
2523e49081eSLubos Kosco                        <goals>
2533e49081eSLubos Kosco                            <goal>generate</goal>
2543e49081eSLubos Kosco                        </goals>
2553e49081eSLubos Kosco                        <configuration>
2563e49081eSLubos Kosco                            <lexDefinitions>
2573e49081eSLubos Kosco                                <lexDefinition>${basedir}/target/jflex-sources</lexDefinition>
2583e49081eSLubos Kosco                            </lexDefinitions>
259b3041a93SVladimir Kotal                            <encodingName>${project.build.sourceEncoding}</encodingName>
2603e49081eSLubos Kosco                        </configuration>
2613e49081eSLubos Kosco                    </execution>
2623e49081eSLubos Kosco                </executions>
2633e49081eSLubos Kosco            </plugin>
2643e49081eSLubos Kosco
265a99355ddSVladimir Kotal            <plugin>
266a99355ddSVladimir Kotal                <groupId>pl.project13.maven</groupId>
267a99355ddSVladimir Kotal                <artifactId>git-commit-id-plugin</artifactId>
268a99355ddSVladimir Kotal                <version>2.2.4</version>
269a99355ddSVladimir Kotal                <configuration>
270a99355ddSVladimir Kotal                    <includeOnlyProperties>
271ba73b440SKryštof Tulinger                        <includeOnlyProperty>^git.commit.id</includeOnlyProperty>
272a99355ddSVladimir Kotal                    </includeOnlyProperties>
273e5e4204aSVladimir Kotal		    <failOnNoGitDirectory>false</failOnNoGitDirectory>
274a99355ddSVladimir Kotal                </configuration>
275a99355ddSVladimir Kotal                <executions>
276a99355ddSVladimir Kotal                    <execution>
277a99355ddSVladimir Kotal                        <id>get-the-git-infos</id>
278a99355ddSVladimir Kotal                        <goals>
279a99355ddSVladimir Kotal                            <goal>revision</goal>
280a99355ddSVladimir Kotal                        </goals>
281a99355ddSVladimir Kotal                        <phase>initialize</phase>
282a99355ddSVladimir Kotal                    </execution>
283a99355ddSVladimir Kotal                    <execution>
284a99355ddSVladimir Kotal                        <id>validate-the-git-infos</id>
285a99355ddSVladimir Kotal                        <goals>
286a99355ddSVladimir Kotal                            <goal>validateRevision</goal>
287a99355ddSVladimir Kotal                        </goals>
288a99355ddSVladimir Kotal                        <phase>package</phase>
289a99355ddSVladimir Kotal                    </execution>
290a99355ddSVladimir Kotal                </executions>
291a99355ddSVladimir Kotal            </plugin>
292a99355ddSVladimir Kotal            <plugin>
293a99355ddSVladimir Kotal                <groupId>org.codehaus.mojo</groupId>
294a99355ddSVladimir Kotal                <artifactId>properties-maven-plugin</artifactId>
295a99355ddSVladimir Kotal                <version>1.0.0</version>
296a99355ddSVladimir Kotal                <executions>
297a99355ddSVladimir Kotal                    <execution>
298a99355ddSVladimir Kotal                        <id>generate-info-properties</id>
299a99355ddSVladimir Kotal                        <phase>generate-resources</phase>
300a99355ddSVladimir Kotal                        <goals>
301a99355ddSVladimir Kotal                            <goal>write-project-properties</goal>
302a99355ddSVladimir Kotal                        </goals>
303a99355ddSVladimir Kotal                        <configuration>
304a99355ddSVladimir Kotal                            <outputFile>
305a99355ddSVladimir Kotal                                ${project.build.outputDirectory}/org/opengrok/indexer/info.properties
306a99355ddSVladimir Kotal                            </outputFile>
307a99355ddSVladimir Kotal                        </configuration>
308a99355ddSVladimir Kotal                    </execution>
309a99355ddSVladimir Kotal                </executions>
310a99355ddSVladimir Kotal            </plugin>
311a99355ddSVladimir Kotal            <plugin>
312a99355ddSVladimir Kotal                <groupId>com.google.code.maven-replacer-plugin</groupId>
313a99355ddSVladimir Kotal                <artifactId>replacer</artifactId>
314a99355ddSVladimir Kotal                <version>1.5.3</version>
315a99355ddSVladimir Kotal                <executions>
316a99355ddSVladimir Kotal                    <execution>
317a99355ddSVladimir Kotal                        <id>perform-git-substitutions</id>
318a99355ddSVladimir Kotal                        <goals>
319a99355ddSVladimir Kotal                            <goal>replace</goal>
320a99355ddSVladimir Kotal                        </goals>
321a99355ddSVladimir Kotal                        <phase>process-resources</phase>
322a99355ddSVladimir Kotal                        <configuration>
323a99355ddSVladimir Kotal                            <filesToInclude>
324a99355ddSVladimir Kotal                                ${project.build.outputDirectory}/org/opengrok/indexer/info.properties
325a99355ddSVladimir Kotal                            </filesToInclude>
326a99355ddSVladimir Kotal                            <replacements>
327a99355ddSVladimir Kotal                                <replacement>
328ba73b440SKryštof Tulinger                                    <token>git.commit.id.abbrev</token>
329ba73b440SKryštof Tulinger                                    <value>changeset_short</value>
330ba73b440SKryštof Tulinger                                </replacement>
331ba73b440SKryštof Tulinger                                <replacement>
332a99355ddSVladimir Kotal                                    <token>git.commit.id</token>
333a99355ddSVladimir Kotal                                    <value>changeset</value>
334a99355ddSVladimir Kotal                                </replacement>
335a99355ddSVladimir Kotal                            </replacements>
336a99355ddSVladimir Kotal                            <quiet>false</quiet>
337a99355ddSVladimir Kotal                        </configuration>
338a99355ddSVladimir Kotal                    </execution>
339a99355ddSVladimir Kotal                </executions>
340a99355ddSVladimir Kotal            </plugin>
341e0f7ec00SKnut Anders Hatlen            <plugin>
342e0f7ec00SKnut Anders Hatlen                <groupId>org.apache.maven.plugins</groupId>
343e0f7ec00SKnut Anders Hatlen                <artifactId>maven-jar-plugin</artifactId>
3449f619df4SLubos Kosco                <version>3.0.2</version>
345e0f7ec00SKnut Anders Hatlen                <configuration>
346e0f7ec00SKnut Anders Hatlen                    <archive>
347e0f7ec00SKnut Anders Hatlen                        <manifest>
348686556f2SAdam Hornáček                            <mainClass>org.opengrok.indexer.index.Indexer</mainClass>
349e0f7ec00SKnut Anders Hatlen                            <addClasspath>true</addClasspath>
350e0f7ec00SKnut Anders Hatlen                        </manifest>
351e0f7ec00SKnut Anders Hatlen                        <manifestEntries>
352e0f7ec00SKnut Anders Hatlen                        </manifestEntries>
353e0f7ec00SKnut Anders Hatlen                    </archive>
354e0f7ec00SKnut Anders Hatlen                </configuration>
3551a2bb6b6SAdam Hornáček                <executions> <!-- so the web module can use test classes from indexer module -->
3561a2bb6b6SAdam Hornáček                    <execution>
3571a2bb6b6SAdam Hornáček                        <goals>
3581a2bb6b6SAdam Hornáček                            <goal>test-jar</goal>
3591a2bb6b6SAdam Hornáček                        </goals>
3601a2bb6b6SAdam Hornáček                    </execution>
3611a2bb6b6SAdam Hornáček                </executions>
362e0f7ec00SKnut Anders Hatlen            </plugin>
363e0f7ec00SKnut Anders Hatlen
36408a0c20eSJorgen Austvik           <plugin>
36545ec3841SLubos Kosco                <groupId>org.apache.maven.plugins</groupId>
3662e3d7e6eSJorgen Austvik                <artifactId>maven-antrun-plugin</artifactId>
3679f619df4SLubos Kosco                <version>1.8</version>
3682e3d7e6eSJorgen Austvik                <executions>
3692e3d7e6eSJorgen Austvik                    <execution>
37058f88ff1SChris Fraire                        <id>collect-lex-lexh</id>
37158f88ff1SChris Fraire                        <phase>initialize</phase>
37258f88ff1SChris Fraire                        <configuration>
37358f88ff1SChris Fraire                            <target>
374eeb7e5b3SAdam Hornáček                                <property name="src.dir" value="src/main/resources"/>
37558f88ff1SChris Fraire                                <property name="tgt.dir" value="${basedir}/target/jflex-sources"/>
37658f88ff1SChris Fraire                                <ant target="-collect-lex-lexh"/>
37758f88ff1SChris Fraire                            </target>
37858f88ff1SChris Fraire                        </configuration>
37958f88ff1SChris Fraire                        <goals>
38058f88ff1SChris Fraire                            <goal>run</goal>
38158f88ff1SChris Fraire                        </goals>
38258f88ff1SChris Fraire                    </execution>
38358f88ff1SChris Fraire                    <execution>
3842e3d7e6eSJorgen Austvik                        <id>build-config-files</id>
3852e3d7e6eSJorgen Austvik                        <phase>process-test-classes</phase>
3862e3d7e6eSJorgen Austvik                        <goals>
3872e3d7e6eSJorgen Austvik                            <goal>run</goal>
3882e3d7e6eSJorgen Austvik                        </goals>
3892e3d7e6eSJorgen Austvik                        <configuration>
39029fe9da1SChris Fraire                            <target unless="skipTests">
39118446c8aSKnut Anders Hatlen                                <ant target="-post-compile-test"/>
39218446c8aSKnut Anders Hatlen                            </target>
3932e3d7e6eSJorgen Austvik                        </configuration>
3942e3d7e6eSJorgen Austvik                    </execution>
3952e3d7e6eSJorgen Austvik                </executions>
3962e3d7e6eSJorgen Austvik            </plugin>
3972e3d7e6eSJorgen Austvik
398aa4907e2SLubos Kosco            <plugin>
399aa4907e2SLubos Kosco                <groupId>org.apache.maven.plugins</groupId>
4003db07792SVladimir Kotal                <artifactId>maven-checkstyle-plugin</artifactId>
4013db07792SVladimir Kotal            </plugin>
4023db07792SVladimir Kotal            <plugin>
4033db07792SVladimir Kotal                <groupId>org.apache.maven.plugins</groupId>
404aa4907e2SLubos Kosco                <artifactId>maven-surefire-plugin</artifactId>
405aa4907e2SLubos Kosco                <configuration>
406aa4907e2SLubos Kosco                    <excludes>
407aa4907e2SLubos Kosco                        <!-- Test helper class with name that confuses surefire -->
408aa4907e2SLubos Kosco                        <exclude>**/TestRepository.java</exclude>
409aa4907e2SLubos Kosco                    </excludes>
4103db07792SVladimir Kotal                    <argLine>
4113db07792SVladimir Kotal                        @{surefireArgLine}
4123db07792SVladimir Kotal                        --illegal-access=permit
4133db07792SVladimir Kotal                    </argLine>
4143db07792SVladimir Kotal                </configuration>
4153db07792SVladimir Kotal            </plugin>
4163db07792SVladimir Kotal        </plugins>
4173db07792SVladimir Kotal    </build>
4189f2d396bSVladimir Kotal
419e6848ef9SChris Fraire    <profiles>
4209f2d396bSVladimir Kotal        <profile>
4219f2d396bSVladimir Kotal            <id>Windows environment</id>
4229f2d396bSVladimir Kotal            <activation>
4239f2d396bSVladimir Kotal                <os>
4249f2d396bSVladimir Kotal                    <family>Windows</family>
4259f2d396bSVladimir Kotal                </os>
4269f2d396bSVladimir Kotal            </activation>
4279f2d396bSVladimir Kotal            <build>
4289f2d396bSVladimir Kotal                <plugins>
4299f2d396bSVladimir Kotal                    <plugin>
4309f2d396bSVladimir Kotal                        <groupId>org.apache.maven.plugins</groupId>
4319f2d396bSVladimir Kotal                        <artifactId>maven-surefire-plugin</artifactId>
4329f2d396bSVladimir Kotal                        <configuration>
4339f2d396bSVladimir Kotal                            <excludes>
4349f2d396bSVladimir Kotal                                <exclude>**/*XrefTest.java</exclude>
4359f2d396bSVladimir Kotal                                <exclude>**/HistoryGuruTest.java</exclude>
436b09247f0SVladimir Kotal				<!-- times out when running 'hg update mybranch' -->
437648c75b3SVladimir Kotal                                <exclude>**/MercurialRepositoryTest.java</exclude>
438028d223bSVladimir Kotal				<!-- testSymlink fails due to path difference -->
439028d223bSVladimir Kotal                                <exclude>**/IndexerRepoTest.java</exclude>
4409f2d396bSVladimir Kotal                            </excludes>
4419f2d396bSVladimir Kotal                        </configuration>
4429f2d396bSVladimir Kotal                    </plugin>
4439f2d396bSVladimir Kotal                </plugins>
4449f2d396bSVladimir Kotal            </build>
4459f2d396bSVladimir Kotal        </profile>
4463db07792SVladimir Kotal    </profiles>
4473db07792SVladimir Kotal
44808a0c20eSJorgen Austvik</project>
449