[
https://issues.apache.org/jira/browse/FLINK-30501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dong Lin updated FLINK-30501:
-----------------------------
Description:
Flink 1.15 and later versions require at least Java 11 to build from sources
[1]. However, if users build Flink with Java 1.8 using the following command,
the build would fail due to org.apache.maven.plugin.MojoExecutionException
without mentioning the Java version issue.
{code:bash}
mvn clean install -DskipTests -Pskip-webui-build
{code}
We should update the required JDK version in pom.xml so that `maven package`
can ask users to switch Java version if users's JDK version is below 11.
[1]
[https://nightlies.apache.org/flink/flink-docs-release-1.15/docs/flinkdev/building/]
was:
Flink 1.15 and later versions require at least Java 11 to build from sources
[1]. However, if users build Flink with Java 1.8 using the following command,
the build would fail due to org.apache.maven.plugin.MojoExecutionException
without mentioning the Java version issue.
{code:bash}
mvn clean install -DskipTests -Dfast -Pskip-webui-build
{code}
We should update the required JDK version in pom.xml so that `maven package`
can ask users to switch Java version if users's JDK version is below 11.
[1]
[https://nightlies.apache.org/flink/flink-docs-release-1.15/docs/flinkdev/building/]
> Update pom.xml to require JDK version 11 or higher
> --------------------------------------------------
>
> Key: FLINK-30501
> URL: https://issues.apache.org/jira/browse/FLINK-30501
> Project: Flink
> Issue Type: Improvement
> Reporter: Dong Lin
> Assignee: Dong Lin
> Priority: Major
>
> Flink 1.15 and later versions require at least Java 11 to build from sources
> [1]. However, if users build Flink with Java 1.8 using the following command,
> the build would fail due to org.apache.maven.plugin.MojoExecutionException
> without mentioning the Java version issue.
>
> {code:bash}
> mvn clean install -DskipTests -Pskip-webui-build
> {code}
>
> We should update the required JDK version in pom.xml so that `maven package`
> can ask users to switch Java version if users's JDK version is below 11.
>
> [1]
> [https://nightlies.apache.org/flink/flink-docs-release-1.15/docs/flinkdev/building/]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)