The drugs, worth an estimated £831,000, were found in a factory near Bridgend's main custody suite in November.
Christopher Bennett, 61, of Port Talbot, Dale Hart, 53, of Pencoed, and Michael Smart, 37, of Pencoed were bailed until 29 April.
They will appear at Cardiff Crown Court.
Mr Smart also faces a second charge of possessing cocaine.
Three men appeared in court jointly charged with producing 692 cannabis plants - yards from South Wales Police's headquarters.