Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package cal10n for openSUSE:Factory checked in at 2025-03-28 09:36:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cal10n (Old) and /work/SRC/openSUSE:Factory/.cal10n.new.2696 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cal10n" Fri Mar 28 09:36:33 2025 rev:15 rq:1258733 version:0.8.1.12 Changes: -------- --- /work/SRC/openSUSE:Factory/cal10n/cal10n.changes 2024-05-05 12:10:14.598699112 +0200 +++ /work/SRC/openSUSE:Factory/.cal10n.new.2696/cal10n.changes 2025-03-28 09:36:53.415783382 +0100 @@ -1,0 +2,8 @@ +Thu Mar 27 14:12:44 UTC 2025 - Fridrich Strba <[email protected]> + +- Added patch: + * cal10n-mpt4.patch + + port the maven-plugin to java-annotations extractor instead + of the deprecated java-javadoc one + +------------------------------------------------------------------- New: ---- cal10n-mpt4.patch BETA DEBUG BEGIN: New:- Added patch: * cal10n-mpt4.patch + port the maven-plugin to java-annotations extractor instead BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cal10n.spec ++++++ --- /var/tmp/diff_new_pack.f0OR9M/_old 2025-03-28 09:36:53.979806742 +0100 +++ /var/tmp/diff_new_pack.f0OR9M/_new 2025-03-28 09:36:53.979806742 +0100 @@ -1,7 +1,7 @@ # # spec file for package cal10n # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -32,6 +32,7 @@ Source1: %{base_name}-build.tar.xz # https://github.com/qos-ch/cal10n/pull/10 Patch0: Fix-SupportedSourceVersion-warning.patch +Patch1: cal10n-mpt4.patch BuildRequires: fdupes BuildRequires: xz BuildArch: noarch @@ -40,6 +41,7 @@ Summary: Compiler assisted localization library (CAL10N) maven plugins BuildRequires: maven-local BuildRequires: mvn(ch.qos.cal10n:cal10n-api) +BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations) BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin) BuildRequires: mvn(org.apache.maven.wagon:wagon-ssh) BuildRequires: mvn(org.apache.maven:maven-core) @@ -80,6 +82,9 @@ %prep %setup -q -n %{base_name}-%{version} -a1 %patch -P 0 -p1 +%patch -P 1 -p1 + +%pom_add_dep org.apache.maven.plugin-tools:maven-plugin-annotations:3.15.1:provided # We don't want to depend on ant, since it will be # present when we try to use the task ++++++ cal10n-mpt4.patch ++++++ --- cal10n-0.8.1.12/maven-cal10n-plugin/src/main/java/ch/qos/cal10n/plugins/VerifyMojo.java 2025-03-27 10:22:32.625904888 +0100 +++ cal10n-0.8.1.12/maven-cal10n-plugin/src/main/java/ch/qos/cal10n/plugins/VerifyMojo.java 2025-03-27 10:46:49.745357037 +0100 @@ -37,6 +37,10 @@ import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugin.MojoFailureException; +import org.apache.maven.plugins.annotations.LifecyclePhase; +import org.apache.maven.plugins.annotations.Mojo; +import org.apache.maven.plugins.annotations.Parameter; +import org.apache.maven.plugins.annotations.ResolutionScope; import ch.qos.cal10n.verifier.IMessageKeyVerifier; @@ -46,43 +50,40 @@ /** * Verifies resources bundles in various locales against an enumType * - * @goal verify - * @phase verify - * @requiresProject true - * @requiresDependencyResolution */ +@Mojo( name = "verify", + defaultPhase = LifecyclePhase.VERIFY, + requiresProject = true, + requiresDependencyResolution = ResolutionScope.RUNTIME ) public class VerifyMojo extends AbstractMojo { - /** - * @parameter - * @required - */ + @Parameter( required = true ) private String[] enumTypes; /** * The directory for compiled classes. * - * @parameter expression="${project.build.outputDirectory}" - * @required - * @readonly */ + @Parameter( property = "project.build.outputDirectory", + required = true, + readonly = true ) private File outputDirectory; // direct dependencies of this project /** * - * @parameter expression="${project.artifacts}" - * @required - * @readonly */ + @Parameter( property = "project.artifacts", + required = true, + readonly = true ) private Set<Artifact> projectArtifacts; /** - * @parameter expression="${localRepository}" - * @required - * @readonly * @since 1.0 */ + @Parameter( property = "localRepository", + required = true, + readonly = true ) private ArtifactRepository localRepository; public void execute() throws MojoExecutionException, MojoFailureException {
