This is an automated email from the ASF dual-hosted git repository.
elharo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-antrun-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new 1998c52 Remove deprecated tasks parameter that breaks the build (#344)
1998c52 is described below
commit 1998c52e88154cfe7d814855cb76c18a42927449
Author: Elliotte Rusty Harold <[email protected]>
AuthorDate: Wed Oct 22 11:07:56 2025 +0000
Remove deprecated tasks parameter that breaks the build (#344)
---
.../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 94462ec..5ff1844 100644
--- a/src/main/java/org/apache/maven/plugins/antrun/AntRunMojo.java
+++ b/src/main/java/org/apache/maven/plugins/antrun/AntRunMojo.java
@@ -170,17 +170,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
<target> and </target> 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
<target> and </target> in a
* build.xml.
@@ -254,7 +243,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) {