Fixed build for Maven plugin