fix maven dependencies and ws