Resolve build failure by mvn