avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Carey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-812) Maven plugin could provide a "help" goal
Date Fri, 29 Apr 2011 20:53:03 GMT

    [ https://issues.apache.org/jira/browse/AVRO-812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13027181#comment-13027181
] 

Scott Carey commented on AVRO-812:
----------------------------------

avro-ipc uses avro-maven-plugin, so it should work from there.

make sure that the maven-plugin is installed in your local repo and then run avro:help from
the ipc module:
{noformat}
$ cd lang/java/maven-plugin
$ mvn install -DskipTests
$ cd ../ipc
$ mvn avro:help
{noformat}

produces this output:

{noformat}
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Avro IPC 1.6.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- avro-maven-plugin:1.6.0-SNAPSHOT:help (default-cli) @ avro-ipc ---
[INFO] org.apache.avro:avro-maven-plugin:1.6.0-SNAPSHOT

Apache Avro Maven Plugin
  Maven plugin for Avro IDL and Specific API Compilers

This plugin has 4 goals:

avro:help
  Display help information on avro-maven-plugin.
  Call
    mvn avro:help -Ddetail=true -Dgoal=<goal-name>
  to display parameter details.

avro:idl-protocol
  Generate Java classes and interfaces from AvroIDL files (.avdl)

avro:protocol
  Generate Java classes and interfaces from Avro protocol files (.avpr)

avro:schema
  Generate Java classes from Avro schema files (.avsc)


[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.955s
[INFO] Finished at: Fri Apr 29 13:49:39 PDT 2011
[INFO] Final Memory: 3M/81M
[INFO] ------------------------------------------------------------------------
{noformat}






> 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

Mime
View raw message