Revert "LPS-52047 Log javac and fail on deprecation (moved repeated code to a macrodef)"

This reverts commit d46b08e2c65a655b14e4226149b947e0a251f2b0.
LPS-52070 Add a protection remove
LPS-51903 Adds new field groupKey
LPS-51903 Rename name to groupKey
LPS-51903 Upgrade process
LPS-51903 This code is not needed anymore
LPS-51903 Localize name and description
LPS-51903 Adds new method to support name and description localized
LPS-51903 Deprecate old methods
LPS-51903 Uses the new methods
LPS-51903 Update portal-model-hints
LPS-51903 We shoud edit the localize name and description
LPS-51903 SF - remove not used code
LPS-51903 Use the localized name
LPS-51903 Don't expose groupKey to the public API, it should be handle internally
LPS-51903 we need to update the name also when creating the stating group (since the key is obtained from the name in the default locale)
LPS-51903 Auto