Milen Dyankov

Software Engineer, Consultant, Developer Advocate

Liferay plug-ins adapted to work with Liferay 6.0.5

November 08, 2010 | 2 Minute Read

As soon as Liferay 6.0.5 was released I decided to adapt my plug-ins to the newest framework version. But as we all know, being determined to do something is not the same as having the time to do it. The good news is, a few days ago I finally quit saying myself "never mind, you'll do it tomorrow" and started getting things done. And now I'm happy to announce that Custom Global Markup, Tailgate and Liferay-UI Taglib Demo are already upgraded to work with Liferay 6.0.5.

Please read my previous posts "Custom global markup portlet" and "Writing Liferay portlet to display a file in a way "tail -f" does" for more information about Custom Global Markup and Tailgate respectively.

The plugins for 5.2.3 versions ware build by liferay-maven-sdk and this was one of my biggest concerns.  I was a bit warred about how difficult will be to move to the native Maven support in Liferay 6. However, not trusting my own experience and struggling to think logically, I realized it should be only a matter of modifying the POM. And indeed it was. I simply removed 5.2.3 dependencies and maven plugins and added 6.0.5 ones (here is the diff) and I was able to build my plugins using Liferay's 6 maven artifacts. Even ServiceBuilder worked without problems and additional configurations.      

Apart from adapting the code there is one more significant change. While version control and issue tracker remain on GitHub, binary files were moved to new SourceForge project called "liferay-plugins". You are welcome to visit it and download, comment, rate, review, .... There are also some screenshots of the plug-ins.

While I thought having screenshots is cool, a (much younger) collegue of mine, pointed out that these days every self respecting project has instructional videos on YouTube. Well, my generation didn't spend their whole childhood in front of the TV so please excuse my ignorance. Not to give anyone another reason to complain here are the videos: