You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Harald Wellmann (JIRA)" <ji...@codehaus.org> on 2009/03/21 22:20:12 UTC

[jira] Commented: (MSOURCES-41) Generate source jars supporting Eclipse Source Bundle format.

    [ http://jira.codehaus.org/browse/MSOURCES-41?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=170535#action_170535 ] 

Harald Wellmann commented on MSOURCES-41:
-----------------------------------------

Yes, I would definitely like to see this feature in standard Maven. I implemented my own mojo for this in https://svn.berlios.de/svnroot/repos/datascript/trunk/maven-sourcebundle-plugin/.

> 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
>
> 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