Fix mvn repackage failure on root project