felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FELIX-5191) Optionally include bnd.bnd files in maven-bundle-plugin
Date Fri, 19 Feb 2016 08:58:18 GMT
Christian Schneider created FELIX-5191:

             Summary: Optionally include bnd.bnd files in maven-bundle-plugin
                 Key: FELIX-5191
                 URL: https://issues.apache.org/jira/browse/FELIX-5191
             Project: Felix
          Issue Type: Improvement
          Components: Maven Bundle Plugin
    Affects Versions: maven-bundle-plugin-3.0.1
            Reporter: Christian Schneider
             Fix For: maven-bundle-plugin-3.0.2

>From the bndtools community I learned the good practice to move the bnd configurations
from the pom into a bnd file by including it in the maven bundle plugin config (see below)
in the parent pom. So all the modules of my project do not need the maven-bundle-plugin config
in their poms anymore as all OSGi settings are done in the bnd file.

The problem with this approach is that all the modules then must have a bnd.bnd file even
if they do not want to override anything.

So the minimum thing I would like to change is to ignore the absence of a bnd file that is

Additionally I think it would be nice to have a default of using a bnd.bnd file for configuration
if it is present. This is just a little syntactic sugar of course but I think it would encourage
to use the default name bnd.bnd for the bnd file.

If the community is positive about those changes I can submit a patch or github pull request.


This message was sent by Atlassian JIRA

View raw message