On Sat, May 23, 2009 at 7:54 PM, Rice Yeh <[email protected]> wrote:
> Hi,
>  I created my Eclipse Java project through "mvn
> -DdownloadSources=true eclipse:clean eclipse:eclipse".
>  After project creation, I checked that in the Referenced Libraries in
> the in my Java Eclipse project have
>  the source attachments correctly defined for the referenced libraries.
>  However, I get the "Source not found" problem when accessing classes in
>  these libraries. All these libraries and their source jar files are from
>  other projects and are created by Maven. I even change the locations of
>  the source attachments to their source directories in their project. But
>  it still does not work. For other jar files from
>  http://repo1.maven.apache/maven2, I do not have such problem. Any clue?

This sounds like an Eclipse problem, not an eclipse:eclipse problem.

Can you create a second project and *manually* setup the build path,
including source jars, and use the files in your ~/.m2 directory.
If you can manually create a replica of your broken project, and it is
still broken, then it is an Eclipse problem.
If your replicate project works, then it is an eclipse:eclipse problem.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to