Skip to content

Commit

Permalink
update sample project
Browse files Browse the repository at this point in the history
  • Loading branch information
monperrus committed Aug 7, 2024
1 parent 5439cc8 commit 9b9cfce
Showing 1 changed file with 26 additions and 4 deletions.
30 changes: 26 additions & 4 deletions dspot-prettifier/src/test/resources/sample/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,40 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<default.encoding>UTF-8</default.encoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>17</source>
<target>17</target>
<!-- forking iis required for -J-add-opens -->
<fork>true</fork>
<compilerArgs>
<arg>--enable-preview</arg>
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg>
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg>
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED</arg>
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED</arg>
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED</arg>
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED</arg>
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED</arg>
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED</arg>
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg>
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.jvm=ALL-UNNAMED</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.20</version>
<configuration>
<systemProperties> <!-- this System Properties are reported into the sample.properties file to be used by DSpot -->
<systemProperties> <!-- this System Properties are reported into the sample.properties file to be used by DSpot -->
<property>
<name>admin</name>
<value>toto</value>
Expand Down Expand Up @@ -77,4 +99,4 @@
</profile>
</profiles>

</project>
</project>

0 comments on commit 9b9cfce

Please sign in to comment.