ref #10206 add publish flag to CdmLight and ColDP export in cdmlib