smengcl opened a new pull request, #5044: URL: https://github.com/apache/ozone/pull/5044
## What changes were proposed in this pull request? Hitting this error during maven build on my end: ``` [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. ``` Then I realized `maven-antrun-plugin` version wasn't actually pinned in most places. 1. Pin maven-antrun-plugin version to 3.1.0 2. Replace `<tasks>` tags with `<target>` because the former is removed in maven-antrun-plugin 3.0.0, according to https://maven.apache.org/plugins/maven-antrun-plugin/ ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-8993 ## How was this patch tested? - [x] maven build passed locally ``` mvn clean install -DskipTests -e -Dmaven.javadoc.skip=true -DskipShade ``` - [ ] CI build passed, along with all CI tests -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
