>From the command line
"mvn avro:idl-protocol" finds my avdl files from src/main/avro and compiles
it to the build directory.
But, generate-sources ( command line or eclipse ) dosent seem to triger it.
Am I missing something in the plugin configuration to integrate this into
the generate-sources step.
Also, what are the various config values ( if i want to change the default
source, target directories etc ). I cant seem to find any docs on it.
<plugin>
<groupId>org.apache.avro</groupId>
<artifactId>avro-maven-plugin</artifactId>
<version>1.5.1</version>
</plugin>
I have the m2eclipse plugin too.
On Wed, May 25, 2011 at 4:44 PM, Scott Carey <[email protected]>wrote:
> generate-sources in Eclipse works for me. (Helios, m2Eclipse plugin).
>
> Sometimes, I have to right click on a project and select "Maven > Update
> Project Configuration" to get it to generate the sources. It doesn't
> automatically run generate-sources if you change a schema file, but a
> project clean will trigger it for me.
>
>
>
> On 5/25/11 2:54 PM, "Yang" <[email protected]> wrote:
>
> >it seems that eclipse can't run the generate-sources phase, so that I
> >have to
> >do 'mvn generate-sources" outside of eclipse, and then import the
> >sources from eclipse.
> >
> >is there a better way to integrate with eclipse?
> >
> >Thanks
> >Yang
>
>