Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package maven-surefire for openSUSE:Factory checked in at 2022-05-05 23:07:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/maven-surefire (Old) and /work/SRC/openSUSE:Factory/.maven-surefire.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "maven-surefire" Thu May 5 23:07:14 2022 rev:7 rq:975173 version:2.22.0 Changes: -------- --- /work/SRC/openSUSE:Factory/maven-surefire/maven-surefire-plugins.changes 2022-04-28 23:07:42.708670741 +0200 +++ /work/SRC/openSUSE:Factory/.maven-surefire.new.1538/maven-surefire-plugins.changes 2022-05-05 23:07:52.493668262 +0200 @@ -1,0 +2,6 @@ +Thu May 5 10:46:11 UTC 2022 - Fridrich Strba <fst...@suse.com> + +- Clean and simplify the spec file in order to be able to generate + the javadoc with either maven-javadoc-plugin or xmvn javadoc mojo + +------------------------------------------------------------------- maven-surefire.changes: same change ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ maven-surefire-plugins.spec ++++++ --- /var/tmp/diff_new_pack.eKEQEb/_old 2022-05-05 23:07:53.045668950 +0200 +++ /var/tmp/diff_new_pack.eKEQEb/_new 2022-05-05 23:07:53.049668955 +0200 @@ -116,10 +116,6 @@ # Disable strict doclint sed -i /-Xdoclint:all/d pom.xml -%pom_disable_module surefire-shadefire - -%pom_disable_module surefire-junit-platform surefire-providers - %pom_remove_dep -r org.apache.maven.surefire:surefire-shadefire # Help plugin is needed only to evaluate effective Maven settings. @@ -155,6 +151,21 @@ %pom_add_dep org.apache.commons:commons-lang3::runtime maven-surefire-plugin %pom_add_dep commons-io:commons-io::runtime maven-surefire-plugin +# Disable all modules besides the 3 plugins +for module in \ + surefire-logger-api \ + surefire-api \ + surefire-shadefire \ + surefire-booter \ + surefire-grouper \ + surefire-providers \ + maven-surefire-common \ + surefire-report-parser \ + surefire-setup-integration-tests \ + surefire-its; do + %pom_disable_module ${module} +done + %build %{mvn_package} ":*tests*" __noinstall %{mvn_package} ":{surefire,surefire-providers}" __noinstall @@ -162,26 +173,12 @@ %{mvn_package} ":*junit-platform*" junit5 %{mvn_package} ":*{junit,testng,failsafe-plugin,report-parser}*" @1 -%{mvn_artifact} pom.xml -mkdir -p target/site/apidocs -for i in \ - maven-failsafe-plugin \ - maven-surefire-plugin \ - maven-surefire-report-plugin; do - pushd ${i} - %{mvn_build} -f -- \ +%{mvn_build} -f -- \ %if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0} -Dmaven.compiler.release=8 \ %endif -Dsource=8 - popd - %{mvn_artifact} ${i}/pom.xml ${i}/target/${i}-%{version}.jar - if [ -d ${i}/target/site/apidocs ]; then - cp -r ${i}/target/site/apidocs target/site/apidocs/${i} - fi -done - %install %mvn_install %fdupes -s %{buildroot}%{_javadocdir} maven-surefire.spec: same change