Added sample liferay maven projects
Fix failing test case.