[ http://jira.codehaus.org/browse/MSOURCES-41?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Don Laidlaw closed MSOURCES-41. ------------------------------- Resolution: Fixed Fix Version/s: 2.1 With the inclusion of the <archive> configuration parameter in 2.1, combined with the plugin I wrote in response to MNG-4105 there is a complete solution for this problem. See MNG-4105 for a sample of how this was solved. > Generate source jars supporting Eclipse Source Bundle format. > ------------------------------------------------------------- > > Key: MSOURCES-41 > URL: http://jira.codehaus.org/browse/MSOURCES-41 > Project: Maven 2.x Source Plugin > Issue Type: New Feature > Affects Versions: 2.0.4 > Environment: Eclipse 3.3+ > Reporter: Don Laidlaw > Fix For: 2.1 > > > When developing eclipse plugins, or any OSGi bundle, it is desirable to > create the source attachments for a project as Eclipse Source Bundles. See > http://wiki.eclipse.org/Source_Bundles > A source bundle appears in the target platform (the bundles in the runtime) > and allows the user to step into the source in debug, view the source, and > see the javadoc from the source. All without having to download the source > project. Source bundles differ from source attachments in non OSGi projects > in that they are part of the target platform, which is resolved dynamically > at runtime, not at compile time with the classpath. > It is very easy to extend the maven source plugin to create these source > bundles. They are identical to the currently generated jar, with the addition > of a few entries in the META-INF/MANIFEST.MF file. So source jars usable as > source bundles are also 100% compatible with what is currently generated. > I have already done the work and would be happy to contribute this back if > there is any interest. -- 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