[
https://issues.apache.org/jira/browse/AVRO-812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13027147#comment-13027147
]
Stephen Gargan commented on AVRO-812:
-------------------------------------
In order to run 'avro:help' and seethe help output, the plugin needs to be
defined in the plugins section of your pom.xml
To view it without a plugin definition (or project for that matter) you can use
the help plugin
mvn help:describe -Dplugin=org.apache.avro:avro-maven-plugin:1.6.0-SNAPSHOT
I've verified this against the trunk and it outputs
Name: Apache Avro Maven Plugin
Description: Maven plugin for Avro IDL and Specific API Compilers
Group Id: org.apache.avro
Artifact Id: avro-maven-plugin
Version: 1.6.0-SNAPSHOT
Goal Prefix: avro
This plugin has 4 goals:
avro:help
Description: Display help information on avro-maven-plugin.
Call
mvn avro:help -Ddetail=true -Dgoal=<goal-name>
to display parameter details.
avro:idl-protocol
Description: Generate Java classes and interfaces from AvroIDL files
(.avdl)
avro:protocol
Description: Generate Java classes and interfaces from Avro protocol files
(.avpr)
avro:schema
Description: Generate Java classes from Avro schema files (.avsc)
For more information, run 'mvn help:describe [...] -Ddetail'
What branch are you using to put 1.5.1 release together, branches/release-1.5?
Let me know and I'll happily commit it.
Thanks
Steve.
> Maven plugin could provide a "help" goal
> ----------------------------------------
>
> Key: AVRO-812
> URL: https://issues.apache.org/jira/browse/AVRO-812
> Project: Avro
> Issue Type: Improvement
> Components: java
> Affects Versions: 1.5.0
> Reporter: Holger Hoffstätte
> Assignee: Holger Hoffstätte
> Priority: Minor
> Fix For: 1.5.1
>
> Attachments: create-help.patch, goal-descriptions.patch
>
>
> Maven plugins can output a nice description of their goals via a plugin:help
> goal. This can be autogenerated (via
> http://maven.apache.org/plugins/maven-plugin-plugin/helpmojo-mojo.html) as
> part of the build.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira