work with maven builds too