jaikiran pai [
https://community.jboss.org/people/jaikiran] created the discussion
"Re: How to get ALL sources for a JBoss AS 7 release, including external deps?"
To view the discussion, visit:
https://community.jboss.org/message/739262#739262
--------------------------------------------------------------
Give my lack of Eclipse usage for some time
now, I don't fully understand that blog but I think this statement in that blog
summarizes where the source files are looked for:
The Source Lookup plugin finds source for a mavenized archive as
follows:
using the m2e API
using the archive's metadata (META-INF/maven)
using nexus repositories that can be defined using the Source Lookup preferences page
Now in Craig's case, the JBoss AS7 sources were published to *local maven
repository* (on his filesystem) after he built the server. They weren't available in
any of the remote maven repos. So does the source lookup plugin take into consideration
the local maven repository for looking up the sources?
I think that's one of the points that Craig's bringing up:
Craig Ringer wrote:
* When debugging a project running on AS7, the JBoss Tools / m2e integration doesn't
automatically find JBoss AS 7 sources in the local maven repository, the sources have to
be manually added to the source search path or JBoss AS 7 has to be imported as a project.
That's kind of clunky, especially as importing AS7 as a project here crashes JBoss
Developer Studio. Manually listing each source artifact shouldn't be necessary.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/739262#739262]
Start a new discussion in JBoss Tools at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]