Well for Arsenal i wouldn't take him as we already have Sagna as first choice and Manu Eboue as second.
For Juve, imo Motta is a more promising option, so if i had the chance to get Motta(which you did) i'd for Motta over retaining Caceres. Caceres wasn't too bad imo, but he was a little bit too rash and comes across as a rather unintelligent defender. But he was energetic, he was fast and he always made himself available in attack by making forward runs. All in all, i don't think it was such a bad decision not to keep him.