You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During local Maven build testing, it was found that when the project is placed in a directory with spaces in its name, a compilation error occurs. Specifically, Maven fails to handle spaces in the path correctly, leading to a build failure.
Upon investigation, it was discovered that the issue was caused by the exec-maven-plugin plugin mishandling paths with spaces. This problem has been fixed in a newer version of the plugin. Refer to the following links for more details:
What happened
During local
Maven
build testing, it was found that when the project is placed in a directory with spaces in its name, a compilation error occurs. Specifically,Maven
fails to handle spaces in the path correctly, leading to a build failure.Upon investigation, it was discovered that the issue was caused by the
exec-maven-plugin
plugin mishandling paths with spaces. This problem has been fixed in a newer version of the plugin. Refer to the following links for more details:The solution is to upgrade the
exec-maven-plugin
plugin version from1.6.0
to3.1.0
. Update the version number in thepom.xml
file as follows:What you expected to happen
Maven should properly handle spaces in the path and successfully complete the project build.
How to reproduce
Open Source
.mvn clean install
.Environment
InLong version
master
InLong Component
Other for not specified component
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: