Brian Topping created FELIX-3472:
------------------------------------

             Summary: Source inclusion for targets of <Embed-Dependency> 
                 Key: FELIX-3472
                 URL: https://issues.apache.org/jira/browse/FELIX-3472
             Project: Felix
          Issue Type: Improvement
          Components: Maven Bundle Plugin
    Affects Versions: maven-bundle-plugin-2.3.7
            Reporter: Brian Topping
            Priority: Minor


This seems like it would be rather hideous to fix, but I didn't see it anywhere 
and thought I would note it.

When the <Embed-Dependency> instruction is used along with the 
maven-source-plugin, source artifacts that otherwise exist alongside the 
dependency jar artifacts are not included in the source jars of the artifact 
being built.  It's not difficult to manually add the source jars for each 
embedded dependency on a remote project, but gets annoying when changes to the 
project cause the source jar attachments to be wiped out when the project is 
reloaded.

It seems like it would be difficult to fix because either maven-source-plugin 
needs to know about the various locations that bundle instructions can live or 
bundle plugin needs to add sources to existing source jars.  Both of of those 
solutions violate containment of the other plugin's role.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to