Build on windows : failed to run a maven command
Closed this issue · 3 comments
NPavie commented
When trying to run the makefile with the make executable on windows, the compilation fails on this call:
exec(env("JAVA_HOME", "C:/Users/npavie/Nextcloud/Devs/pipelineui/pipeline-ui/engine/src/main/jre/OpenJDK11U-jdk_x64_windows_hotspot_11.0.13_8/jdk-11.0.13+8"), \
"mvn", "package", "-Pbuild-jre-win64");
The exec cannot find the mvn command.
On windows, the exact executable name of maven is "mvn.cmd".
Build works if i change the mvn command by mvn.cmd in the makefile.
bertfrees commented
Hmm I thought I had already fixed this.
NPavie commented
Oups, i was not on master, i was on the new-ui branch, my bad !