Skip to main content



      Home
Home » Modeling » EMF » How to use tycho plugin(encountering issues with dependency management while using the Tycho plugin in my Eclipse project)
How to use tycho plugin [message #1860728] Wed, 30 August 2023 03:33 Go to next message
Eclipse UserFriend
Hello All,

I'm encountering issues with dependency management while using the Tycho plugin in my Eclipse project. I have set up my POM file with the necessary dependencies, including those required for Xtend and other components. However, during the build process, I'm facing errors related to unresolved dependencies.

I have specified the dependencies in the <dependencies> section of my POM file, and I have also configured the Tycho plugin with the necessary settings for building Eclipse plugins and bundles. Despite this, the build process is not able to resolve these dependencies properly.

I've tried cleaning the project, checking for compatibility issues between Tycho, Eclipse, and Maven versions, and carefully reviewing the build logs with the DEBUG log level enabled for the Tycho plugin. However, I'm still unable to identify the root cause of the dependency resolution problem.

Has anyone else encountered similar issues with Tycho and dependency management? Are there any common pitfalls or best practices I should be aware of when configuring dependencies for Tycho projects? Any insights or suggestions would be greatly appreciated.

Thank you in advance for your help!
Re: How to use tycho plugin [message #1860731 is a reply to message #1860728] Wed, 30 August 2023 07:59 Go to previous messageGo to next message
Eclipse UserFriend
Most of us use Tycho to build our projects, but we don't specify dependencies via the pom.xml but rather via the MANIFEST.MF of the OSGi bundles. The dependencies are resolved via the target platform configuration using p2 repositories. That all works fine.

You can easily set up an EMF development environment and run the Tycho build locally (from the launcher in the IDE itself) to see how the build works:

https://github.com/eclipse-emf/org.eclipse.emf/blob/master/CONTRIBUTING.md

Other projects like Xtext do the same thing for their builds...

The Xtext folks have the most experience with using things like Xtend generation during Tycho builds:

https://github.com/eclipse/xtext/discussions
Re: How to use tycho plugin [message #1860767 is a reply to message #1860731] Sat, 02 September 2023 02:29 Go to previous message
Eclipse UserFriend
https://wiki.eclipse.org/Tycho/FAQ has solutions for many difficult problems.
Previous Topic:AbstractCDOIDLong is no longer available
Next Topic:Forbid users from creating and deleting EClasses
Goto Forum:
  


Current Time: Sun Jun 22 02:40:24 EDT 2025

Powered by FUDForum. Page generated in 0.03679 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top