I am pretty sure that I am using it the wrong way and should be thinking about it another way as I am completely new to bndtools. My current environment looks like the following.
We have a artifactory server that hosts all the current bundles.
I am using karaf so the features.xml files pull the bundles from artifactory that are needed into my osgi container
My maven file pulls in the dependencies from artifactory into the ide environment
I am using the maven-bundle-plugin to build my bundles
I am using the karaf-assembly plugin to build my custom distribution
I am using pax-exam for testing
Where I have had issues is in debugging. I can remotely debug and run surefire from maven for unit tests but I can not run from the ide and step into things. I probably got my maven dependencies wrong somewhere.
I would like to try out submodules and enroute as they seem more standard than karaf (I am still a big fan of karaf but I would like to make sure I understand my choices) but our build system is based around maven and I don't want to change that as it effects jenkins sonar and other tools that we use.
I like the ideas behind the bnd-maven-plugin and would like to switch to that but it requires a bnd file.
I am not against having a cnf project but I would greatly prefer to only manage the dependencies in one place which I was hoping could be the pom. If I have to maintain in two places like I do with the features.xml and pom I can but it causes issues with dependencies getting mismatched like I have run into before.
I am guessing what I can do is have a cnf project for local building and use the bnd-maven-plugin for building in jenkins and then use the bnd-index-plugin to generate the index.html file that the cnf project references. Is this how I should be looking at things. I am really just getting started here with bndtools and am really flexible with how I do things. I just don't know the right way to do things.
Thanks for all your help and support, (Even on a Sunday, I was not expecting a response)