Emmanuel Bourg pushed to branch master at Debian Java Maintainers / 
maven-antrun-plugin


Commits:
c358366e by Emmanuel Bourg at 2026-10-27T08:59:47+01:00
Fixed the backward compatibility patch

- - - - -


2 changed files:

- debian/changelog
- debian/patches/01-backward-compatibility.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+maven-antrun-plugin (3.2.0-2) unstable; urgency=medium
+
+  * Fixed the backward compatibility patch: the sourceRoot and testSourceRoot
+    parameters were silently ignored since 3.2.0-1
+
+ -- Emmanuel Bourg <[email protected]>  Tue, 27 Oct 2026 08:59:41 +0100
+
 maven-antrun-plugin (3.2.0-1) unstable; urgency=medium
 
   * New upstream release


=====================================
debian/patches/01-backward-compatibility.patch
=====================================
@@ -24,9 +24,9 @@ Forwarded: not-needed
          if (target == null) {
              getLog().info("No Ant target defined - SKIPPED");
              return;
-@@ -321,6 +323,16 @@
-                     + " from the maven-antrun-plugin. Please use '" + 
replacement
-                     + "' and refer to the >>Major Version Upgrade to version 
3.0.0<< " + "on the plugin site.");
+@@ -312,6 +314,16 @@
+         } catch (Throwable e) {
+             throw new MojoExecutionException("Error executing Ant tasks: " + 
e.getMessage(), e);
          }
 +
 +        if (sourceRoot != null) {
@@ -40,7 +40,7 @@ Forwarded: not-needed
 +        }
      }
  
-     private DefaultLogger getConfiguredBuildLogger() {
+     private void checkDeprecatedParameterUsage(Object parameter, String name, 
String replacement)
 @@ -454,6 +466,15 @@
              
versionsBuffer.append(artifact.getVersion()).append(File.pathSeparator);
          }



View it on GitLab: 
https://salsa.debian.org/java-team/maven-antrun-plugin/-/commit/c358366e5c4711b1f03537087fa79f0cddfd17b1

-- 
View it on GitLab: 
https://salsa.debian.org/java-team/maven-antrun-plugin/-/commit/c358366e5c4711b1f03537087fa79f0cddfd17b1
You're receiving this email because of your account on salsa.debian.org. Manage 
all notifications: https://salsa.debian.org/-/profile/notifications | Help: 
https://salsa.debian.org/help


_______________________________________________
pkg-java-commits mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to