Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Building an Eclipse Plugin (depending on another Eclipse Plugin) using Maven
Building an Eclipse Plugin (depending on another Eclipse Plugin) using Maven [message #605627] Tue, 20 April 2010 07:51
Ed is currently offline EdFriend
Messages: 13
Registered: March 2010
Junior Member

I am attempting to use Maven to build two Eclipse plug-ins, I am implementing an ODA driver and the UI for the BIRT reporting extension.

So my two plugins:

1. The Driver plug-in
2. The UI plug-in which depends on the Driver plug-in

I have setup both plug-ins' poms very similarly, the included Maven plugins that do the majority of the build stuff are listed below:

The l with PDE set to true
The which copies dependencies (jars) listed in the POM into the root directory of the plug-in and then included in the classpath when built

I am unsure how I specifiy that the Driver plug-in is needed by the UI plug-in. I have added the Drvier plug-in to the 'Require-Bundle' attribute of UI's manifest file which means that both plug-ins successfully build and work when tested in Eclipse, but when I perform 'mvn install' for the UI plug-in, I get loads of compile errors saying that any classes contained in the Driver plug-in cannot be found...

The Driver plug-in builds with no issues, so I thought that maybe I could add it to the list of dependencies for the UI plug-in (in the UI's POM), but if I do this, since packaging is zip I cannot add to the classpath like other dependencies. If I change the Driver's packaging to jar the Driver fails to build...I'm stuck!

Any ideas?
Thanks in advance.
Previous Topic:Accessing classes from plugin
Next Topic:Implementation of the Eclipse-based IDE for the imperative language
Goto Forum:

Current Time: Fri May 25 07:24:59 GMT 2018

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

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

Back to the top