Improved the way Shiro and Spring security plugin versions are obtained