xref: /OpenGrok/opengrok-indexer/pom.xml (revision 61b71b09a625d79515c57b13f87590c56e699577)
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>
3202c6450cSVladimir Kotal        <version>1.4.2</version>
3308a0c20eSJorgen Austvik    </parent>
3408a0c20eSJorgen Austvik
35bb76b0b8SAdam Hornáček    <artifactId>opengrok</artifactId>
3602c6450cSVladimir Kotal    <version>1.4.2</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>
980170aac5SAdam Hornáček            <groupId>javax.servlet</groupId>
99e393cb49SAdam Hornáček            <artifactId>javax.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>
1265f96ffbeSDalibor Skrobak            <groupId>org.junit.jupiter</groupId>
1275f96ffbeSDalibor Skrobak            <artifactId>junit-jupiter-engine</artifactId>
1285f96ffbeSDalibor Skrobak            <scope>test</scope>
1295f96ffbeSDalibor Skrobak        </dependency>
1305f96ffbeSDalibor Skrobak        <dependency>
1315f96ffbeSDalibor Skrobak            <groupId>org.junit.vintage</groupId>
1325f96ffbeSDalibor Skrobak            <artifactId>junit-vintage-engine</artifactId>
1330170aac5SAdam Hornáček            <scope>test</scope>
1340170aac5SAdam Hornáček        </dependency>
1351a2bb6b6SAdam Hornáček        <dependency> <!-- TODO: remove! (moving Messages to web module) -->
1364ce4e2b9SAdam Hornáček            <groupId>org.awaitility</groupId>
1374ce4e2b9SAdam Hornáček            <artifactId>awaitility</artifactId>
1380223f1b8SAdam Hornacek            <version>3.1.6</version>
1394ce4e2b9SAdam Hornáček            <scope>test</scope>
1404ce4e2b9SAdam Hornáček        </dependency>
141911e8af0SAdam Hornáček        <dependency>
142911e8af0SAdam Hornáček            <groupId>org.glassfish.jersey.test-framework.providers</groupId>
143911e8af0SAdam Hornáček            <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
144911e8af0SAdam Hornáček            <version>${jersey.version}</version>
145911e8af0SAdam Hornáček            <scope>test</scope>
146911e8af0SAdam Hornáček        </dependency>
147911e8af0SAdam Hornáček        <dependency>
148911e8af0SAdam Hornáček            <groupId>org.mockito</groupId>
149911e8af0SAdam Hornáček            <artifactId>mockito-core</artifactId>
1500223f1b8SAdam Hornacek            <version>2.28.2</version>
151911e8af0SAdam Hornáček            <scope>test</scope>
152911e8af0SAdam Hornáček        </dependency>
153a55b429eSAdam Hornáček        <dependency>
154a55b429eSAdam Hornáček            <groupId>com.cronutils</groupId>
155a55b429eSAdam Hornáček            <artifactId>cron-utils</artifactId>
156a55b429eSAdam Hornáček            <version>7.0.2</version>
157a55b429eSAdam Hornáček        </dependency>
1583bd78204SVladimir Kotal        <dependency>
1593bd78204SVladimir Kotal            <groupId>org.jvnet.hudson</groupId>
1603bd78204SVladimir Kotal            <artifactId>org.suigeneris.jrcs.diff</artifactId>
1613bd78204SVladimir Kotal            <version>0.4.2</version>
1623bd78204SVladimir Kotal        </dependency>
1633bd78204SVladimir Kotal        <dependency>
1643bd78204SVladimir Kotal            <groupId>org.jvnet.hudson</groupId>
1653bd78204SVladimir Kotal            <artifactId>org.suigeneris.jrcs.rcs</artifactId>
1663bd78204SVladimir Kotal            <version>0.4.2</version>
1673bd78204SVladimir Kotal        </dependency>
168fd8f155eSVladimir Kotal        <dependency>
169fd8f155eSVladimir Kotal            <groupId>javax.xml.bind</groupId>
170fd8f155eSVladimir Kotal            <artifactId>jaxb-api</artifactId>
171fd8f155eSVladimir Kotal            <version>2.3.0</version>
172fd8f155eSVladimir Kotal        </dependency>
173fd8f155eSVladimir Kotal        <dependency>
174fd8f155eSVladimir Kotal            <groupId>com.sun.xml.bind</groupId>
175fd8f155eSVladimir Kotal            <artifactId>jaxb-core</artifactId>
176fd8f155eSVladimir Kotal            <version>2.3.0</version>
177fd8f155eSVladimir Kotal        </dependency>
178fd8f155eSVladimir Kotal        <dependency>
179fd8f155eSVladimir Kotal            <groupId>com.sun.xml.bind</groupId>
180fd8f155eSVladimir Kotal            <artifactId>jaxb-impl</artifactId>
181fd8f155eSVladimir Kotal            <version>2.3.0</version>
182fd8f155eSVladimir Kotal        </dependency>
183fd8f155eSVladimir Kotal        <dependency>
184fd8f155eSVladimir Kotal            <groupId>javax.activation</groupId>
185fd8f155eSVladimir Kotal            <artifactId>activation</artifactId>
186fd8f155eSVladimir Kotal            <version>1.1.1</version>
187fd8f155eSVladimir Kotal        </dependency>
1887eb5e2ffSVladimir Kotal        <dependency>
1897eb5e2ffSVladimir Kotal            <groupId>com.fasterxml.jackson.core</groupId>
1907eb5e2ffSVladimir Kotal            <artifactId>jackson-databind</artifactId>
1917eb5e2ffSVladimir Kotal            <version>${jackson.version}</version>
1927eb5e2ffSVladimir Kotal        </dependency>
1937eb5e2ffSVladimir Kotal        <dependency>
1947eb5e2ffSVladimir Kotal            <groupId>com.fasterxml.jackson.core</groupId>
1957eb5e2ffSVladimir Kotal            <artifactId>jackson-annotations</artifactId>
1967eb5e2ffSVladimir Kotal            <version>${jackson.version}</version>
1977eb5e2ffSVladimir Kotal        </dependency>
198*61b71b09SAdam Hornacek        <dependency>
199*61b71b09SAdam Hornacek            <groupId>io.dropwizard.metrics</groupId>
200*61b71b09SAdam Hornacek            <artifactId>metrics-core</artifactId>
201*61b71b09SAdam Hornacek            <version>4.1.0</version>
202*61b71b09SAdam Hornacek        </dependency>
2030170aac5SAdam Hornáček    </dependencies>
2040170aac5SAdam Hornáček
20508a0c20eSJorgen Austvik    <build>
20608a0c20eSJorgen Austvik        <plugins>
2073e49081eSLubos Kosco<!-- jflex:generate plugin HAS to be the first one which runs in generate-sources phase!!! -->
2083e49081eSLubos Kosco            <plugin>
2093e49081eSLubos Kosco                <groupId>de.jflex</groupId>
2103e49081eSLubos Kosco                <artifactId>jflex-maven-plugin</artifactId>
211d051e170SChris Fraire                <version>1.8.2</version>
2123e49081eSLubos Kosco                <executions>
2133e49081eSLubos Kosco                    <execution>
2143e49081eSLubos Kosco                        <goals>
2153e49081eSLubos Kosco                            <goal>generate</goal>
2163e49081eSLubos Kosco                        </goals>
2173e49081eSLubos Kosco                        <configuration>
2183e49081eSLubos Kosco                            <lexDefinitions>
2193e49081eSLubos Kosco                                <lexDefinition>${basedir}/target/jflex-sources</lexDefinition>
2203e49081eSLubos Kosco                            </lexDefinitions>
221b3041a93SVladimir Kotal                            <encodingName>${project.build.sourceEncoding}</encodingName>
2223e49081eSLubos Kosco                        </configuration>
2233e49081eSLubos Kosco                    </execution>
2243e49081eSLubos Kosco                </executions>
2253e49081eSLubos Kosco            </plugin>
2263e49081eSLubos Kosco
227a99355ddSVladimir Kotal            <plugin>
228a99355ddSVladimir Kotal                <groupId>pl.project13.maven</groupId>
229a99355ddSVladimir Kotal                <artifactId>git-commit-id-plugin</artifactId>
230a99355ddSVladimir Kotal                <version>2.2.4</version>
231a99355ddSVladimir Kotal                <configuration>
232a99355ddSVladimir Kotal                    <includeOnlyProperties>
233ba73b440SKryštof Tulinger                        <includeOnlyProperty>^git.commit.id</includeOnlyProperty>
234a99355ddSVladimir Kotal                    </includeOnlyProperties>
235e5e4204aSVladimir Kotal		    <failOnNoGitDirectory>false</failOnNoGitDirectory>
236a99355ddSVladimir Kotal                </configuration>
237a99355ddSVladimir Kotal                <executions>
238a99355ddSVladimir Kotal                    <execution>
239a99355ddSVladimir Kotal                        <id>get-the-git-infos</id>
240a99355ddSVladimir Kotal                        <goals>
241a99355ddSVladimir Kotal                            <goal>revision</goal>
242a99355ddSVladimir Kotal                        </goals>
243a99355ddSVladimir Kotal                        <phase>initialize</phase>
244a99355ddSVladimir Kotal                    </execution>
245a99355ddSVladimir Kotal                    <execution>
246a99355ddSVladimir Kotal                        <id>validate-the-git-infos</id>
247a99355ddSVladimir Kotal                        <goals>
248a99355ddSVladimir Kotal                            <goal>validateRevision</goal>
249a99355ddSVladimir Kotal                        </goals>
250a99355ddSVladimir Kotal                        <phase>package</phase>
251a99355ddSVladimir Kotal                    </execution>
252a99355ddSVladimir Kotal                </executions>
253a99355ddSVladimir Kotal            </plugin>
254a99355ddSVladimir Kotal            <plugin>
255a99355ddSVladimir Kotal                <groupId>org.codehaus.mojo</groupId>
256a99355ddSVladimir Kotal                <artifactId>properties-maven-plugin</artifactId>
257a99355ddSVladimir Kotal                <version>1.0.0</version>
258a99355ddSVladimir Kotal                <executions>
259a99355ddSVladimir Kotal                    <execution>
260a99355ddSVladimir Kotal                        <id>generate-info-properties</id>
261a99355ddSVladimir Kotal                        <phase>generate-resources</phase>
262a99355ddSVladimir Kotal                        <goals>
263a99355ddSVladimir Kotal                            <goal>write-project-properties</goal>
264a99355ddSVladimir Kotal                        </goals>
265a99355ddSVladimir Kotal                        <configuration>
266a99355ddSVladimir Kotal                            <outputFile>
267a99355ddSVladimir Kotal                                ${project.build.outputDirectory}/org/opengrok/indexer/info.properties
268a99355ddSVladimir Kotal                            </outputFile>
269a99355ddSVladimir Kotal                        </configuration>
270a99355ddSVladimir Kotal                    </execution>
271a99355ddSVladimir Kotal                </executions>
272a99355ddSVladimir Kotal            </plugin>
273a99355ddSVladimir Kotal            <plugin>
274a99355ddSVladimir Kotal                <groupId>com.google.code.maven-replacer-plugin</groupId>
275a99355ddSVladimir Kotal                <artifactId>replacer</artifactId>
276a99355ddSVladimir Kotal                <version>1.5.3</version>
277a99355ddSVladimir Kotal                <executions>
278a99355ddSVladimir Kotal                    <execution>
279a99355ddSVladimir Kotal                        <id>perform-git-substitutions</id>
280a99355ddSVladimir Kotal                        <goals>
281a99355ddSVladimir Kotal                            <goal>replace</goal>
282a99355ddSVladimir Kotal                        </goals>
283a99355ddSVladimir Kotal                        <phase>process-resources</phase>
284a99355ddSVladimir Kotal                        <configuration>
285a99355ddSVladimir Kotal                            <filesToInclude>
286a99355ddSVladimir Kotal                                ${project.build.outputDirectory}/org/opengrok/indexer/info.properties
287a99355ddSVladimir Kotal                            </filesToInclude>
288a99355ddSVladimir Kotal                            <replacements>
289a99355ddSVladimir Kotal                                <replacement>
290ba73b440SKryštof Tulinger                                    <token>git.commit.id.abbrev</token>
291ba73b440SKryštof Tulinger                                    <value>changeset_short</value>
292ba73b440SKryštof Tulinger                                </replacement>
293ba73b440SKryštof Tulinger                                <replacement>
294a99355ddSVladimir Kotal                                    <token>git.commit.id</token>
295a99355ddSVladimir Kotal                                    <value>changeset</value>
296a99355ddSVladimir Kotal                                </replacement>
297a99355ddSVladimir Kotal                            </replacements>
298a99355ddSVladimir Kotal                            <quiet>false</quiet>
299a99355ddSVladimir Kotal                        </configuration>
300a99355ddSVladimir Kotal                    </execution>
301a99355ddSVladimir Kotal                </executions>
302a99355ddSVladimir Kotal            </plugin>
303e0f7ec00SKnut Anders Hatlen            <plugin>
304e0f7ec00SKnut Anders Hatlen                <groupId>org.apache.maven.plugins</groupId>
305e0f7ec00SKnut Anders Hatlen                <artifactId>maven-jar-plugin</artifactId>
3069f619df4SLubos Kosco                <version>3.0.2</version>
307e0f7ec00SKnut Anders Hatlen                <configuration>
308e0f7ec00SKnut Anders Hatlen                    <archive>
309e0f7ec00SKnut Anders Hatlen                        <manifest>
310686556f2SAdam Hornáček                            <mainClass>org.opengrok.indexer.index.Indexer</mainClass>
311e0f7ec00SKnut Anders Hatlen                            <addClasspath>true</addClasspath>
312e0f7ec00SKnut Anders Hatlen                            <classpathPrefix>lib/</classpathPrefix>
313e0f7ec00SKnut Anders Hatlen                        </manifest>
314e0f7ec00SKnut Anders Hatlen                        <manifestEntries>
315e0f7ec00SKnut Anders Hatlen                        </manifestEntries>
316e0f7ec00SKnut Anders Hatlen                    </archive>
317e0f7ec00SKnut Anders Hatlen                </configuration>
3181a2bb6b6SAdam Hornáček                <executions> <!-- so the web module can use test classes from indexer module -->
3191a2bb6b6SAdam Hornáček                    <execution>
3201a2bb6b6SAdam Hornáček                        <goals>
3211a2bb6b6SAdam Hornáček                            <goal>test-jar</goal>
3221a2bb6b6SAdam Hornáček                        </goals>
3231a2bb6b6SAdam Hornáček                    </execution>
3241a2bb6b6SAdam Hornáček                </executions>
325e0f7ec00SKnut Anders Hatlen            </plugin>
326e0f7ec00SKnut Anders Hatlen
32708a0c20eSJorgen Austvik           <plugin>
32845ec3841SLubos Kosco                <groupId>org.apache.maven.plugins</groupId>
3292e3d7e6eSJorgen Austvik                <artifactId>maven-antrun-plugin</artifactId>
3309f619df4SLubos Kosco                <version>1.8</version>
3312e3d7e6eSJorgen Austvik                <executions>
3322e3d7e6eSJorgen Austvik                    <execution>
33358f88ff1SChris Fraire                        <id>collect-lex-lexh</id>
33458f88ff1SChris Fraire                        <phase>initialize</phase>
33558f88ff1SChris Fraire                        <configuration>
33658f88ff1SChris Fraire                            <target>
337eeb7e5b3SAdam Hornáček                                <property name="src.dir" value="src/main/resources"/>
33858f88ff1SChris Fraire                                <property name="tgt.dir" value="${basedir}/target/jflex-sources"/>
33958f88ff1SChris Fraire                                <ant target="-collect-lex-lexh"/>
34058f88ff1SChris Fraire                            </target>
34158f88ff1SChris Fraire                        </configuration>
34258f88ff1SChris Fraire                        <goals>
34358f88ff1SChris Fraire                            <goal>run</goal>
34458f88ff1SChris Fraire                        </goals>
34558f88ff1SChris Fraire                    </execution>
34658f88ff1SChris Fraire                    <execution>
3472e3d7e6eSJorgen Austvik                        <id>build-config-files</id>
3482e3d7e6eSJorgen Austvik                        <phase>process-test-classes</phase>
3492e3d7e6eSJorgen Austvik                        <goals>
3502e3d7e6eSJorgen Austvik                            <goal>run</goal>
3512e3d7e6eSJorgen Austvik                        </goals>
3522e3d7e6eSJorgen Austvik                        <configuration>
35329fe9da1SChris Fraire                            <target unless="skipTests">
35418446c8aSKnut Anders Hatlen                                <ant target="-post-compile-test"/>
35518446c8aSKnut Anders Hatlen                            </target>
3562e3d7e6eSJorgen Austvik                        </configuration>
3572e3d7e6eSJorgen Austvik                    </execution>
3582e3d7e6eSJorgen Austvik                </executions>
3592e3d7e6eSJorgen Austvik            </plugin>
3602e3d7e6eSJorgen Austvik
361aa4907e2SLubos Kosco            <plugin>
362aa4907e2SLubos Kosco                <groupId>org.apache.maven.plugins</groupId>
3633db07792SVladimir Kotal                <artifactId>maven-checkstyle-plugin</artifactId>
3643db07792SVladimir Kotal            </plugin>
3653db07792SVladimir Kotal            <plugin>
3663db07792SVladimir Kotal                <groupId>org.apache.maven.plugins</groupId>
367aa4907e2SLubos Kosco                <artifactId>maven-surefire-plugin</artifactId>
368aa4907e2SLubos Kosco                <configuration>
369aa4907e2SLubos Kosco                    <excludes>
370aa4907e2SLubos Kosco                        <!-- Test helper class with name that confuses surefire -->
371aa4907e2SLubos Kosco                        <exclude>**/TestRepository.java</exclude>
372aa4907e2SLubos Kosco                    </excludes>
3733db07792SVladimir Kotal                    <argLine>@{surefireArgLine}</argLine>
374aa4907e2SLubos Kosco                </configuration>
375aa4907e2SLubos Kosco            </plugin>
37608a0c20eSJorgen Austvik        </plugins>
37708a0c20eSJorgen Austvik    </build>
37808a0c20eSJorgen Austvik
3793db07792SVladimir Kotal    <profiles>
3803db07792SVladimir Kotal        <profile>
3813db07792SVladimir Kotal            <id>java9plus</id>
3823db07792SVladimir Kotal            <activation>
3833db07792SVladimir Kotal                <jdk>[9,18]</jdk>
3843db07792SVladimir Kotal            </activation>
3853db07792SVladimir Kotal            <build>
3863db07792SVladimir Kotal                <plugins>
3873db07792SVladimir Kotal                    <plugin>
3883db07792SVladimir Kotal                        <groupId>org.apache.maven.plugins</groupId>
3893db07792SVladimir Kotal                        <artifactId>maven-surefire-plugin</artifactId>
3903db07792SVladimir Kotal                        <configuration>
3913db07792SVladimir Kotal                            <excludes>
3923db07792SVladimir Kotal                                <!-- Test helper class with name that confuses surefire -->
3933db07792SVladimir Kotal                                <exclude>**/TestRepository.java</exclude>
3943db07792SVladimir Kotal                            </excludes>
3953db07792SVladimir Kotal                            <argLine>
3963db07792SVladimir Kotal                                @{surefireArgLine}
3973db07792SVladimir Kotal                                --illegal-access=permit
3983db07792SVladimir Kotal                            </argLine>
3993db07792SVladimir Kotal                        </configuration>
4003db07792SVladimir Kotal                    </plugin>
4013db07792SVladimir Kotal                </plugins>
4023db07792SVladimir Kotal            </build>
4033db07792SVladimir Kotal        </profile>
4049f2d396bSVladimir Kotal
4059f2d396bSVladimir Kotal        <profile>
4069f2d396bSVladimir Kotal            <id>Windows environment</id>
4079f2d396bSVladimir Kotal            <activation>
4089f2d396bSVladimir Kotal                <os>
4099f2d396bSVladimir Kotal                    <family>Windows</family>
4109f2d396bSVladimir Kotal                </os>
4119f2d396bSVladimir Kotal            </activation>
4129f2d396bSVladimir Kotal            <build>
4139f2d396bSVladimir Kotal                <plugins>
4149f2d396bSVladimir Kotal                    <plugin>
4159f2d396bSVladimir Kotal                        <groupId>org.apache.maven.plugins</groupId>
4169f2d396bSVladimir Kotal                        <artifactId>maven-surefire-plugin</artifactId>
4179f2d396bSVladimir Kotal                        <configuration>
4189f2d396bSVladimir Kotal                            <excludes>
4199f2d396bSVladimir Kotal                                <exclude>**/*XrefTest.java</exclude>
4209f2d396bSVladimir Kotal                                <exclude>**/HistoryGuruTest.java</exclude>
4219f2d396bSVladimir Kotal                            </excludes>
4229f2d396bSVladimir Kotal                        </configuration>
4239f2d396bSVladimir Kotal                    </plugin>
4249f2d396bSVladimir Kotal                </plugins>
4259f2d396bSVladimir Kotal            </build>
4269f2d396bSVladimir Kotal        </profile>
4273db07792SVladimir Kotal    </profiles>
4283db07792SVladimir Kotal
42908a0c20eSJorgen Austvik</project>
430