[FIX Plugins compilation] LPS-33093

This change solves this issue: http://ci.liferay.org.es/jenkins/job/liferay-plugins-compile-jdk6/1940/console