Resolve dependencies with maven