Convert annotations to portlet 2.0 versions