rest + maven config