|
|
Re: Problem with converting to maven project [message #1802583 is a reply to message #1802577] |
Tue, 12 February 2019 09:38 |
|
Hi,
I don't know what the "Convert to Maven Project" action does exactly, but it looks like it lost the fact that the "src" folder contains the sources (and maybe other informations). My guess is that it blindly assumes a Maven-standard source layout, with Java source files in src/main/java.
If you want to build Eclipse projects in general (not just Sirius Viewpoint Specification Projects), I recommend using Tycho, which is a set of Maven plug-ins which makes Maven aware of the specificities of OSGi projects in general and Eclipse plug-ins in particular. Tycho will correctly identify the source folders configured in Eclipse instead of assuming or imposing a different file layout.
Note that this is more of a Maven/Tycho question on building Eclipse plug-ins with Maven. There is nothing specific to do for Sirius projects. You can however look at the Sirius sources themselves, or Ecore Tools (which is smaller and simpler) as example which uses Tycho to build Eclipse plug-ins, including Sirius modelers.
Regards,
Pierre-Charles David - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
Powered by
FUDForum. Page generated in 0.02963 seconds