Mining water project endorsed at COP17