Fix dependencies in Java/Maven assistant
java assistant: do not change directory