Removed useless code line
Fix handling of non fully numeric version numbers (-SNAPSHOT, -RC.1, ...)