Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation failed on Windows #33

Closed
alick888 opened this issue Aug 21, 2024 · 2 comments
Closed

Compilation failed on Windows #33

alick888 opened this issue Aug 21, 2024 · 2 comments

Comments

@alick888
Copy link
Member

When I do a mvn clean install on this version on Windows, there is an error complaining "command line too long". The workaround is to remove the maven-jdeps-plugin and jacoco-maven-plugin from the pom.xml before I can compile on Windows. Attached please find the error in more details.

command line too long.txt

@amirkhan-ak-sf
Copy link
Member

@alick888 thanks for submitting the issue. Can you please check what your local mvn path looks like?
This pretty much sounds like a windows issue where the path in the command is too long.

@arpitg-1 @dipeshkumardutta-sfemu any idea?

@dipeshkumardutta-sfemu
Copy link
Collaborator

In windows there is limitation in Command Prompt, the total length of the command line can't contain more than 8191 characters. But the attached command length is 21104.
As of now if removing jdeps plugin works fine then continue with that until we are not coming up with a solution. Also you can try with cygwin in windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants