Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Creating Eclipse RCP plugins with a Maven dependency
Creating Eclipse RCP plugins with a Maven dependency [message #510805] Thu, 28 January 2010 17:03
Henno Vermeulen is currently offline Henno VermeulenFriend
Messages: 126
Registered: July 2009
Senior Member
We created our own multi-module Maven project with over 30 dependencies many of which are transitive and now it is time to add a rich GUI using Eclipse RCP. (To use this project we only need to start up a single Spring context which wires all our classes and dependencies together. Currently we do not use Spring-DM to create a Spring aware OSGI bundle).

We can make use of our Maven project by creating a plugin which contains our own jars and MANUALLY putting all of our dependencies in this project and exporting all of its packages which results in a huge OSGI manifest. We can then use it in a very simple RCP application based on the hello application, by depending on our plugin. We can only run this from the PDE at the moment.

Using the excellent tutorial from Ralf Ebert I am already able to use Hudson to do an automatic headless build of the mail app example.

What would now be the easiest way to use our Maven project in multiple Eclipse RCP plugins that form our application? Is there a way to do use a Maven project without having to manually add jars to a plugin project whenever the Maven project changes, either in our own code or its external dependencies?

In the end we wish to be able to:

- Start our Eclipse RCP application from within Eclipse (using the PDE)
- Automatically build the RCP application using Hudson.

So ideally, the automatic build would always use our latest Maven build and using the latest Maven build from within the Eclipse PDE should involve minimal manual labor.

Should we somehow configure Buckminster with a Maven RMAP? How would we adjust Ralf's example to do this? How would we then make sure the project still runs from the PDE?

Or should we use Maven with the Felix Plugin to create an OSGI bundle and simply add a dependency on this bundle?
Previous Topic:Error while installing PDE feature for buckminster headless 3.6
Next Topic:Aggregator NPE when building repo with Maven
Goto Forum:
  


Current Time: Tue Sep 24 14:14:17 GMT 2024

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

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

Back to the top