I'ld suggest putting the source plugin in a release or full build profile.
That way your release manager or continuous build system and create the
source jar and developers can optionally include it if you want.

2009/12/16 Anders Hammar <[email protected]>

> Sorry, I was a little bit too quite there. Didn't really see the "skip"
> word. :-)
>
> Why is the source jar being generated in the first place? Normally
> (standard
> Maven) it's only done when the release-profile profile is activated.
>
> /Anders
>
> On Wed, Dec 16, 2009 at 09:10, Anders Hammar <[email protected]> wrote:
>
> > http://maven.apache.org/plugins/maven-source-plugin/usage.html
> >
> > /Anders
> >
> >
> > On Wed, Dec 16, 2009 at 06:38, Vikram Pyati <[email protected]>
> wrote:
> >
> >> Hi,
> >>
> >> While invoking the maven target 'package', I need to skip generation of
> >> source jars. Is there any way I can do this? It will save a lot of time.
> >>
> >> --
> >> Regards,
> >> Vikram
> >>
> >
> >
>

Reply via email to