LPS-52047 Log javac and fail on deprecation - this should be the most concise approach
LPS-52047 SF