remove duplicated version in java project