maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabriel Belingueres <>
Subject Re: Does maven eclipse plugin downloads unnecesary artifacts?
Date Fri, 18 Nov 2011 12:47:18 GMT
Thanks Barrie!

2011/11/18 Barrie Treloar <>:
> On Fri, Nov 18, 2011 at 6:19 AM, Gabriel Belingueres
> <> wrote:
>> Hi!
>> I usually use the maven eclipse plugin (v2.8) using the
>> downloadSources and downloadJavadocs properties, however I added some
>> runtime scoped dependency but the eclipse plugin downloads the
>> sources.jar and javadoc.jar too of that library (also no other
>> dependency depends on that runtime scoped library).
>> I agree beforehand that it is no harm to download the sources or
>> javadocs, I just wonder if it is really needed, it is a plugin bug or
>> it is just how maven works for all plugins.
> I'm not really awake enough to remember the details, but I think the
> eclipse plugin needs to setup your classpath to also include the
> runtime dependencies.
> When configuring the classpath Eclipse does not know about Maven's
> scopes so everything is treated the same - i.e. attempting to get
> sources or javadocs.
> This may come in handy when you run your app inside eclipse and you
> find a bug in a runtime depenendency.
> When you debug and step into the .class file you will have the sources
> available.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message