Fridrich Strba 2024-10-02 20:08:50 +00:00 committed by Git OBS Bridge
parent ceffb6c96c
commit 5a77a1b0a3
3 changed files with 75 additions and 12 deletions

View File

@ -131,11 +131,32 @@ sed -i /-Xdoclint:all/d pom.xml
find -name *.java -exec sed -i -e s/org.apache.maven.surefire.shared.utils/org.apache.maven.shared.utils/ -e s/org.apache.maven.surefire.shared.io/org.apache.commons.io/ -e s/org.apache.maven.surefire.shared.lang3/org.apache.commons.lang3/ -e s/org.apache.maven.surefire.shared.compress/org.apache.commons.compress/ {} \;
%pom_add_dep org.apache.maven.shared:maven-shared-utils surefire-api
%pom_change_dep org.apache.maven.shared:maven-shared-utils ::- surefire-api
for i in \
maven-failsafe-plugin \
maven-surefire-common \
maven-surefire-report-plugin \
surefire-api \
surefire-booter \
surefire-extensions-api \
surefire-providers/common-java5 \
surefire-providers/common-junit4 \
surefire-providers/common-junit48 \
surefire-providers/surefire-junit-platform \
surefire-providers/surefire-testng \
surefire-report-parser; do
%pom_add_dep org.apache.maven.shared:maven-shared-utils ${i}
%pom_change_dep org.apache.maven.shared:maven-shared-utils ::- ${i}
done
%pom_add_dep org.apache.commons:commons-lang3 surefire-api
%pom_change_dep org.apache.commons:commons-lang3 ::- surefire-api
for i in \
maven-failsafe-plugin \
maven-surefire-common \
surefire-api \
surefire-booter \
surefire-providers/surefire-junit-platform; do
%pom_add_dep org.apache.commons:commons-lang3 ${i}
%pom_change_dep org.apache.commons:commons-lang3 ::- ${i}
done
%pom_add_dep org.apache.commons:commons-compress maven-surefire-common
%pom_change_dep org.apache.commons:commons-compress ::- maven-surefire-common

View File

@ -73,11 +73,32 @@ sed -i /-Xdoclint:all/d pom.xml
find -name *.java -exec sed -i -e s/org.apache.maven.surefire.shared.utils/org.apache.maven.shared.utils/ -e s/org.apache.maven.surefire.shared.io/org.apache.commons.io/ -e s/org.apache.maven.surefire.shared.lang3/org.apache.commons.lang3/ -e s/org.apache.maven.surefire.shared.compress/org.apache.commons.compress/ {} \;
%pom_add_dep org.apache.maven.shared:maven-shared-utils surefire-api
%pom_change_dep org.apache.maven.shared:maven-shared-utils ::- surefire-api
for i in \
maven-failsafe-plugin \
maven-surefire-common \
maven-surefire-report-plugin \
surefire-api \
surefire-booter \
surefire-extensions-api \
surefire-providers/common-java5 \
surefire-providers/common-junit4 \
surefire-providers/common-junit48 \
surefire-providers/surefire-junit-platform \
surefire-providers/surefire-testng \
surefire-report-parser; do
%pom_add_dep org.apache.maven.shared:maven-shared-utils ${i}
%pom_change_dep org.apache.maven.shared:maven-shared-utils ::- ${i}
done
%pom_add_dep org.apache.commons:commons-lang3 surefire-api
%pom_change_dep org.apache.commons:commons-lang3 ::- surefire-api
for i in \
maven-failsafe-plugin \
maven-surefire-common \
surefire-api \
surefire-booter \
surefire-providers/surefire-junit-platform; do
%pom_add_dep org.apache.commons:commons-lang3 ${i}
%pom_change_dep org.apache.commons:commons-lang3 ::- ${i}
done
%pom_add_dep org.apache.commons:commons-compress maven-surefire-common
%pom_change_dep org.apache.commons:commons-compress ::- maven-surefire-common

View File

@ -160,11 +160,32 @@ sed -i /-Xdoclint:all/d pom.xml
find -name *.java -exec sed -i -e s/org.apache.maven.surefire.shared.utils/org.apache.maven.shared.utils/ -e s/org.apache.maven.surefire.shared.io/org.apache.commons.io/ -e s/org.apache.maven.surefire.shared.lang3/org.apache.commons.lang3/ -e s/org.apache.maven.surefire.shared.compress/org.apache.commons.compress/ {} \;
%pom_add_dep org.apache.maven.shared:maven-shared-utils surefire-api
%pom_change_dep org.apache.maven.shared:maven-shared-utils ::- surefire-api
for i in \
maven-failsafe-plugin \
maven-surefire-common \
maven-surefire-report-plugin \
surefire-api \
surefire-booter \
surefire-extensions-api \
surefire-providers/common-java5 \
surefire-providers/common-junit4 \
surefire-providers/common-junit48 \
surefire-providers/surefire-junit-platform \
surefire-providers/surefire-testng \
surefire-report-parser; do
%pom_add_dep org.apache.maven.shared:maven-shared-utils ${i}
%pom_change_dep org.apache.maven.shared:maven-shared-utils ::- ${i}
done
%pom_add_dep org.apache.commons:commons-lang3 surefire-api
%pom_change_dep org.apache.commons:commons-lang3 ::- surefire-api
for i in \
maven-failsafe-plugin \
maven-surefire-common \
surefire-api \
surefire-booter \
surefire-providers/surefire-junit-platform; do
%pom_add_dep org.apache.commons:commons-lang3 ${i}
%pom_change_dep org.apache.commons:commons-lang3 ::- ${i}
done
%pom_add_dep org.apache.commons:commons-compress maven-surefire-common
%pom_change_dep org.apache.commons:commons-compress ::- maven-surefire-common