Conflicting project in Xtext mwe2 workflow

守給你的承諾、 提交于 2021-01-29 03:15:20

问题


I have a Xtext DSL that builds successfully from inside eclipse and maven and is included in a complex multi-plugin RCP application.

Yet, whenever the MWE2 workflow is executed the log is full of warnings of the form:

[INFO] 281  [main] WARN  lipse.emf.mwe.utils.StandaloneSetup  
- Skipping conflicting project org.eclipse.e4.core.contexts
at 'archive:file:/C:/userdir/.m2/repository/p2/
osgi/bundle/org.eclipse.e4.core.contexts/1.3.100.v20140407-1019
/org.eclipse.e4.core.contexts-1.3.100.v20140407-1019.jar!/'
and using 'archive:file:/C:/userdir/Documents/projects/projectdir/
resources/project/plugins
/org.eclipse.e4.core.contexts_1.3.100.v20140407-1019.jar!/' instead.

Some of these warnings, like the above, are about a conflict between the local .m2 folder and a project folder, while others show a conflict between two project folders.

Question:

How do I get rid of these warnings?

My guess is that the project is misconfigured somehow including dependencies to some jars twice. Yet, at the moment I have no idea which dependencies are used by MWE2 during execution causing these warnings.

Is there any way to get an overview of the consulted dependencies or to debug this stuff?

来源:https://stackoverflow.com/questions/41564071/conflicting-project-in-xtext-mwe2-workflow

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!