Skip to content

Commit

Permalink
Updates for new jdk11 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
mondain committed Jan 7, 2021
1 parent f93f942 commit ccacf57
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.red5</groupId>
<artifactId>red5-parent</artifactId>
<version>1.2.3</version>
<version>1.2.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>red5-server-common</artifactId>
Expand Down Expand Up @@ -58,20 +58,22 @@
</developers>
<properties>
<!-- Next 3 entries for JDK 8 only; remove for JDK 11 -->
<!--
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<java.release.level>8</java.release.level>
-->
</properties>
<repositories>
<repository>
<id>sonatype-snapshots</id>
<name>Sonatype Snapshots</name>
<url>http://oss.sonatype.org/content/repositories/snapshots</url>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</repository>
<repository>
<id>sonatype-releases</id>
<name>Sonatype Releases</name>
<url>http://oss.sonatype.org/content/repositories/releases</url>
<url>https://oss.sonatype.org/content/repositories/releases</url>
</repository>
</repositories>
<build>
Expand All @@ -82,12 +84,16 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version><!--$NO-MVN-MAN-VER$-->
<configuration>
<!--
<source>1.8</source>
<target>1.8</target>
-->
<verbose>true</verbose>
<fork>true</fork>
<executable>/usr/lib/jvm/java-11-amazon-corretto/bin/javac</executable>
<!--
<compilerVersion>1.8</compilerVersion>
-->
</configuration>
</plugin>
<plugin>
Expand All @@ -103,7 +109,7 @@
<configuration>
<toolchains>
<jdk>
<version>[1.8,)</version>
<version>[1.11,)</version>
</jdk>
</toolchains>
</configuration>
Expand Down

0 comments on commit ccacf57

Please sign in to comment.