what is a mining plant