Skip to content

Commit

Permalink
Add required modules for google test-compile tests
Browse files Browse the repository at this point in the history
  • Loading branch information
velo committed Feb 26, 2023
1 parent 628fd03 commit 911ab3c
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions apt-test-generator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -175,19 +175,14 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>--add-opens jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED</argLine>
</configuration>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>active-on-jdk-16</id>
<activation>
<jdk>[16,)</jdk>
</activation>

<properties>
<argLine>--add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</argLine>
</properties>
</profile>
</profiles>
</project>

0 comments on commit 911ab3c

Please sign in to comment.