|Re: [tycho] Adding custom dependencies [message #21503 is a reply to message #21296]
||Wed, 28 January 2009 15:19
Originally posted by: igor.ifedorenko.com|
It is possible to add additional bundles and features to the build
target platform using dependencyManagement section of pom.xml (see 
for example). Tycho will resolve these depenedncies from maven
repositories and add them to the build target platform. Unfortunately,
this likely is not enough for these bundles to be "started at the very
beginning to make some initialization".
I don't know much about SpringDM myself, but if you provide sample
project(s) and explain expected behaviour I will have a look.
Matthias Treitler wrote:
> Hi Igor,
> I am developing a project where I am using Spring DM. In the Tycho Wiki
> it is stated that a pom.xml should NOT contain <dependency/> sections.
> This is because the dependencies are calculated from the Manifest.MF and
> resolve against the target platform, right?!
> Now Spring DM includes some OSGi bundles (for instance
> "org.springframework.bundle.osgi.extender") which are started at the
> very beginning to make some initialization. None of mine plug-in depends
> on this one, because it does not have to. So now I want that these
> Spring bundles are also managed within Maven. Normally you would add
> some dependency sections in your pom.xml file (like it is shown here
> http://static.springframework.org/osgi/demos/integration-tes t-demo/part-1/int-testing-part1.html
> ) but with Tycho I am not allowed to do this!
> How can I solve such an issue?!?
Powered by FUDForum
. Page generated in 0.02369 seconds