Using m2eclipse for Eclipse plugin projects [message #13562] |
Thu, 24 July 2008 18:18 |
Eclipse User |
|
|
|
Originally posted by: chris.audley.beaconcs.com
I'd like to use m2eclipse for a plugin project. I'm running Eclipse 3.4
with m2eclipse 0.9.5.20080717-1821.
I've added maven support to the plugin project, and I can see the
correct maven dependencies listed in the 'Maven Dependencies' group.
However, when I try and export some of the java packages from the maven
dependencies using the plugin manifest, I get an error that the packages
don't exist in the plugin project.
When I just list the required jars as 'Referenced Libraries' this works
fine. Is there some setting that I'm missing to enable this? I
couldn't find anything.
Thanks
Chris
|
|
|
Re: Using m2eclipse for Eclipse plugin projects [message #13584 is a reply to message #13562] |
Thu, 24 July 2008 21:35 |
Eclipse User |
|
|
|
Originally posted by: igor.ifedorenko.com
m2e (as in Eclipse IDE plugin) does not directly support eclipse plug-in
development at the moment, but we plan to add this support some time in
the future.
There is, however, Tycho m2e subproject with the goal to provide first
class support for building Eclipse/OSGi plugins with Maven. Using Tycho
you can "wrap" existing maven artifacts into OSGi bundles which then can
be referenced from your plugins. We use Tycho to build m2e and you can
see how we use this feature to wrap maven archetype for example
http://svn.sonatype.org/m2eclipse/trunk/org.maven.ide.compon ents.archetype-common
We don't have any documentation yet, but I will be happy to answer you
questions if you're interested in this approach.
Chris Audley wrote:
> I'd like to use m2eclipse for a plugin project. I'm running Eclipse 3.4
> with m2eclipse 0.9.5.20080717-1821.
>
> I've added maven support to the plugin project, and I can see the
> correct maven dependencies listed in the 'Maven Dependencies' group.
> However, when I try and export some of the java packages from the maven
> dependencies using the plugin manifest, I get an error that the packages
> don't exist in the plugin project.
>
> When I just list the required jars as 'Referenced Libraries' this works
> fine. Is there some setting that I'm missing to enable this? I
> couldn't find anything.
>
> Thanks
> Chris
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03690 seconds