The village appears for the first time, under the name of Campiniacus, in a manuscript of the 9th century on the list of parishes of the great archdeaconry of Sens, therefore dependent on the archbishopric. The land belonged to the important family of Barres, then passed at the end of the 15th century to the family of Bernard who built the neighboring castle.
The parish church, placed under the patronage of Saint Martin, is a fairly imposing building, built on a slope in the middle of the square. It comprises a nave flanked by side aisles and preceded by a small late lean-to porch, a transept crossing completed by an arm to the north and leaning to the south on the large bell tower, and finally a pentagonal chevet.