Fix base build by adding Java plugin