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 2156f072caSAdam HornáčekCopyright (c) 2010, 2018, Oracle and/or its affiliates. All rights reserved. 22431a6d7cSChris FrairePortions Copyright (c) 2017-2018, Chris Fraire <cfraire@me.com>. 2318446c8aSKnut Anders Hatlen 2418446c8aSKnut Anders Hatlen--> 250170aac5SAdam 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"> 2608a0c20eSJorgen Austvik <modelVersion>4.0.0</modelVersion> 2708a0c20eSJorgen Austvik 2808a0c20eSJorgen Austvik <parent> 2956f072caSAdam Hornáček <groupId>org.opengrok</groupId> 306ed99b2dSVladimir Kotal <artifactId>opengrok-top</artifactId> 31a5067ba6SVladimir Kotal <version>1.1-rc38</version> 3208a0c20eSJorgen Austvik </parent> 3308a0c20eSJorgen Austvik 34bb76b0b8SAdam Hornáček <artifactId>opengrok</artifactId> 35a5067ba6SVladimir Kotal <version>1.1-rc38</version> 360170aac5SAdam Hornáček <packaging>jar</packaging> 370170aac5SAdam Hornáček 380170aac5SAdam Hornáček <name>OpenGrok Indexer</name> 390170aac5SAdam Hornáček 40*a99355ddSVladimir Kotal <properties> 41*a99355ddSVladimir Kotal <version>${project.version}</version> 42*a99355ddSVladimir Kotal </properties> 43*a99355ddSVladimir Kotal 440170aac5SAdam Hornáček <dependencies> 450170aac5SAdam Hornáček <dependency> 460170aac5SAdam Hornáček <groupId>org.apache.bcel</groupId> 470170aac5SAdam Hornáček <artifactId>bcel</artifactId> 480170aac5SAdam Hornáček </dependency> 490170aac5SAdam Hornáček <dependency> 500170aac5SAdam Hornáček <groupId>org.apache.lucene</groupId> 510170aac5SAdam Hornáček <artifactId>lucene-core</artifactId> 520170aac5SAdam Hornáček </dependency> 530170aac5SAdam Hornáček <dependency> 540170aac5SAdam Hornáček <groupId>org.apache.lucene</groupId> 550170aac5SAdam Hornáček <artifactId>lucene-analyzers-common</artifactId> 560170aac5SAdam Hornáček </dependency> 570170aac5SAdam Hornáček <dependency> 580170aac5SAdam Hornáček <groupId>org.apache.lucene</groupId> 592cacd6e7SAdam Hornáček <artifactId>lucene-highlighter</artifactId> 602cacd6e7SAdam Hornáček </dependency> 612cacd6e7SAdam Hornáček <dependency> 622cacd6e7SAdam Hornáček <groupId>org.apache.lucene</groupId> 632cacd6e7SAdam Hornáček <artifactId>lucene-join</artifactId> 642cacd6e7SAdam Hornáček </dependency> 652cacd6e7SAdam Hornáček <dependency> 662cacd6e7SAdam Hornáček <groupId>org.apache.lucene</groupId> 672cacd6e7SAdam Hornáček <artifactId>lucene-memory</artifactId> 682cacd6e7SAdam Hornáček </dependency> 692cacd6e7SAdam Hornáček <dependency> 702cacd6e7SAdam Hornáček <groupId>org.apache.lucene</groupId> 712cacd6e7SAdam Hornáček <artifactId>lucene-queries</artifactId> 722cacd6e7SAdam Hornáček </dependency> 732cacd6e7SAdam Hornáček <dependency> 742cacd6e7SAdam Hornáček <groupId>org.apache.lucene</groupId> 750170aac5SAdam Hornáček <artifactId>lucene-queryparser</artifactId> 760170aac5SAdam Hornáček </dependency> 770170aac5SAdam Hornáček <dependency> 780170aac5SAdam Hornáček <groupId>org.apache.lucene</groupId> 79f11f248bSAdam Hornáček <artifactId>lucene-backward-codecs</artifactId> 80f11f248bSAdam Hornáček <version>${lucene.version}</version> 81f11f248bSAdam Hornáček </dependency> 82f11f248bSAdam Hornáček <dependency> 83f11f248bSAdam Hornáček <groupId>org.apache.lucene</groupId> 840170aac5SAdam Hornáček <artifactId>lucene-suggest</artifactId> 850170aac5SAdam Hornáček </dependency> 860170aac5SAdam Hornáček <dependency> 870170aac5SAdam Hornáček <groupId>javax.servlet</groupId> 88e393cb49SAdam Hornáček <artifactId>javax.servlet-api</artifactId> 890170aac5SAdam Hornáček </dependency> 900170aac5SAdam Hornáček <dependency> 910170aac5SAdam Hornáček <groupId>com.googlecode.json-simple</groupId> 920170aac5SAdam Hornáček <artifactId>json-simple</artifactId> 930170aac5SAdam Hornáček </dependency> 940170aac5SAdam Hornáček <dependency> 950170aac5SAdam Hornáček <groupId>org.apache.ant</groupId> 960170aac5SAdam Hornáček <artifactId>ant</artifactId> 970170aac5SAdam Hornáček </dependency> 981a2bb6b6SAdam Hornáček <dependency> <!-- TODO: remove! (moving Messages to web module) --> 991a2bb6b6SAdam Hornáček <groupId>org.glassfish.jersey.ext</groupId> 1001a2bb6b6SAdam Hornáček <artifactId>jersey-bean-validation</artifactId> 1014ce4e2b9SAdam Hornáček <version>${jersey.version}</version> 1024ce4e2b9SAdam Hornáček </dependency> 1034ce4e2b9SAdam Hornáček <dependency> 1044ce4e2b9SAdam Hornáček <groupId>org.glassfish.jersey.media</groupId> 1054ce4e2b9SAdam Hornáček <artifactId>jersey-media-json-jackson</artifactId> 1064ce4e2b9SAdam Hornáček <version>${jersey.version}</version> 1074ce4e2b9SAdam Hornáček </dependency> 1084ce4e2b9SAdam Hornáček <dependency> 1091a2bb6b6SAdam Hornáček <groupId>org.glassfish.jersey.core</groupId> 1101a2bb6b6SAdam Hornáček <artifactId>jersey-client</artifactId> 1114ce4e2b9SAdam Hornáček <version>${jersey.version}</version> 1124ce4e2b9SAdam Hornáček </dependency> 1134ce4e2b9SAdam Hornáček <dependency> 1141a2bb6b6SAdam Hornáček <groupId>org.glassfish.jersey.inject</groupId> 1151a2bb6b6SAdam Hornáček <artifactId>jersey-hk2</artifactId> 1161a2bb6b6SAdam Hornáček <version>${jersey.version}</version> 1174ce4e2b9SAdam Hornáček </dependency> 1184ce4e2b9SAdam Hornáček <dependency> 1190170aac5SAdam Hornáček <groupId>junit</groupId> 1200170aac5SAdam Hornáček <artifactId>junit</artifactId> 1210170aac5SAdam Hornáček <scope>test</scope> 1220170aac5SAdam Hornáček </dependency> 1231a2bb6b6SAdam Hornáček <dependency> <!-- TODO: remove! (moving Messages to web module) --> 1244ce4e2b9SAdam Hornáček <groupId>org.awaitility</groupId> 1254ce4e2b9SAdam Hornáček <artifactId>awaitility</artifactId> 1264ce4e2b9SAdam Hornáček <version>3.1.0</version> 1274ce4e2b9SAdam Hornáček <scope>test</scope> 1284ce4e2b9SAdam Hornáček </dependency> 129911e8af0SAdam Hornáček <dependency> 130911e8af0SAdam Hornáček <groupId>org.glassfish.jersey.test-framework.providers</groupId> 131911e8af0SAdam Hornáček <artifactId>jersey-test-framework-provider-grizzly2</artifactId> 132911e8af0SAdam Hornáček <version>${jersey.version}</version> 133911e8af0SAdam Hornáček <scope>test</scope> 134911e8af0SAdam Hornáček </dependency> 135911e8af0SAdam Hornáček <dependency> 136911e8af0SAdam Hornáček <groupId>org.mockito</groupId> 137911e8af0SAdam Hornáček <artifactId>mockito-core</artifactId> 138911e8af0SAdam Hornáček <version>2.19.0</version> 139911e8af0SAdam Hornáček <scope>test</scope> 140911e8af0SAdam Hornáček </dependency> 141a55b429eSAdam Hornáček <dependency> 142a55b429eSAdam Hornáček <groupId>com.cronutils</groupId> 143a55b429eSAdam Hornáček <artifactId>cron-utils</artifactId> 144a55b429eSAdam Hornáček <version>7.0.2</version> 145a55b429eSAdam Hornáček </dependency> 1463bd78204SVladimir Kotal <dependency> 1473bd78204SVladimir Kotal <groupId>org.jvnet.hudson</groupId> 1483bd78204SVladimir Kotal <artifactId>org.suigeneris.jrcs.diff</artifactId> 1493bd78204SVladimir Kotal <version>0.4.2</version> 1503bd78204SVladimir Kotal </dependency> 1513bd78204SVladimir Kotal <dependency> 1523bd78204SVladimir Kotal <groupId>org.jvnet.hudson</groupId> 1533bd78204SVladimir Kotal <artifactId>org.suigeneris.jrcs.rcs</artifactId> 1543bd78204SVladimir Kotal <version>0.4.2</version> 1553bd78204SVladimir Kotal </dependency> 1560170aac5SAdam Hornáček </dependencies> 1570170aac5SAdam Hornáček 15808a0c20eSJorgen Austvik <build> 15908a0c20eSJorgen Austvik <plugins> 160*a99355ddSVladimir Kotal <plugin> 161*a99355ddSVladimir Kotal <groupId>pl.project13.maven</groupId> 162*a99355ddSVladimir Kotal <artifactId>git-commit-id-plugin</artifactId> 163*a99355ddSVladimir Kotal <version>2.2.4</version> 164*a99355ddSVladimir Kotal <configuration> 165*a99355ddSVladimir Kotal <includeOnlyProperties> 166*a99355ddSVladimir Kotal <includeOnlyProperty>^git.commit.id$</includeOnlyProperty> 167*a99355ddSVladimir Kotal </includeOnlyProperties> 168*a99355ddSVladimir Kotal </configuration> 169*a99355ddSVladimir Kotal <executions> 170*a99355ddSVladimir Kotal <execution> 171*a99355ddSVladimir Kotal <id>get-the-git-infos</id> 172*a99355ddSVladimir Kotal <goals> 173*a99355ddSVladimir Kotal <goal>revision</goal> 174*a99355ddSVladimir Kotal </goals> 175*a99355ddSVladimir Kotal <phase>initialize</phase> 176*a99355ddSVladimir Kotal </execution> 177*a99355ddSVladimir Kotal <execution> 178*a99355ddSVladimir Kotal <id>validate-the-git-infos</id> 179*a99355ddSVladimir Kotal <goals> 180*a99355ddSVladimir Kotal <goal>validateRevision</goal> 181*a99355ddSVladimir Kotal </goals> 182*a99355ddSVladimir Kotal <phase>package</phase> 183*a99355ddSVladimir Kotal </execution> 184*a99355ddSVladimir Kotal </executions> 185*a99355ddSVladimir Kotal </plugin> 186*a99355ddSVladimir Kotal <plugin> 187*a99355ddSVladimir Kotal <groupId>org.codehaus.mojo</groupId> 188*a99355ddSVladimir Kotal <artifactId>properties-maven-plugin</artifactId> 189*a99355ddSVladimir Kotal <version>1.0.0</version> 190*a99355ddSVladimir Kotal <executions> 191*a99355ddSVladimir Kotal <execution> 192*a99355ddSVladimir Kotal <id>generate-info-properties</id> 193*a99355ddSVladimir Kotal <phase>generate-resources</phase> 194*a99355ddSVladimir Kotal <goals> 195*a99355ddSVladimir Kotal <goal>write-project-properties</goal> 196*a99355ddSVladimir Kotal </goals> 197*a99355ddSVladimir Kotal <configuration> 198*a99355ddSVladimir Kotal <outputFile> 199*a99355ddSVladimir Kotal ${project.build.outputDirectory}/org/opengrok/indexer/info.properties 200*a99355ddSVladimir Kotal </outputFile> 201*a99355ddSVladimir Kotal </configuration> 202*a99355ddSVladimir Kotal </execution> 203*a99355ddSVladimir Kotal </executions> 204*a99355ddSVladimir Kotal </plugin> 205*a99355ddSVladimir Kotal <plugin> 206*a99355ddSVladimir Kotal <groupId>com.google.code.maven-replacer-plugin</groupId> 207*a99355ddSVladimir Kotal <artifactId>replacer</artifactId> 208*a99355ddSVladimir Kotal <version>1.5.3</version> 209*a99355ddSVladimir Kotal <executions> 210*a99355ddSVladimir Kotal <execution> 211*a99355ddSVladimir Kotal <id>perform-git-substitutions</id> 212*a99355ddSVladimir Kotal <goals> 213*a99355ddSVladimir Kotal <goal>replace</goal> 214*a99355ddSVladimir Kotal </goals> 215*a99355ddSVladimir Kotal <phase>process-resources</phase> 216*a99355ddSVladimir Kotal <configuration> 217*a99355ddSVladimir Kotal <filesToInclude> 218*a99355ddSVladimir Kotal ${project.build.outputDirectory}/org/opengrok/indexer/info.properties 219*a99355ddSVladimir Kotal </filesToInclude> 220*a99355ddSVladimir Kotal <replacements> 221*a99355ddSVladimir Kotal <replacement> 222*a99355ddSVladimir Kotal <token>git.commit.id</token> 223*a99355ddSVladimir Kotal <value>changeset</value> 224*a99355ddSVladimir Kotal </replacement> 225*a99355ddSVladimir Kotal </replacements> 226*a99355ddSVladimir Kotal <quiet>false</quiet> 227*a99355ddSVladimir Kotal </configuration> 228*a99355ddSVladimir Kotal </execution> 229*a99355ddSVladimir Kotal </executions> 230*a99355ddSVladimir Kotal </plugin> 231e0f7ec00SKnut Anders Hatlen <plugin> 232e0f7ec00SKnut Anders Hatlen <groupId>org.apache.maven.plugins</groupId> 233e0f7ec00SKnut Anders Hatlen <artifactId>maven-jar-plugin</artifactId> 2349f619df4SLubos Kosco <version>3.0.2</version> 235e0f7ec00SKnut Anders Hatlen <configuration> 236e0f7ec00SKnut Anders Hatlen <archive> 237e0f7ec00SKnut Anders Hatlen <manifest> 238686556f2SAdam Hornáček <mainClass>org.opengrok.indexer.index.Indexer</mainClass> 239e0f7ec00SKnut Anders Hatlen <addClasspath>true</addClasspath> 240e0f7ec00SKnut Anders Hatlen <classpathPrefix>lib/</classpathPrefix> 241e0f7ec00SKnut Anders Hatlen </manifest> 242e0f7ec00SKnut Anders Hatlen <manifestEntries> 243e0f7ec00SKnut Anders Hatlen </manifestEntries> 244e0f7ec00SKnut Anders Hatlen </archive> 245e0f7ec00SKnut Anders Hatlen </configuration> 2461a2bb6b6SAdam Hornáček <executions> <!-- so the web module can use test classes from indexer module --> 2471a2bb6b6SAdam Hornáček <execution> 2481a2bb6b6SAdam Hornáček <goals> 2491a2bb6b6SAdam Hornáček <goal>test-jar</goal> 2501a2bb6b6SAdam Hornáček </goals> 2511a2bb6b6SAdam Hornáček </execution> 2521a2bb6b6SAdam Hornáček </executions> 253e0f7ec00SKnut Anders Hatlen </plugin> 254e0f7ec00SKnut Anders Hatlen 25508a0c20eSJorgen Austvik <plugin> 25608a0c20eSJorgen Austvik <groupId>de.jflex</groupId> 25745ec3841SLubos Kosco <artifactId>jflex-maven-plugin</artifactId> 2584e6518cbSLubos Kosco <version>1.6.1</version> 25908a0c20eSJorgen Austvik <executions> 26008a0c20eSJorgen Austvik <execution> 26108a0c20eSJorgen Austvik <goals> 26208a0c20eSJorgen Austvik <goal>generate</goal> 26308a0c20eSJorgen Austvik </goals> 26408a0c20eSJorgen Austvik <configuration> 26508a0c20eSJorgen Austvik <lexDefinitions> 26658f88ff1SChris Fraire <lexDefinition>${basedir}/target/jflex-sources</lexDefinition> 26708a0c20eSJorgen Austvik </lexDefinitions> 26845ec3841SLubos Kosco <inputStreamCtor>false</inputStreamCtor> 26908a0c20eSJorgen Austvik </configuration> 27008a0c20eSJorgen Austvik </execution> 27108a0c20eSJorgen Austvik </executions> 27208a0c20eSJorgen Austvik </plugin> 2739182cd30SLubos Kosco 274eeb7e5b3SAdam Hornáček <!-- patches jflex generated files to stop increasing buffer beyond token size that lucene accepts 275ff70ede8SLubos Kosco https://github.com/OpenGrok/OpenGrok/issues/1170 make parsers stop producing tokens > 32766 chars 276ba14bbd8SLubos Kosco at least for PlainFullTokenizer, PlainSymbolTokenizer, JavaScriptSymbolTokenizer, JavaSymbolTokenizer 2779182cd30SLubos Kosco use below 2789182cd30SLubos Kosco --> 2799182cd30SLubos Kosco 280ff70ede8SLubos Kosco <plugin> 281ff70ede8SLubos Kosco <groupId>com.google.code.maven-replacer-plugin</groupId> 282ff70ede8SLubos Kosco <artifactId>replacer</artifactId> 2839182cd30SLubos Kosco <version>1.5.3</version> 284ff70ede8SLubos Kosco <executions> 285ff70ede8SLubos Kosco <execution> 286*a99355ddSVladimir Kotal <id>replace-in-jflex-sources</id> 2879182cd30SLubos Kosco <phase>generate-sources</phase> 288ff70ede8SLubos Kosco <goals> 289ff70ede8SLubos Kosco <goal>replace</goal> 290ff70ede8SLubos Kosco </goals> 291ff70ede8SLubos Kosco </execution> 292ff70ede8SLubos Kosco </executions> 293ff70ede8SLubos Kosco <configuration> 2949182cd30SLubos Kosco <filesToInclude> 2959805b761SAdam Hornáček ${basedir}/target/generated-sources/jflex/org/opengrok/indexer/analysis/java/JavaSymbolTokenizer.java,${basedir}/target/generated-sources/jflex/org/opengrok/indexer/analysis/javascript/JavaScriptSymbolTokenizer.java,${basedir}/target/generated-sources/jflex/org/opengrok/indexer/analysis/plain/PlainFullTokenizer.java,${basedir}/target/generated-sources/jflex/org/opengrok/indexer/analysis/plain/PlainSymbolTokenizer.java 2969182cd30SLubos Kosco </filesToInclude> 2979182cd30SLubos Kosco <replacements> 2989182cd30SLubos Kosco <replacement> 2999182cd30SLubos Kosco <token>private static final int ZZ_BUFFERSIZE =</token> 3009182cd30SLubos Kosco <value>private int ZZ_BUFFERSIZE =</value> 3019182cd30SLubos Kosco </replacement> 3029182cd30SLubos Kosco <replacement> 3039182cd30SLubos Kosco <token>int requested = zzBuffer\.length - zzEndRead;</token> 3049182cd30SLubos Kosco <value>int requested = zzBuffer.length - zzEndRead - zzFinalHighSurrogate;</value> 3059182cd30SLubos Kosco </replacement> 3069182cd30SLubos Kosco <replacement> 3079182cd30SLubos Kosco <token>(zzFinalHighSurrogate = 1;)(\r?\n)</token> 3089182cd30SLubos Kosco <value>$1$2 if (numRead == 1) { return true; }$2</value> 3099182cd30SLubos Kosco </replacement> 3109182cd30SLubos Kosco 3119182cd30SLubos Kosco <replacement> 3129182cd30SLubos Kosco <token>[ \t]*/\* is the buffer big enough\? \*/\s+if \(zzCurrentPos >= zzBuffer\.length.*?\}[ \t]*\r?\n</token> 3139182cd30SLubos Kosco <value></value> 3149182cd30SLubos Kosco </replacement> 3159182cd30SLubos Kosco <!-- also revert 0 character check that got in with 1.6.1 : https://github.com/jflex-de/jflex/blob/master/jflex/examples/zero-reader/README.md --> 3169182cd30SLubos Kosco <replacement> 3179182cd30SLubos Kosco <token>[ \t]*/\* not supposed to occur according to specification of java\.io\.Reader \*/\s+if \(numRead == 0.*?\}[ \t]*\r?\n</token> 3189182cd30SLubos Kosco <value></value> 3199182cd30SLubos Kosco </replacement> 3209182cd30SLubos Kosco </replacements> 321ff70ede8SLubos Kosco <regexFlags> 3229182cd30SLubos Kosco <regexFlag>DOTALL</regexFlag> 323ff70ede8SLubos Kosco </regexFlags> 324ff70ede8SLubos Kosco </configuration> 3259182cd30SLubos Kosco </plugin> 3262e3d7e6eSJorgen Austvik 3272e3d7e6eSJorgen 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> 35318446c8aSKnut Anders Hatlen <target unless="maven.test.skip"> 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> 363aa4907e2SLubos Kosco <artifactId>maven-surefire-plugin</artifactId> 364aa4907e2SLubos Kosco <configuration> 365aa4907e2SLubos Kosco <excludes> 366aa4907e2SLubos Kosco <!-- Test helper class with name that confuses surefire --> 367aa4907e2SLubos Kosco <exclude>**/TestRepository.java</exclude> 368aa4907e2SLubos Kosco </excludes> 36934684d40SVladimir Kotal <argLine>${surefireArgLine}</argLine> 370aa4907e2SLubos Kosco </configuration> 371aa4907e2SLubos Kosco </plugin> 372aa4907e2SLubos Kosco 373bc6c8375SVladimir Kotal <plugin> 37430c7e457SAdam Hornáček <groupId>org.apache.maven.plugins</groupId> 37530c7e457SAdam Hornáček <artifactId>maven-checkstyle-plugin</artifactId> 37630c7e457SAdam Hornáček </plugin> 37708a0c20eSJorgen Austvik </plugins> 37808a0c20eSJorgen Austvik </build> 37908a0c20eSJorgen Austvik 380d47db168SAdam Hornáček <profiles> 381d47db168SAdam Hornáček <profile> 382d47db168SAdam Hornáček <id>java9plus</id> 383d47db168SAdam Hornáček <activation> 384d47db168SAdam Hornáček <jdk>[9,10]</jdk> 385d47db168SAdam Hornáček </activation> 386d47db168SAdam Hornáček <build> 387d47db168SAdam Hornáček <plugins> 388d47db168SAdam Hornáček <plugin> 389d47db168SAdam Hornáček <groupId>org.apache.maven.plugins</groupId> 390d47db168SAdam Hornáček <artifactId>maven-surefire-plugin</artifactId> 391d47db168SAdam Hornáček <configuration> 392d47db168SAdam Hornáček <argLine> 393d47db168SAdam Hornáček --add-exports java.base/jdk.internal.ref=ALL-UNNAMED 394d47db168SAdam Hornáček --add-exports java.base/jdk.internal.misc=ALL-UNNAMED 395d47db168SAdam Hornáček --add-exports java.base/sun.nio.ch=ALL-UNNAMED 396d47db168SAdam Hornáček </argLine> 397d47db168SAdam Hornáček </configuration> 398d47db168SAdam Hornáček </plugin> 399d47db168SAdam Hornáček </plugins> 400d47db168SAdam Hornáček </build> 401d47db168SAdam Hornáček </profile> 402d47db168SAdam Hornáček </profiles> 403d47db168SAdam Hornáček 40408a0c20eSJorgen Austvik</project> 405