sarutak opened a new pull request, #2542:
URL: https://github.com/apache/avro/pull/2542

   AVRO-3880
   
   ## What is the purpose of the change
   This PR aims to upgrade `maven-antrun-plugin` to `3.1.0` and replace an 
deprecated tag `<tasks>` with `<target>`.
   
   In the current main branch, if we try to generate .class files from .proto 
files for test, we will get an error like as follows.
   ```
   $ mvn -P protobuf-generate generate-test-sources
   
   [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-antrun-plugin:3.1.0:run (default) on project 
avro-protobuf: 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]
   ```
   
   This is because `maven-antrun-plugin` `3.1.0` is automatically downloaded 
but `<tasks>` tag is not supported by the version.
   
   Another option to fix this issue would be explicitly specifying the version 
of the plugin, say `1.8`, which supports `<tasks>` tag, but it's too old.
   
   This PR also includes change for some `.java` files, which is regenerated by 
the upgraded version of the plugin.
   
   ## Verifying this change
   Done by CI.
   
   ## Documentation
   
   - Does this pull request introduce a new feature? (no)


-- 
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: dev-unsubscr...@avro.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to