Set the log4j dependency to provided.