An international team of scientists has sequenced the coffee genome and has found that the caffeine in coffee plants evolved separately to the caffeine in tea plants.
Source: http://www.nature.com/nature/archive/category.html?code=archive_news&year=2014