Maven, rest api