Use latest mech
make getBaseDirectory as utility.
Support base/target/Foo-0.0.1-SNAPSHOT.jar as a base directory
oops.