Maven build type didn't work.