You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@avro.apache.org by Holger Hoffstätte <ho...@googlemail.com> on 2011/04/18 13:25:56 UTC

Is paranamer-maven-plugin still required?

Hi,

I'm finally giving avro-ipc a try and for starters tried porting the
avro-rpc-quickstart example from Github.
After cleaning up the deprecated classes and figuring out that I now
have to actually start the server :) I'm up and running with 1.5.0, code
gen and all. Everything *seems* to work fine and builds cleanly even
though I don't have the paranamer-maven-plugin in my pom, so I was
wondering if that was still required or just something specific to the
old example.

thanks
Holger


Re: Is paranamer-maven-plugin still required?

Posted by Holger Hoffstätte <ho...@googlemail.com>.
Figured it out myself. For science!

> gen and all. Everything *seems* to work fine and builds cleanly even
> though I don't have the paranamer-maven-plugin in my pom, so I was
> wondering if that was still required or just something specific to the
> old example.

The Paranamer plugin is only needed for creating schemas and protocols
at runtime, so that message parameters have descriptive names (taken
from the source) instead of int0, float1 etc.

Protip: Paranamer silently does nothing if e.g. an interface is not public.

cheers
Holger