[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ebr-dev] Import Package version question
|
> On Feb 5, 2021, at 00:32, sean.muir@xxxxxxxxxxxxxxx wrote:
>
> The issue is the plugin adds a 0 so everything is 1.14.0
That's likely the OSGi version.
> But when I reference that in the feature.xml it is not found
>
> The local repo has it 1.14
The feature (Tycho) looks into a p2 repository. The "local repo" is your Maven repository I suspect. You need to produce the p2 repository first and then the feature can pull it from there.
This is the reason why an EBR build is a two-step process. The first "mvn install" step builds the OSGi bundle and installs it into the local Maven repository. Only after that step the second step with building the p2 site using the aggregation feature will be successful.
FWIW, there is an easier approach available since this release. PDE as well as Tycho both have support for consuming Maven artifacts directly and convert them on the fly. Do you want to give this a try?
-Gunnar