felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (FELIX-218) Support BND directives in maven-bundle-plugin section of pom.xml
Date Wed, 28 Mar 2007 15:17:25 GMT

     [ https://issues.apache.org/jira/browse/FELIX-218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Richard S. Hall resolved FELIX-218.
-----------------------------------

    Resolution: Fixed
      Assignee: Richard S. Hall

I had to modify the patch slightly to get it to work, but it does appear to be working now.

Stuart, please verify that it is working and then close this issue. Thanks.

> Support BND directives in maven-bundle-plugin section of pom.xml
> ----------------------------------------------------------------
>
>                 Key: FELIX-218
>                 URL: https://issues.apache.org/jira/browse/FELIX-218
>             Project: Felix
>          Issue Type: Improvement
>          Components: Maven Bundle Plugin
>    Affects Versions: 0.8.0, 1.0.0
>            Reporter: Stuart McCulloch
>         Assigned To: Richard S. Hall
>            Priority: Minor
>             Fix For: 1.0.0
>
>         Attachments: 20070303_directives.patch, bnd_include_directive.patch, bnd_include_directive_and_handle_manifests.patch,
support_directives.patch
>
>
> The latest snapshot of the maven-bundle-plugin doesn't support BND directives (such as
-donotcopy) in the pom.xml
> Unfortunately we can't have XML tags that start with '-', so we have to use '_' in the
XML and convert this to '-' in the plugin.
> For example:
>         <configuration>
>           <instructions>
>             <bundleName>My Bundle</bundleName>
>             ... etc ...
>             <_donotcopy>(CVS|.svn|.+.bak|~.+)</_donotcopy>
>           </instructions>
>         </configuration>
> I have a simple patch for this issue, which also adds support for the '-include' directive
to let you drag in other property files.
> This can be useful if you have a common set of manifest entries defined in a parent project
- however, this requires a patch
> to BND to expose an API to process the include directive, as currently it's only processed
when properties are loaded from
> a file - not when they are set programatically.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message