A federal judge has ruled a York County landfill is liable for pollution runoff that violates the Clean Water Act.