Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Newbie has problems with dependencies when migrating a plugin project to tycho maven


How do I recognize an OSGi Bundle? Are those parameters like "bundle manifest version" and "bundle name"? As a beginner I would say that jscience is currently not part of an osgi bundle.

MANIFEST.MF from jscience_4.3.1

Manifest-Version: 1.0
Built-By: iyushin
Build-Jdk: 1.7.0_05
Created-By: Apache Maven
Archiver-Version: Plexus Archiver


I have not specified a target platform yet. I am currently following a tutorial. This first converts a single plugin into a (tycho) maven project and then builds it. At this time there is also no releng project with a masterpom. The target platform follows later. Do I need the target platform immediately for my project? I have assumed that a single plugin can be built with tycho maven without specifying the target platform.

Am 27.08.2020 um 16:23 schrieb Christoph Läubrich:
You need to check two things:

a) is jscience already an OSGi bundle (download it from maven central and look into the manifest)
b) have you enabled "considerMavenDependecies" in your target platform configuration of tycho?

Am 27.08.20 um 16:02 schrieb Jannis Brune:
Hello together,
first time using a Mailing List, so please excuse mistakes I'll make during my conversation with you.

I'm trying to migrate a Eclipse Plugin Project to Tycho Maven and I have done this sucessfully with an simple example project. But now I'm stuck during the migration of the actual project. I've converted the first Plugin to maven and I'm getting this Error trying to run the maven lifecycle.

[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: online.yamm.coreModelXmi 0.1.0.qualifier
[ERROR]   Missing requirement: online.yamm.coreModelXmi 0.1.0.qualifier requires 'osgi.bundle; jscience 1.0.0' but it could not be found
[ERROR] See for help.

So I added the dependency to the corresponding pom.xml file and defined a suitable repository.

         <!-- add latest repository to resolve dependencies -->



But I still get the same error. I have already tried to remove the version number of jscience from the MANIFEST.MF

Can anyone help me with this or link a tutorial?

With kind regards

Jannis Brune

tycho-user mailing list
To unsubscribe from this list, visit

tycho-user mailing list
To unsubscribe from this list, visit

Back to the top