Second version, using maven REST API