Highland Spring has agreed to buy the bottled water division of Dublin-based Greencore Group for GBP17.5m (US$29.1m).