Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho eclipse-plugin project as pom dependency in plain jar module

Never mind, sorry for the noise.

It seems like  just importing the eclipse-plugin as a regular jar dependency
works after updating to the latest and greatest Tycho version :)

On 09.07.2013 10:35, Carsten Reckord wrote:
> Hi all,
> I've read a lot of posts from people wanting to get plain jar dependencies
> into their Tycho build. I have the exact opposite problem: I'd like to have
> a Tycho eclipse-plugin module as a dependency in a plain jar module in the
> same reactor build.
> Background:
> I have a project that includes a non-OSGi server part and a client-side OSGi
> part that interact with each other and share a couple of common modules. I'd
> like to have those modules as OSGi bundles, but consume them as regular jars
> in the non-OSGi modules.
> I'd like to avoid nested jars in OSGi, because those are always a bit of a
> mess. I'd also like to avoid splitting the build into multiple separate
> reactors.
> The naive approach of just including a dependency like this (using a version
> range, because I wasn't sure when/how the Maven/OSGi version conversion
> might come into play)
> <dependency>
>    <groupId></groupId>
>    <artifactId>osgi-bundle</artifactId>
>    <version>[1.0.0,2.0.0)</version>
>    <type>eclipse-plugin</type>
> </dependency>
> unfortunately fails:
> No versions available for[1.0.0,2.0.0)
> within specified range
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx

Back to the top