Resolves maven3 compatibility problems