Sources should also be automatically downloaded when the class file for a
maven dependency is opened.

2011/10/13 Rafał Krzewski <[email protected]>

> When things work correctly, m2e downloads the attached sources from remote
> repository and configures Eclipse classpath so that you can browse the
> sources for the class. Now, for that to work the sources must be available
> in the repository! If you are trying to fetch sources for something in Maven
> Central and it's not working, go to http://search.maven.org, find the
> module and check if sources.jar download is available for the requested
> groupId / artifactId / version.
> If you are trying to fetch sources for artifacts you have deployed to your
> corporate repository, you need to generate the sources artifact with
> maven-source-plugin and deploy them alongside your binary artifact.
>
> Cheers,
> Rafał
>
>
> On 10/13/2011 08:25 PM, Steve Cohen wrote:
>
>> I invoke this option on a Jar listed under Maven Dependencies.  Most of
>> the time, nothing happens.  No visible cues whatever that anything is
>> occurring.  Once, I did see the Downloading Source status message, for
>> several seconds, but it gave me no message, and the source was nowhere to be
>> found in my local repository, nor did the class for which I wanted to view
>> the source display that source.
>>
>> How would I use this option?
>> ______________________________**_________________
>> m2e-users mailing list
>> [email protected]
>> https://dev.eclipse.org/**mailman/listinfo/m2e-users<https://dev.eclipse.org/mailman/listinfo/m2e-users>
>>
>
> ______________________________**_________________
> m2e-users mailing list
> [email protected]
> https://dev.eclipse.org/**mailman/listinfo/m2e-users<https://dev.eclipse.org/mailman/listinfo/m2e-users>
>
_______________________________________________
m2e-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to