How to create a new RCP Eclipse project using Maven?

How to create a new RCP Eclipse project using Maven ( preferably m2eclipse )?

I read that there is a plugin for Maven that has an idea about Eclipse. ( Maven Eclipse Plugin ) And then it seems to me that I need to find Maven Archetype to create an Eclipse RCP project, but I could not. At the moment, I doubt that I will go right.

I just want to use maven dependency resolution and other features in developing RCP applications.

PS I found that using m2eclipse you can enable "Enable dependency management." Another option is to make project 2 projects: maven and the Eclipse RCP project, which will reference the first in the classpath. What is the smart way?

PPS You can also use the Eclipse dependency resolution mentioned here.

Convert the library project into a plug-in project (right-click → Configure → Convert to Project plug-in) and add it depending on your plug-in project (manifest editor, Dependencies tab).

+3
source share
2 answers
+3

Source: https://habr.com/ru/post/1771629/


All Articles