ensure that maven is installed before file is copied