Describe the bug
When I try to execute the quickstart guide under windows (via the mingw git bash) the .\jarviz produces the following error:
java.io.IOException: Cannot run program "mvn": CreateProcess error=2, The system cannot find the file specified
To Reproduce
Just follow the quickstart guide under windows.
- Jarviz version: 0.1.7
- Java version: 1.8.0
Expected behavior
It should just run and produce the HTML file.
Fix
This error is due to the window enviroment.
I can fix the issue by
- replacing
"mvn ... in com.vrbo.jarviz.service.MavenArtifactDiscoveryService.java with "mvn.cmd ... and then
- recompiling and installing locally.
This appears to be a known issue with maven:
Maybe you could use maven-embedder or maven-invoker. It would be nice if there were at least a code switch that selects the correct command depending on the operating system.
Describe the bug
When I try to execute the quickstart guide under windows (via the mingw git bash) the
.\jarvizproduces the following error:To Reproduce
Just follow the quickstart guide under windows.
Expected behavior
It should just run and produce the HTML file.
Fix
This error is due to the window enviroment.
I can fix the issue by
"mvn ...incom.vrbo.jarviz.service.MavenArtifactDiscoveryService.javawith"mvn.cmd ...and thenThis appears to be a known issue with maven:
Maybe you could use maven-embedder or maven-invoker. It would be nice if there were at least a code switch that selects the correct command depending on the operating system.