Add anchors to maven and ant sections