Closed mthmulders closed 3 months ago
I use, like most people, sdkman. And my default is still on mvn3.
We probably could do a workaround for your local user... If $USER == mthmulders 😆
Could it have to do with the fact that I run zsh and not bash on my Macbook?
OK, I think I found a solution that works for Homebrew (which has two packages, maven and maven-snapshot). I think it could also work for SDKMan! - if you could let me know where it installs the Maven executable by default, then at least I can have it detect Maven 3.x, but I don't know if you have a default location for Maven snapshots...
On my Macbook, the setup.inc.sh snippet doesn't properly detect the existing alias
mvn3
. As a result, it declares a function that invokesmvn
(which in my case ismvn4
).In short, we need to re-think how to make the demo scripts portable.
On my machine:
@bmarwell, which commands do you normally use?