[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| Re: [m2e-users] What does Maven ->Download Source do? | 
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
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users