Maven project portability check and cleanup