[
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
|
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]
[ERROR] See
http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for
help.
[...]
So I added the dependency to the corresponding pom.xml file and defined
a suitable repository.
<repositories>
<!-- add latest repository to resolve dependencies -->
<repository>
<id>Latest</id>
<layout>p2</layout>
<url>http://download.eclipse.org/releases/latest/</url>
</repository>
<repository>
<id>MVNRepository</id>
<url>https://repo1.maven.org/maven2/</url>
</repository>
</repositories>
[...]
<dependency>
<groupId>org.jscience</groupId>
<artifactId>jscience</artifactId>
<version>4.3.1</version>
</dependency>
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
tycho-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/tycho-user