Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ebr-dev] Import Package version question

I did try the latest 3rd party support from tycho - I ran into similar road blocks

The project I am trying to pull in is not very well structured 

I think I will cut my losses and go back to a jar of jars 

Thanks for the help - and I did use the ebr for some of the other dependencies 

Sean


> On Feb 5, 2021, at 4:02 AM, Gunnar Wagenknecht <gunnar@xxxxxxxxxxxxxxx> wrote:
> 
>> 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
> 
> 
> 
> _______________________________________________
> ebr-dev mailing list
> ebr-dev@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/ebr-dev



Back to the top