简体   繁体   中英

Using Maven to build an Eclipse Plugin - latest opinions

I am building a plugin for Eclipse - but as we use Maven as a standard build platform I would like to be able to build the plugin using Maven.

I have found a previous question about using Maven with Eclipse Plugins - but as it is a year old I thought it was worthwhile collecting some new answers:

Is it currently possible to build Eclipse Plugins by Maven AND have nice IDE Integration?

It seems that Tycho has not been driven forward much in the last year - but has anything else been created that fulfils this need or is there an easier way?

Does anyone recommend still the Maven PDE plugin? Is this a cumbersome solution as it is just a wrapper for ANT scripts?

I'm on the Tycho mailing list and I see plenty of feedback that suggests that people are successfully building plug-ins using Maven. My current project isn't doing OSGi development, so I can't vouch from personal experience with the latest version of Tycho. It's also worth pointing out that Tycho currently supports (to the best of my knowledge) a manifest-first approach to building plug-ins (as apposed to POM-first) - this might be a factor in deciding if Maven/Tycho fits your project.

It seems that Tycho has not been driven forward much in the last year - but has anything else been created that fulfils this need or is there an easier way?

The project is definitely active (have a look at the git repository ), regardless of the updates of its website and AFAIK Sonatype is using it (successfully) for m2eclipse .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM