Skip to content

Commit e634845

Browse files
committed
Fix failing suggester tests for Java9+
1 parent 64cffec commit e634845

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

opengrok-indexer/pom.xml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -312,28 +312,4 @@ Portions Copyright (c) 2017-2018, Chris Fraire <[email protected]>.
312312
</plugins>
313313
</build>
314314

315-
<profiles>
316-
<profile>
317-
<id>java9plus</id>
318-
<activation>
319-
<jdk>[9,10]</jdk>
320-
</activation>
321-
<build>
322-
<plugins>
323-
<plugin>
324-
<groupId>org.apache.maven.plugins</groupId>
325-
<artifactId>maven-surefire-plugin</artifactId>
326-
<configuration>
327-
<argLine>
328-
--add-exports java.base/jdk.internal.ref=ALL-UNNAMED
329-
--add-exports java.base/jdk.internal.misc=ALL-UNNAMED
330-
--add-exports java.base/sun.nio.ch=ALL-UNNAMED
331-
</argLine>
332-
</configuration>
333-
</plugin>
334-
</plugins>
335-
</build>
336-
</profile>
337-
</profiles>
338-
339315
</project>

opengrok-web/pom.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,4 +124,28 @@
124124
</plugins>
125125
</build>
126126

127+
<profiles>
128+
<profile>
129+
<id>java9plus</id>
130+
<activation>
131+
<jdk>[9,10]</jdk>
132+
</activation>
133+
<build>
134+
<plugins>
135+
<plugin>
136+
<groupId>org.apache.maven.plugins</groupId>
137+
<artifactId>maven-surefire-plugin</artifactId>
138+
<configuration>
139+
<argLine>
140+
--add-exports java.base/jdk.internal.ref=ALL-UNNAMED
141+
--add-exports java.base/jdk.internal.misc=ALL-UNNAMED
142+
--add-exports java.base/sun.nio.ch=ALL-UNNAMED
143+
</argLine>
144+
</configuration>
145+
</plugin>
146+
</plugins>
147+
</build>
148+
</profile>
149+
</profiles>
150+
127151
</project>

0 commit comments

Comments
 (0)