I managed to create a jar with the source code for each of our artifacts
with the maven-source-plugin. However, reading this plugin's
documentation I don't see any way to:

 

A) install/deploy the source jar to the repository, and

B) link the source jar to its corresponding ejb/war/jar-artifact in the
repository, and

C) have the maven-eclipse-plugin generate an Eclipse classpath where
each dependency will have the appropriate source jar referenced.

 

The maven-eclipse-plugin appears to need configuration of an
artifactFactory and artifactResolver to assist in locating the source
jars. I could not find any documentation or example on how to do this.
Has anyone managed to get steps A, B and C implemented? As it is now you
can't step through any code outside the project source because the
dependencies have no source attachment...

 

Reply via email to