Port to maven-antrun-plugin 3.0.0

This commit is contained in:
Mikolaj Izdebski 2020-05-17 12:40:18 +02:00
parent 9056a92b51
commit 79fc72d534

View File

@ -109,6 +109,9 @@ install -m 0644 %{SOURCE1} APACHE-LICENSE
%pom_disable_module slf4j-log4j12
%pom_disable_module slf4j-migrator
# Port to maven-antrun-plugin 3.0.0
sed -i s/tasks/target/ slf4j-api/pom.xml
# Because of a non-ASCII comment in slf4j-api/src/main/java/org/slf4j/helpers/MessageFormatter.java
%pom_xpath_inject "pom:project/pom:properties" "
<project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>"