Quick and hacky fix. Requires maven 3.1. Totally untested.