Revert "LPS-52047 Log javac and fail on deprecation"

This reverts commit 33bc7ebe78e083bc10d4ebbbecf49f6f25201646.