Amazon, publisher settle three-month old dispute