STAMP-project / dspot

Automatically detect and generate missing assertions for Junit test cases (also known as test amplification)
https://dspot-demo.stamp-project.eu/
GNU Lesser General Public License v3.0
114 stars 28 forks source link

Test error related to Maven #172

Closed ltboye closed 6 years ago

ltboye commented 7 years ago

Tests fail when trying to build dspot. Errors: 54, which all seems to have the same reason: Maven executable not found at: C:\Dev\apache-maven-3.3.9\bin\mvn.bat There is no file "mvn.bat" in my maven installation. I also checked the latest version of maven. This is on Windows 10.

danglotb commented 7 years ago

Hello @ltboye

C:\Dev\apache-maven-3.3.9\ Is it the path to your maven installation?

Did you set properly the environment variable $MAVEN_HOME?

In this condition, it will be hard to find the problem, I am sorry.

Cheers.

ltboye commented 7 years ago

Yes, its set and it appears to be correct, because the maven path in the error messages is correct. It's just that there is no such file "mvn.bat" in maven.

danglotb commented 7 years ago

Hello,

I just merged #174.

DSpot uses now the implementation by apache of maven invoker.

However, on my window, I have a mvn.bat, which the executable of maven I guess, in the maven installation folder.

Thank.