[ http://jira.codehaus.org/browse/MOJO-234?page=comments#action_56088 ]
Tomislav Stojcevich commented on MOJO-234: ------------------------------------------ The copy/unpack would work but it puts them in a specified directory (unless I'm missing something). This puts them in your local repo which is where the eclipse plugin looks for them by default. It's also keeps them in the same location that their main jar is located and mirrors what's in the central repo. The central repo does have plenty of source jars out there and as time goes by people will be submitting upload bundles and including the sources since it's so easy to do with m2. I created this because I don't want to use the eclipse plugin because it wipes out settings in .project and .classpath files including the javadoc location which I make use of on my projects. Thanks! > [dependency-maven-plugin] Add ability to resolve source attachments into > local repository without the need to run the eclipse plugin > ------------------------------------------------------------------------------------------------------------------------------------ > > Key: MOJO-234 > URL: http://jira.codehaus.org/browse/MOJO-234 > Project: Mojo > Type: New Feature > Reporter: Tomislav Stojcevich > Assignee: Brian Fox > Priority: Minor > Fix For: 1.1 > Attachments: patch.txt, patch.txt > > > Currently the maven eclipse plugin seems to be the only way to get source > attachments into your local repository. > There are times when you don't want to use the eclipse plugin because it > oeverwrites the eclipse files. > This patch provides a goal to download the source plugins and reports which > ones were resolved and which ones were not. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
