Skip to content

Commit

Permalink
drop preview, it hurst more than it helps
Browse files Browse the repository at this point in the history
  • Loading branch information
homberghp committed Apr 27, 2020
1 parent 3892b7f commit 299e5f2
Showing 1 changed file with 2 additions and 28 deletions.
30 changes: 2 additions & 28 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
<configuration>
<additionalParam>-Xdoclint:none</additionalParam>
<additionalParam>-html5</additionalParam>
<additionalOptions>--allow-script-in-comments --enable-preview</additionalOptions>
<additionalOptions>--allow-script-in-comments</additionalOptions>
<release>${java.release}</release>
<source>${java.release}</source>
<show>private</show>
Expand Down Expand Up @@ -431,7 +431,7 @@
<configuration>
<additionalParam>-Xdoclint:none</additionalParam>
<additionalParam>-html5</additionalParam>
<additionalOptions>--allow-script-in-comments --enable-preview</additionalOptions>
<additionalOptions>--allow-script-in-comments</additionalOptions>
<release>${java.release}</release>
<source>${java.release}</source>
<show>private</show>
Expand Down Expand Up @@ -976,31 +976,5 @@
</plugins>
</reporting>
</profile>
<profile>
<id>preview</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<release>${java.release}</release>
<source>${java.release}</source>
<target>${java.release}</target>
<compilerArgs>
<arg>@{argLine} --enable-preview</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>@{argLine} --enable-preview</argLine>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 299e5f2

Please sign in to comment.