LPS-47182

Modeled after https://github.com/marcellustavares/liferay-plugins-ee/pull/42