1. Reproducing the error
Today, when cleaning the project, the following error was reported:
2. Analysis errors
The error details in the image above are:Failed to execute goal org.codehaus.mojo:flatten-maven-plugin:1.5.0:clean (flatten.clean) on project yudao-dependencies: The plugin org.codehaus.mojo:flatten-maven-plugin:1.5.0 requires Maven version 3.5.4 -> [Help 1]
.
We pay attention to flatten-maven-plugin
in the error message. The version of flatten-maven-plugin
is 1.5.0
, which supports The Maven
version must be above3.5.0
. Therefore, you need to confirmMaven
version information.
flatten-maven-plugin
’s official website address:https://www.mojohaus.org/flatten-maven-plugin/
So, according toFile -> Settings -> Build, Execution, Deployment -> Build Tools | Maven
path&