You can add <classifier>sources</classifier> to the dependency.  If you need
the classes jar too, then you should have the dependency twice in your
dependency list.

Nicole



On 10/22/07, Paul Gier <[EMAIL PROTECTED]> wrote:
>
> Hi Everyone,
> Is there a way to tell maven to download source jars by default?  I didn't
> see
> anything in the pom or settings model to do this.  I know I can download
> sources
> using the eclipse plugin or the dependency plugin, but I would like to
> tell
> maven to always download source jars when building a project.
>
> Thanks!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to