xref: /OpenGrok/opengrok-indexer/pom.xml (revision 3c85781e99d223d6414b2f556d0d91f687f3d690)
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
21062e30cfSVladimir KotalCopyright (c) 2010, 2021, 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>
32077089f1SVladimir Kotal        <version>1.7.17</version>
3308a0c20eSJorgen Austvik    </parent>
3408a0c20eSJorgen Austvik
35bb76b0b8SAdam Hornáček    <artifactId>opengrok</artifactId>
36077089f1SVladimir Kotal    <version>1.7.17</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>
58402be68bSdependabot[bot]            <version>1.21</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>
128*3c85781eSAdam Hornacek            <version>0.47</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>
13652d10766SAdam Hornacek            <groupId>org.junit.jupiter</groupId>
13752d10766SAdam Hornacek            <artifactId>junit-jupiter-params</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>
1494ce4e2b9SAdam Hornáček            <scope>test</scope>
1504ce4e2b9SAdam Hornáček        </dependency>
151911e8af0SAdam Hornáček        <dependency>
152911e8af0SAdam Hornáček            <groupId>org.mockito</groupId>
153911e8af0SAdam Hornáček            <artifactId>mockito-core</artifactId>
154911e8af0SAdam Hornáček            <scope>test</scope>
155911e8af0SAdam Hornáček        </dependency>
156a55b429eSAdam Hornáček        <dependency>
1576d9d3df9SAnatoly Akkerman            <groupId>com.google.jimfs</groupId>
1586d9d3df9SAnatoly Akkerman            <artifactId>jimfs</artifactId>
15914bb522cSAdam Hornacek            <version>1.2</version>
1606d9d3df9SAnatoly Akkerman            <scope>test</scope>
1616d9d3df9SAnatoly Akkerman        </dependency>
1626d9d3df9SAnatoly Akkerman        <dependency>
163a55b429eSAdam Hornáček            <groupId>com.cronutils</groupId>
164a55b429eSAdam Hornáček            <artifactId>cron-utils</artifactId>
16514bb522cSAdam Hornacek            <version>9.1.5</version>
166aa6abf42SAdam Hornacek            <exclusions>
167aa6abf42SAdam Hornacek                <exclusion>
168aa6abf42SAdam Hornacek                    <groupId>org.glassfish</groupId>
169aa6abf42SAdam Hornacek                    <artifactId>javax.el</artifactId>
170aa6abf42SAdam Hornacek                </exclusion>
171aa6abf42SAdam Hornacek            </exclusions>
172a55b429eSAdam Hornáček        </dependency>
1733bd78204SVladimir Kotal        <dependency>
1743bd78204SVladimir Kotal            <groupId>org.jvnet.hudson</groupId>
1753bd78204SVladimir Kotal            <artifactId>org.suigeneris.jrcs.diff</artifactId>
1763bd78204SVladimir Kotal            <version>0.4.2</version>
1773bd78204SVladimir Kotal        </dependency>
1783bd78204SVladimir Kotal        <dependency>
1793bd78204SVladimir Kotal            <groupId>org.jvnet.hudson</groupId>
1803bd78204SVladimir Kotal            <artifactId>org.suigeneris.jrcs.rcs</artifactId>
1813bd78204SVladimir Kotal            <version>0.4.2</version>
1823bd78204SVladimir Kotal        </dependency>
183fd8f155eSVladimir Kotal        <dependency>
18414bb522cSAdam Hornacek            <groupId>org.glassfish.jaxb</groupId>
18514bb522cSAdam Hornacek            <artifactId>jaxb-runtime</artifactId>
186fd8f155eSVladimir Kotal        </dependency>
187fd8f155eSVladimir Kotal        <dependency>
188edebc668SAdam Hornacek            <groupId>jakarta.activation</groupId>
189edebc668SAdam Hornacek            <artifactId>jakarta.activation-api</artifactId>
190*3c85781eSAdam Hornacek            <version>2.0.1</version>
191edebc668SAdam Hornacek        </dependency>
192edebc668SAdam Hornacek        <dependency>
1937eb5e2ffSVladimir Kotal            <groupId>com.fasterxml.jackson.core</groupId>
1947eb5e2ffSVladimir Kotal            <artifactId>jackson-databind</artifactId>
1957eb5e2ffSVladimir Kotal            <version>${jackson.version}</version>
1967eb5e2ffSVladimir Kotal        </dependency>
1977eb5e2ffSVladimir Kotal        <dependency>
1987eb5e2ffSVladimir Kotal            <groupId>com.fasterxml.jackson.core</groupId>
1997eb5e2ffSVladimir Kotal            <artifactId>jackson-annotations</artifactId>
2007eb5e2ffSVladimir Kotal            <version>${jackson.version}</version>
2017eb5e2ffSVladimir Kotal        </dependency>
20261b71b09SAdam Hornacek        <dependency>
203073595b0SAdam Hornacek            <groupId>io.micrometer</groupId>
204073595b0SAdam Hornacek            <artifactId>micrometer-core</artifactId>
205073595b0SAdam Hornacek            <version>${micrometer.version}</version>
206073595b0SAdam Hornacek        </dependency>
207073595b0SAdam Hornacek        <dependency>
208073595b0SAdam Hornacek            <groupId>io.micrometer</groupId>
209073595b0SAdam Hornacek            <artifactId>micrometer-registry-prometheus</artifactId>
210073595b0SAdam Hornacek            <version>${micrometer.version}</version>
21161b71b09SAdam Hornacek        </dependency>
2120d7ace53SVladimir Kotal        <dependency>
2130d7ace53SVladimir Kotal            <groupId>io.micrometer</groupId>
2140d7ace53SVladimir Kotal            <artifactId>micrometer-registry-statsd</artifactId>
2150d7ace53SVladimir Kotal            <version>${micrometer.version}</version>
2160d7ace53SVladimir Kotal        </dependency>
2170b89ff17SVladimir Kotal        <dependency>
2180b89ff17SVladimir Kotal            <groupId>org.jetbrains</groupId>
2190b89ff17SVladimir Kotal            <artifactId>annotations</artifactId>
2200b89ff17SVladimir Kotal        </dependency>
221e66b2132SVladimir Kotal        <dependency>
222e66b2132SVladimir Kotal            <groupId>org.eclipse.jgit</groupId>
223e66b2132SVladimir Kotal            <artifactId>org.eclipse.jgit</artifactId>
224*3c85781eSAdam Hornacek            <version>5.12.0.202106070339-r</version>
225e66b2132SVladimir Kotal        </dependency>
2260170aac5SAdam Hornáček    </dependencies>
2270170aac5SAdam Hornáček
22808a0c20eSJorgen Austvik    <build>
22908a0c20eSJorgen Austvik        <plugins>
2303e49081eSLubos Kosco<!-- jflex:generate plugin HAS to be the first one which runs in generate-sources phase!!! -->
2313e49081eSLubos Kosco            <plugin>
2323e49081eSLubos Kosco                <groupId>de.jflex</groupId>
2333e49081eSLubos Kosco                <artifactId>jflex-maven-plugin</artifactId>
234d051e170SChris Fraire                <version>1.8.2</version>
2353e49081eSLubos Kosco                <executions>
2363e49081eSLubos Kosco                    <execution>
2373e49081eSLubos Kosco                        <goals>
2383e49081eSLubos Kosco                            <goal>generate</goal>
2393e49081eSLubos Kosco                        </goals>
2403e49081eSLubos Kosco                        <configuration>
241b3041a93SVladimir Kotal                            <encodingName>${project.build.sourceEncoding}</encodingName>
2423e49081eSLubos Kosco                        </configuration>
2433e49081eSLubos Kosco                    </execution>
2443e49081eSLubos Kosco                </executions>
2453e49081eSLubos Kosco            </plugin>
2463e49081eSLubos Kosco
247a99355ddSVladimir Kotal            <plugin>
248a99355ddSVladimir Kotal                <groupId>pl.project13.maven</groupId>
249a99355ddSVladimir Kotal                <artifactId>git-commit-id-plugin</artifactId>
250a99355ddSVladimir Kotal                <version>2.2.4</version>
251a99355ddSVladimir Kotal                <configuration>
252a99355ddSVladimir Kotal                    <includeOnlyProperties>
253ba73b440SKryštof Tulinger                        <includeOnlyProperty>^git.commit.id</includeOnlyProperty>
254a99355ddSVladimir Kotal                    </includeOnlyProperties>
255e5e4204aSVladimir Kotal		    <failOnNoGitDirectory>false</failOnNoGitDirectory>
256a99355ddSVladimir Kotal                </configuration>
257a99355ddSVladimir Kotal                <executions>
258a99355ddSVladimir Kotal                    <execution>
259a99355ddSVladimir Kotal                        <id>get-the-git-infos</id>
260a99355ddSVladimir Kotal                        <goals>
261a99355ddSVladimir Kotal                            <goal>revision</goal>
262a99355ddSVladimir Kotal                        </goals>
263a99355ddSVladimir Kotal                        <phase>initialize</phase>
264a99355ddSVladimir Kotal                    </execution>
265a99355ddSVladimir Kotal                    <execution>
266a99355ddSVladimir Kotal                        <id>validate-the-git-infos</id>
267a99355ddSVladimir Kotal                        <goals>
268a99355ddSVladimir Kotal                            <goal>validateRevision</goal>
269a99355ddSVladimir Kotal                        </goals>
270a99355ddSVladimir Kotal                        <phase>package</phase>
271a99355ddSVladimir Kotal                    </execution>
272a99355ddSVladimir Kotal                </executions>
273a99355ddSVladimir Kotal            </plugin>
274a99355ddSVladimir Kotal            <plugin>
275a99355ddSVladimir Kotal                <groupId>org.codehaus.mojo</groupId>
276a99355ddSVladimir Kotal                <artifactId>properties-maven-plugin</artifactId>
277a99355ddSVladimir Kotal                <version>1.0.0</version>
278a99355ddSVladimir Kotal                <executions>
279a99355ddSVladimir Kotal                    <execution>
280a99355ddSVladimir Kotal                        <id>generate-info-properties</id>
281a99355ddSVladimir Kotal                        <phase>generate-resources</phase>
282a99355ddSVladimir Kotal                        <goals>
283a99355ddSVladimir Kotal                            <goal>write-project-properties</goal>
284a99355ddSVladimir Kotal                        </goals>
285a99355ddSVladimir Kotal                        <configuration>
286a99355ddSVladimir Kotal                            <outputFile>
287a99355ddSVladimir Kotal                                ${project.build.outputDirectory}/org/opengrok/indexer/info.properties
288a99355ddSVladimir Kotal                            </outputFile>
289a99355ddSVladimir Kotal                        </configuration>
290a99355ddSVladimir Kotal                    </execution>
291a99355ddSVladimir Kotal                </executions>
292a99355ddSVladimir Kotal            </plugin>
293a99355ddSVladimir Kotal            <plugin>
294a99355ddSVladimir Kotal                <groupId>com.google.code.maven-replacer-plugin</groupId>
295a99355ddSVladimir Kotal                <artifactId>replacer</artifactId>
296a99355ddSVladimir Kotal                <version>1.5.3</version>
297a99355ddSVladimir Kotal                <executions>
298a99355ddSVladimir Kotal                    <execution>
299a99355ddSVladimir Kotal                        <id>perform-git-substitutions</id>
300a99355ddSVladimir Kotal                        <goals>
301a99355ddSVladimir Kotal                            <goal>replace</goal>
302a99355ddSVladimir Kotal                        </goals>
303a99355ddSVladimir Kotal                        <phase>process-resources</phase>
304a99355ddSVladimir Kotal                        <configuration>
305a99355ddSVladimir Kotal                            <filesToInclude>
306a99355ddSVladimir Kotal                                ${project.build.outputDirectory}/org/opengrok/indexer/info.properties
307a99355ddSVladimir Kotal                            </filesToInclude>
308a99355ddSVladimir Kotal                            <replacements>
309a99355ddSVladimir Kotal                                <replacement>
310ba73b440SKryštof Tulinger                                    <token>git.commit.id.abbrev</token>
311ba73b440SKryštof Tulinger                                    <value>changeset_short</value>
312ba73b440SKryštof Tulinger                                </replacement>
313ba73b440SKryštof Tulinger                                <replacement>
314a99355ddSVladimir Kotal                                    <token>git.commit.id</token>
315a99355ddSVladimir Kotal                                    <value>changeset</value>
316a99355ddSVladimir Kotal                                </replacement>
317a99355ddSVladimir Kotal                            </replacements>
318a99355ddSVladimir Kotal                            <quiet>false</quiet>
319a99355ddSVladimir Kotal                        </configuration>
320a99355ddSVladimir Kotal                    </execution>
321a99355ddSVladimir Kotal                </executions>
322a99355ddSVladimir Kotal            </plugin>
323e0f7ec00SKnut Anders Hatlen            <plugin>
324e0f7ec00SKnut Anders Hatlen                <groupId>org.apache.maven.plugins</groupId>
325e0f7ec00SKnut Anders Hatlen                <artifactId>maven-jar-plugin</artifactId>
326394481a5SAdam Hornacek                <version>3.2.0</version>
327e0f7ec00SKnut Anders Hatlen                <configuration>
328e0f7ec00SKnut Anders Hatlen                    <archive>
329e0f7ec00SKnut Anders Hatlen                        <manifest>
330686556f2SAdam Hornáček                            <mainClass>org.opengrok.indexer.index.Indexer</mainClass>
331e0f7ec00SKnut Anders Hatlen                            <addClasspath>true</addClasspath>
332e0f7ec00SKnut Anders Hatlen                        </manifest>
333e0f7ec00SKnut Anders Hatlen                        <manifestEntries>
334e0f7ec00SKnut Anders Hatlen                        </manifestEntries>
335e0f7ec00SKnut Anders Hatlen                    </archive>
336e0f7ec00SKnut Anders Hatlen                </configuration>
3371a2bb6b6SAdam Hornáček                <executions> <!-- so the web module can use test classes from indexer module -->
3381a2bb6b6SAdam Hornáček                    <execution>
3391a2bb6b6SAdam Hornáček                        <goals>
3401a2bb6b6SAdam Hornáček                            <goal>test-jar</goal>
3411a2bb6b6SAdam Hornáček                        </goals>
3421a2bb6b6SAdam Hornáček                    </execution>
3431a2bb6b6SAdam Hornáček                </executions>
344e0f7ec00SKnut Anders Hatlen            </plugin>
345e0f7ec00SKnut Anders Hatlen
34608a0c20eSJorgen Austvik           <plugin>
34745ec3841SLubos Kosco                <groupId>org.apache.maven.plugins</groupId>
3482e3d7e6eSJorgen Austvik                <artifactId>maven-antrun-plugin</artifactId>
349394481a5SAdam Hornacek                <version>3.0.0</version>
3502e3d7e6eSJorgen Austvik                <executions>
3512e3d7e6eSJorgen Austvik                    <execution>
3522e3d7e6eSJorgen Austvik                        <id>build-config-files</id>
3532e3d7e6eSJorgen Austvik                        <phase>process-test-classes</phase>
3542e3d7e6eSJorgen Austvik                        <goals>
3552e3d7e6eSJorgen Austvik                            <goal>run</goal>
3562e3d7e6eSJorgen Austvik                        </goals>
3572e3d7e6eSJorgen Austvik                        <configuration>
35829fe9da1SChris Fraire                            <target unless="skipTests">
35918446c8aSKnut Anders Hatlen                                <ant target="-post-compile-test"/>
36018446c8aSKnut Anders Hatlen                            </target>
3612e3d7e6eSJorgen Austvik                        </configuration>
3622e3d7e6eSJorgen Austvik                    </execution>
3632e3d7e6eSJorgen Austvik                </executions>
3642e3d7e6eSJorgen Austvik            </plugin>
3652e3d7e6eSJorgen Austvik
366aa4907e2SLubos Kosco            <plugin>
367aa4907e2SLubos Kosco                <groupId>org.apache.maven.plugins</groupId>
3683db07792SVladimir Kotal                <artifactId>maven-checkstyle-plugin</artifactId>
3693db07792SVladimir Kotal            </plugin>
3703db07792SVladimir Kotal            <plugin>
3713db07792SVladimir Kotal                <groupId>org.apache.maven.plugins</groupId>
372aa4907e2SLubos Kosco                <artifactId>maven-surefire-plugin</artifactId>
373aa4907e2SLubos Kosco                <configuration>
374aa4907e2SLubos Kosco                    <excludes>
375aa4907e2SLubos Kosco                        <!-- Test helper class with name that confuses surefire -->
376aa4907e2SLubos Kosco                        <exclude>**/TestRepository.java</exclude>
377aa4907e2SLubos Kosco                    </excludes>
3783db07792SVladimir Kotal                    <argLine>
3793db07792SVladimir Kotal                        @{surefireArgLine}
3803db07792SVladimir Kotal                        --illegal-access=permit
3813db07792SVladimir Kotal                    </argLine>
3823db07792SVladimir Kotal                </configuration>
3833db07792SVladimir Kotal            </plugin>
3843db07792SVladimir Kotal        </plugins>
3853db07792SVladimir Kotal    </build>
3869f2d396bSVladimir Kotal
387e6848ef9SChris Fraire    <profiles>
3889f2d396bSVladimir Kotal        <profile>
3899f2d396bSVladimir Kotal            <id>Windows environment</id>
3909f2d396bSVladimir Kotal            <activation>
3919f2d396bSVladimir Kotal                <os>
3929f2d396bSVladimir Kotal                    <family>Windows</family>
3939f2d396bSVladimir Kotal                </os>
3949f2d396bSVladimir Kotal            </activation>
3959f2d396bSVladimir Kotal            <build>
3969f2d396bSVladimir Kotal                <plugins>
3979f2d396bSVladimir Kotal                    <plugin>
3989f2d396bSVladimir Kotal                        <groupId>org.apache.maven.plugins</groupId>
3999f2d396bSVladimir Kotal                        <artifactId>maven-surefire-plugin</artifactId>
4009f2d396bSVladimir Kotal                        <configuration>
4019f2d396bSVladimir Kotal                            <excludes>
4029f2d396bSVladimir Kotal                                <exclude>**/*XrefTest.java</exclude>
4039f2d396bSVladimir Kotal                                <exclude>**/HistoryGuruTest.java</exclude>
404b09247f0SVladimir Kotal				<!-- times out when running 'hg update mybranch' -->
405648c75b3SVladimir Kotal                                <exclude>**/MercurialRepositoryTest.java</exclude>
406028d223bSVladimir Kotal				<!-- testSymlink fails due to path difference -->
407028d223bSVladimir Kotal                                <exclude>**/IndexerRepoTest.java</exclude>
4089f2d396bSVladimir Kotal                            </excludes>
4099f2d396bSVladimir Kotal                        </configuration>
4109f2d396bSVladimir Kotal                    </plugin>
4119f2d396bSVladimir Kotal                </plugins>
4129f2d396bSVladimir Kotal            </build>
4139f2d396bSVladimir Kotal        </profile>
4143db07792SVladimir Kotal    </profiles>
4153db07792SVladimir Kotal
41608a0c20eSJorgen Austvik</project>
417