AdamBien / wad

Watch and Deploy - deploying ThinWARs without IDE plugins
http://wad.sh
MIT License
111 stars 24 forks source link

Not Working With Maven Installed By Sdkman #15

Open ankurpathak opened 3 years ago

ankurpathak commented 3 years ago

Its not working with maven installed sdkman. For details pls check the attached screenshot. Screenshot from 2021-03-07 21-51-22

ankurpathak commented 3 years ago

Well it needs M2_HOME environment variable and sdkman create MAVEN_HOME environment variable. Please support both environment variable.

mario-oberwalder commented 3 years ago

java -Dmaven.home=/home/.../maven -jar wad.jar /home/.../deployments works. If you add -Dmaven.home at the end it is interpreted as an additional deplyoment path.