Maven : OSGI, bundles and multi-modules projects

后端 未结 3 1362
我在风中等你
我在风中等你 2021-02-20 05:38

I\'m currently developing an OSGi based application (using Equinox) by trying to mavenize a web tutorial I\'ve found on OSGi+Equinox. In this project, there are bundles dependin

相关标签:
3条回答
  • 2021-02-20 06:18

    I wrote a tool called auto-builder: http://code.google.com/p/auto-builder. It introspects PDE-based projects and generates Ant build files; it supports transitive closure over dependencies and all that jazz.

    I posted a write-up: http://empty-set.net/?p=9. I wrote it because the Maven tools I played with, when integrated with PDE, didn’t “just work.” Basically, I wanted to do coding in PDE and have a Hudson-based CI without any fuss in between.

    Generating Ant files is nice because it gives you all the benefits of a declarative build tool, but it leaves you with a procedural description of what it is doing.

    I am looking for more PDE-based projects to test it on. There are a couple RFC-0112 Bundle repositories around, and I have some code for downloading dependencies. If anyone is interested, then I could integrate dependencies download with auto-builder.

    0 讨论(0)
  • 2021-02-20 06:25

    Tycho is designed to handle these types of problems.

    0 讨论(0)
  • 2021-02-20 06:29

    The answer is quite simple : I removed the already defined manifest, and used bnd entries in the bundle plugin instructions. That works !

    0 讨论(0)
提交回复
热议问题