Software supplier JDA Software Group Inc has agreed to pay $57m in damages to department store retailer Dillard's Inc to end a long-running lawsuit on a software license and services agreement.