IDE-1561 liferay maven project with custom jsps validation setting

This method should care if this is sdk or maven project it should only just add the rule.