This is an automated email from the ASF dual-hosted git repository.

elharo pushed a commit to branch mojo
in repository https://gitbox.apache.org/repos/asf/maven-antrun-plugin.git

commit 670784443bd081d7cfb91ce076e184d358015c32
Author: Elliotte Rusty Harold <[email protected]>
AuthorDate: Mon Oct 20 07:21:19 2025 -0400

    Remove deprecated tasks parameter that breaks the build
---
 .../java/org/apache/maven/plugins/antrun/AntRunMojo.java     | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/src/main/java/org/apache/maven/plugins/antrun/AntRunMojo.java 
b/src/main/java/org/apache/maven/plugins/antrun/AntRunMojo.java
index 25b026c..0ae7d41 100644
--- a/src/main/java/org/apache/maven/plugins/antrun/AntRunMojo.java
+++ b/src/main/java/org/apache/maven/plugins/antrun/AntRunMojo.java
@@ -171,17 +171,6 @@ public class AntRunMojo extends AbstractMojo {
     @Parameter(defaultValue = "maven.project.dependencies.versions")
     private String versionsPropertyName;
 
-    /**
-     * The XML for the Ant task. You can add anything you can add between 
&lt;target&gt; and &lt;/target&gt; in a
-     * build.xml.
-     *
-     * @deprecated Use {@link #target} instead. For version 3.0.0, this 
parameter is only defined to break the build if
-     *             you use it!
-     */
-    @Deprecated
-    @Parameter
-    private PlexusConfiguration tasks;
-
     /**
      * The XML for the Ant target. You can add anything you can add between 
&lt;target&gt; and &lt;/target&gt; in a
      * build.xml.
@@ -255,7 +244,6 @@ public class AntRunMojo extends AbstractMojo {
 
     @Override
     public void execute() throws MojoExecutionException, MojoFailureException {
-        checkDeprecatedParameterUsage(tasks, "tasks", "target");
         checkDeprecatedParameterUsage(sourceRoot, "sourceRoot", "the 
build-helper-maven-plugin");
         checkDeprecatedParameterUsage(testSourceRoot, "testSourceRoot", "the 
build-helper-maven-plugin");
         if (skip) {

Reply via email to