The properties for deployment in portal.properties
#
- Set this to true if plugins should automatically copy Commons Logging.
#
auto.deploy.copy.commons.logging=true
#
- Set this to true if plugins should automatically copy Log4j.
#
auto.deploy.copy.log4j=true
Should have equivalent settings in Maven.
Sample fix attached in image.