Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package antlr-maven-plugin for openSUSE:Factory checked in at 2022-03-11 21:41:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/antlr-maven-plugin (Old) and /work/SRC/openSUSE:Factory/.antlr-maven-plugin.new.25692 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "antlr-maven-plugin" Fri Mar 11 21:41:20 2022 rev:2 rq:961013 version:2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/antlr-maven-plugin/antlr-maven-plugin.changes 2019-05-06 13:21:03.664491931 +0200 +++ /work/SRC/openSUSE:Factory/.antlr-maven-plugin.new.25692/antlr-maven-plugin.changes 2022-03-11 21:41:35.222085379 +0100 @@ -1,0 +2,7 @@ +Fri Mar 11 07:10:16 UTC 2022 - Fridrich Strba <fst...@suse.com> + +- Added patch: + * new-reporting-api.patch + + fix building with the new maven-reporting-api + +------------------------------------------------------------------- New: ---- new-reporting-api.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ antlr-maven-plugin.spec ++++++ --- /var/tmp/diff_new_pack.KhpLxm/_old 2022-03-11 21:41:35.730085769 +0100 +++ /var/tmp/diff_new_pack.KhpLxm/_new 2022-03-11 21:41:35.734085772 +0100 @@ -1,7 +1,7 @@ # # spec file for package antlr-maven-plugin # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,8 +30,10 @@ Patch2: maven-antlr-plugin-2.1-sinkfix.patch # Fix grammar processing bug (bz 1020312) Patch3: 0001-MANTLR-34-Fix-NPE-when-building-Jenkins.patch +Patch4: new-reporting-api.patch BuildRequires: fdupes BuildRequires: maven-local +BuildRequires: unzip BuildRequires: mvn(org.apache.commons:commons-exec) BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin) BuildRequires: mvn(org.apache.maven.reporting:maven-reporting-impl) @@ -42,7 +44,6 @@ BuildRequires: mvn(org.codehaus.mojo:mojo-parent:pom:) BuildRequires: mvn(org.codehaus.plexus:plexus-i18n) BuildRequires: mvn(org.codehaus.plexus:plexus-utils) -BuildRequires: unzip BuildArch: noarch %description @@ -63,6 +64,7 @@ %patch0 -p1 -b .modello %patch2 -b .sink %patch3 -p1 -b .fixnpe +%patch4 -p1 # reporting eventually pulls in another antlr and we'd break with weird errors %pom_xpath_inject "pom:dependency[pom:artifactId[text()='maven-reporting-impl']]/pom:exclusions" " ++++++ new-reporting-api.patch ++++++ --- antlr-maven-plugin-2.2/src/main/java/org/codehaus/mojo/antlr/AntlrHtmlReport.java 2010-11-16 16:59:34.000000000 +0100 +++ antlr-maven-plugin-2.2/src/main/java/org/codehaus/mojo/antlr/AntlrHtmlReport.java 2022-03-10 21:12:43.366027036 +0100 @@ -128,6 +128,12 @@ arguments.add( "-html" ); } + public void generate( + final org.apache.maven.doxia.sink.Sink sink, + final Locale locale) throws MavenReportException { + generate( (Sink) sink, locale); + } + /** * @see org.apache.maven.reporting.MavenReport#generate(org.codehaus.doxia.sink.Sink, java.util.Locale) */