Search before asking
Version
master branch
commit: bcfcef3
What's Wrong?
I encountered a build-environment mismatch when trying to build the latest Doris master branch with the recommended Docker image apache/doris:build-env-ldb-toolchain-latest.
The image currently provides Maven 3.6.3, but the current FE build requires Maven version [3.9.0,) according to fe/pom.xml.
Because of this mismatch, the build fails during the FE phase with the Maven enforcer version check error.
What You Expected?
I expected the recommended Docker image apache/doris:build-env-ldb-toolchain-latest to satisfy the current build requirements of the master branch, including the required Maven version, so that the FE build could proceed normally.
How to Reproduce?
- Pull the recommended latest build image:
docker pull apache/doris:build-env-ldb-toolchain-latest
- Start a container with this image and enter it.
- Check the Maven version inside the container:
- Build Doris master:
- The build fails in the FE phase because Maven 3.6.3 does not satisfy the required version range [3.9.0,).
Anything Else?
The current Docker compilation guide maps master to apache/doris:build-env-ldb-toolchain-latest, so this image appears to be out of sync with the current FE build requirement.
Build error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.6.2:enforce (enforce-maven-version) on project fe:
[ERROR] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion failed with message:
[ERROR] Detected Maven Version: 3.6.3 is not in the allowed range [3.9.0,).
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Are you willing to submit PR?
Code of Conduct
Search before asking
Version
master branch
commit: bcfcef3
What's Wrong?
I encountered a build-environment mismatch when trying to build the latest Doris master branch with the recommended Docker image apache/doris:build-env-ldb-toolchain-latest.
The image currently provides Maven 3.6.3, but the current FE build requires Maven version [3.9.0,) according to fe/pom.xml.
Because of this mismatch, the build fails during the FE phase with the Maven enforcer version check error.
What You Expected?
I expected the recommended Docker image apache/doris:build-env-ldb-toolchain-latest to satisfy the current build requirements of the master branch, including the required Maven version, so that the FE build could proceed normally.
How to Reproduce?
Anything Else?
The current Docker compilation guide maps master to apache/doris:build-env-ldb-toolchain-latest, so this image appears to be out of sync with the current FE build requirement.
Build error:
Are you willing to submit PR?
Code of Conduct