Siyao Meng created HDDS-8993:
--------------------------------

             Summary: Pin maven-antrun-plugin version to 3.1.0
                 Key: HDDS-8993
                 URL: https://issues.apache.org/jira/browse/HDDS-8993
             Project: Apache Ozone
          Issue Type: Task
            Reporter: Siyao Meng
            Assignee: Siyao Meng


Now sure what changed on my end but I suddenly hit this error during maven 
build today when I am building from master branch:

{code}
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-antrun-plugin:3.1.0:run (default) on project 
hdds-interface-client: You are using 'tasks' which has been removed from the 
maven-antrun-plugin. Please use 'target' and refer to the >>Major Version 
Upgrade to version 3.0.0<< on the plugin site. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.maven.plugins:maven-antrun-plugin:3.1.0:run (default) on project 
hdds-interface-client: You are using 'tasks' which has been removed from the 
maven-antrun-plugin. Please use 'target' and refer to the >>Major Version 
Upgrade to version 3.0.0<< on the plugin site.
{code}

This issue can be solved by pinning maven-antrun-plugin version to latest, and 
fixing the removed {{tasks}} tag, according to "Major Version Upgrade to 
version 3.0.0" section here:

https://maven.apache.org/plugins/maven-antrun-plugin/



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to