As I understand it, liquids are banned as carry on items. They can be packed in checked luggage, where presumably they will be tested.
I seldom put a coffee in my luggage. I'm not against security, but this is a stupid knee-jerk reaction.