fix for slf4j 1.7
This commit is contained in:
parent
790ce483ab
commit
b859a2c362
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user