Campbell Soup Co. has struck a deal to buy New Jersey-based artisan bread-maker Ecce Panis for an undisclosed sum.