LPS-50081 ant format-source

This is a forward port of https://github.com/brianchandotcom/liferay-plugins-ee/pull/8984