|How to let Tycho resolve dependencies in xtext-maven-plugin? [message #1786600]
||Tue, 08 May 2018 08:15
| Balz Guenat
Registered: January 2018
I have two workspaces. In one, I am developing my DSL and use Maven and Tycho to build the Eclipse plug ins and language setups. The plug ins are deployed to a local p2 repository. In the other Workspace, I have the aforementioned plug ins installed, write my DSL code and, again, build with Maven and Tycho.
Now, Eclipse has the DSL plug ins installed and thus can compile the DSL code. However, Maven/Tycho cannot, as the xtext-maven-plugin relies on Maven alone to resolve its dependencies on the language setup.
I can get the resolution to work if I install the language setups from the first workspace into a shared maven repository (e.g. the local repo). I don't like this, as it means that Eclipse and Maven resolve the same dependency of the same project in different ways. Also, if I want to build the DSL projects independently, I'd have to set up an actual shared Maven repo.
Is there a way to use the same plug in Eclipse uses in the xtext-maven-plugin? Or is it unreasonable to want that?
Powered by FUDForum
. Page generated in 0.01963 seconds