Skip to content

Commit

Permalink
[Enhancement] maven add javac release configuration
Browse files Browse the repository at this point in the history
* make spark ddp works correctly when compiling by jdk9+ and running on
  jdk8
* refer to: jetty/jetty.project#3244
* partially backport StarRocks#33738
* upgrade maven-compiler-plugin to 3.13.0 so it can automatically ignore
  the release configuration when build with jdk8

Signed-off-by: Kevin Xiaohua Cai <caixiaohua@starrocks.com>
  • Loading branch information
kevincai committed Apr 18, 2024
1 parent e437f8c commit 3f0f47f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion fe/spark-dpp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,16 @@ under the License.
</lifecycleMappingMetadata>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<release>8</release>
</configuration>
</plugin>
</plugins>
</pluginManagement>

Expand Down

0 comments on commit 3f0f47f

Please sign in to comment.