Reputation: 17203
I have a project which is build through maven. Each module is built as an osgi bundle.
Within Eclipse the modules have also the plugin nature. Some modules require external dependencies (log4j, apache commons, ...), which are also available as plugins from a maven repository (for instance the spring enterprise repository, which is also an OBR).
Maven itself has no problem to resolve those dependencies, but how can I convince Eclipse to retrieve and resolve those bundles as plugins using a maven repository (I don't want to make for each of those a wrapper plugin)?
Is there a "Maven Provisioner" which could be installed in eclipse?
Upvotes: 6
Views: 2624
Reputation: 17203
I didn't find anything, so I convinced my colleague to write an eclipse plugin which does exactly this. It is a provisioner which analyzes a m2 repository and pulls in the found osgi plugins from there. It is a alpha version, but you may try it and we are happy to get a response. Just write to info [at] inavare [dot] net
You find the update site here http://repo.openscada.org/eclipse/
Upvotes: 5
Reputation: 35838
I guess you're not using a Maven plugin for Eclipse, if that's true you should try the one from Sonatype which in my opinion is the best. It resolves your dependencies, is really stable and has some nice features like the dependency graph tool.
Upvotes: 0