|
[
Permlink
| « Hide
]
Howard M. Lewis Ship added a comment - 04/Jun/08 03:50 PM
I think this falls under a general heading of "lets make it easier to download sources along with jars." Half the point of working in open source is so that I can have access to the source code. I don't miss the days of stepping through Weblogic code ...
I've just implemented this, now m2 modules expose both a "sources" and "javadoc" configuration, containing the corresponding artifact if it exists.
I agree that this is not enough to work with sources and javadocs easily. Indeed, you can easily get sources and/or javadoc of one dependency, but it doesn't work transitively. To get sources and/or javadoc only of artifacts requested by the configurations actually needed, some kind of flag would be better. Thanks for this.
Support for fetching sources also transitively would be really good. We would not like to add all dependencies for projects in top level just because we need also their sources. This now breaks a lot of applications that do not have [type] in the artifact pattern as source and javadoc jars (with the same name) is being downloaded, resulting in an error since they try to overwrite each other.
should install have an exclude section to avoid getting these? Maybe we should have a flag to disable this feature for better backward compatibility. Could you open a JIRA?
I have created a new issue:
Hope to have this solved quickly! |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||