The way I see it, it runs through the generate-sources phase no matter what!
The 2.0.1 is per default bound to the package phase, and I just run 'mvn clean
install', which triggers everything up to 'package' twice...

Roland


On Thursday 11 May 2006 19:48, Kenney Westerhof wrote:
> On Thu, 11 May 2006, Roland Asmann wrote:
>
> The source plugin needs to run the generate-sources phase, else it might
> miss something in creating a jar. This was indeed fixed in 2.0.1.
>
> If you do 'mvn clean source:jar' on a source-generating project, the jar
> won't contain the generated sources. Usually the sources are only
> generated when you deploy, so if you run 'mvn source:jar deploy' it won't
> generate the sources twice. Neither will it do that if you bind it to
> package.
>
> -- Kenney
>
> > Hi,
> >
> > I've noticed that the new version of this plugin forks a new lifecycle...
> > Can anybody clarify why this has been done? My builds are getting very
> > slow because of this, since I have a pretty large source-code generator
> > in the generate- sources phase...
> > Are there any other changes compared to 2.0? If not, I think I'll move
> > back to that one...
> >
> > Thanks,
> >
> > Roland
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
> --
> Kenney Westerhof
> http://www.neonics.com
> GPG public key: http://www.gods.nl/~forge/kenneyw.key
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to