p2 version resolve