If i remember correctly, Eclipse doesn't run maven from the "basedir"
by default.

Try replacing

<directory>target/generated-sources/amplify</directory>

with

<directory>${basedir}/target/generated-sources/amplify</directory>

Does that work? If not, what is going wrong exactly?

On 5 mrt, 22:44, Ian Clarke <[email protected]> wrote:
> Thanks for the response, I've actually got it working - but I need to run
> mvn generate-sources from the command line, it doesn't work through Eclipse.
>
> Thanks for your help.
>
> Ian.
>
>
>
>
>
>
>
> On Sunday, March 4, 2012 4:21:56 PM UTC-6, Lukas Eder wrote:
>
> > Hello Ian
>
> > Unfortunately, Maven is a bit of a mystery to myself. Maybe Sander is
> > reading this thread
> > I suspect that the rest of the pom.xml file is relevant too, in your
> > case. What goals are you executing?
>
> > Cheers
> > Lukas
>
> > 2012/3/4  <[email protected]>:
> > > I'm trying to set up code generation through Maven in Eclipse, but the
> > > Eclipse Maven plugin is reporting the following error on the line with
> > > <execution>:
>
> > > Plugin execution not covered by lifecycle configuration:
> > > org.jooq:jooq-codegen-maven:2.0.5:generate (execution: default, phase:
> > > generate-sources)
>
> > > Here is the relevant part of my pom.xml
> > > file:https://gist.github.com/cfd8a0556dd441ab43ff- the error is
> > reported
> > > on line 12.
>
> > > What am I doing wrong?
>
> > > Thanks,
>
> > > Ian.

Reply via email to