LPS-42614 portal-impl.jar is built twice during the build making the build slower