Re: Getting maven to create a bundle manifest incrementally in eclipse

2017-03-30 Thread Bill Mair
Hi, @Curtis Yes, I had runOnIncremental enabled, but it didn't appear to do anything. I also added rebuildBundle to no avail. @Karl Heinz I wanted away from the MF first approach due to the added complexity that comes with it in tracking everything (although I must admit I didn't really have a

RE: [EXTERNAL] Re: Getting maven to create a bundle manifest incrementally in eclipse

2017-03-21 Thread Justin Georgeson
It's a 2 or 3 stage approach: 1. Use a traditional jar project with bnd-maven-plugin or bundle-maven-plugin to either build your source code as an OSGI jar or to take a non-OSGI dependency from a Maven repo and generate an OSGI version of it. Publish with standard 'mvn deploy' to Maven repo.

Re: [EXTERNAL] Re: Getting maven to create a bundle manifest incrementally in eclipse

2017-03-21 Thread Karl Heinz Marbaise
Hi, as far as i know you can generate the MANIFEST file from that...?? Not 100%sure about this [1] cause I never used it myself.. Furthermore if you create an appropriate target platform and create a p2 repo from it (using tycho, upload to Nexus for example) this can be used to be

RE: [EXTERNAL] Re: Getting maven to create a bundle manifest incrementally in eclipse

2017-03-21 Thread Justin Georgeson
POM-first dependencies in Tycho is just for resolution of plugin jars from Maven repo (when they're not available in a P2 software site). It doesn't handle writing your MANIFEST file to reflect those POM-first dependencies, so you have to declare them in both files in that case. -Original

Re: Getting maven to create a bundle manifest incrementally in eclipse

2017-03-21 Thread Karl Heinz Marbaise
Hi Bill, On 21/03/17 16:01, Bill Mair wrote: Hi, I'm attempting to switch to maven to create my packages but I have hit a snag that I can't find a solution for. Up until now, I have been controlling the dependencies of my ant build process with the contents of "META-INF/MANIFEST.MF". Maven

Re: Getting maven to create a bundle manifest incrementally in eclipse

2017-03-21 Thread Curtis Rueden
Hi Bill, Since this is an M2E question, consider asking on the m2e-users list: https://dev.eclipse.org/mailman/listinfo/m2e-users Personally, I do not know the answer. You obviously have " true" so you would think that Eclipse would re-execute it every time an incremental build occurs. But I

Getting maven to create a bundle manifest incrementally in eclipse

2017-03-21 Thread Bill Mair
Hi, I'm attempting to switch to maven to create my packages but I have hit a snag that I can't find a solution for. Up until now, I have been controlling the dependencies of my ant build process with the contents of "META-INF/MANIFEST.MF". Maven works the other way around and generates that