目前是否可以通过Maven构建Eclipse插件并具有良好的IDE集成? [英] Is it currently possible to build Eclipse Plugins by Maven AND have nice IDE Integration?

查看:145
本文介绍了目前是否可以通过Maven构建Eclipse插件并具有良好的IDE集成?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在评估maven来改进我们的构建过程。正常的jar文件的构建和创建工作到目前为止,尽管我对Maven IDE并不满意。



我现在在这一点,所有的libs我需要我们的项目建成,我正在转向Eclipse RCP项目。现在我不知道如何继续。



有一些插件需要先构建,然后再转到实际的RCP部分。因此我实际上有3个问题。



我想构建这些插件,唯一真正的解决方案似乎是maven-bundle-plugin: http://felix.apache.org/site/apache-felix-maven- bundle-plugin-bnd.html



但是,对于好的IDE集成,我还需要适当的文件(plugin.xml,build.properties等) 。)应该自动生成。



对于构建RCP部件,到目前为止,唯一的解决方案只有pde-maven插件 http://mojo.codehaus.org/pde-maven-plugin/ ,据我所知,使用蚂蚁。这是愚蠢的,不是吗?



我可以发现的唯一其他事情是tycho( http://www.sonatype.com/people/2008/11/building-eclipse-plugins-with-maven- tycho / ),但这是在一个非常早的阶段。



再次,一个很好的Eclipse集成是必要的。我真的真的不想指定依赖关系两次。



那么你如何使用maven构建Eclipse RCP项目?



更新



现在,似乎没有这样的解决方案可用。 Tycho看起来非常有希望,但是我浪费了2天,并没有让它运行(此时的当前版本)。也许在半年左右就可以了。

解决方案

没有没有这样的工具。
Tycho也是我所了解的唯一方法。


I'm currently evaluating maven to improve our build process. The building and creating of normal jar files works so far, although I'm not entirely happy with the Maven IDE.

I'm now at that point, where all libs I need for our project are built, and I'm moving on to the Eclipse RCP projects. And now I'm not sure how to go on.

There are some plugins I need to build first, before moving on to the actual RCP part. Therefore I have actually 3 problems.

I want to build those plugins, the only real solution for that seems to be the maven-bundle-plugin: http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html

But, For nice IDE integration I also need the appropriate files (plugin.xml, build.properties, etc ...) which should be generated automatically.

For building the RCP parts, it seems so far the only solution is only the pde-maven-plugin http://mojo.codehaus.org/pde-maven-plugin/ which, as far as I can tell, uses ant-pde. This is stupid, isn't it?

The only other thing I could found was tycho (http://www.sonatype.com/people/2008/11/building-eclipse-plugins-with-maven-tycho/) , but this is till in a very early stage.

and again, a nice Eclipse integration is necessary. I really, really, really don't want to specify dependencies twice.

So How do you build your Eclipse RCP projects with maven?

Update

For now, it seems that there is no such solution available. Tycho looks very promising, but I wasted 2 days and didn't get it to run (the current version at this point). Maybe it will be ready in half a year or so.

解决方案

No there is no such tool. Tycho is also the only approach I know of.

这篇关于目前是否可以通过Maven构建Eclipse插件并具有良好的IDE集成?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆