[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[tycho-user] Tycho eclipse-plugin project as pom dependency in plain jar module
|
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>org.example.build</groupId>
<artifactId>osgi-bundle</artifactId>
<version>[1.0.0,2.0.0)</version>
<type>eclipse-plugin</type>
</dependency>
unfortunately fails:
No versions available for org.example.build:osgi-bundle:jar:[1.0.0,2.0.0)
within specified range