fix for slf4j 1.7

This commit is contained in:
gil 2016-05-27 10:24:13 +02:00
parent 790ce483ab
commit b859a2c362

View File

@ -39,6 +39,10 @@ This package contains the API documentation for %{name}.
%pom_xpath_set pom:properties/pom:version.org.apache.log4j 12
# SLF4j 1.7 upgrade
sed -i "s|map = MDC.getCopyOfContextMap();|map = (Map) MDC.getCopyOfContextMap();|" \
src/main/java/org/jboss/logging/Slf4jLoggerProvider.java
# Unneeded task
%pom_remove_plugin :maven-source-plugin