Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 07:33 Go to next message
sumegh thale is currently offline sumegh thaleFriend
Messages: 1
Registered: August 2023
Junior Member
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 11:59 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33143
Registered: July 2009
Senior Member
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


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: How to use tycho plugin [message #1860767 is a reply to message #1860731] Sat, 02 September 2023 06:29 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
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: Thu May 02 08:01:41 GMT 2024

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

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

Back to the top