Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workflow.dsl fails to build #450

Closed
metadatadriven opened this issue Jun 15, 2022 · 3 comments
Closed

workflow.dsl fails to build #450

metadatadriven opened this issue Jun 15, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@metadatadriven
Copy link

My build is failing at org.eclipse.emfcloud.coffee.workflow.dsl which looks like its caused by a a problem in org.eclipse.equinox which is a dependency of xtext. To reproduce, run.sh:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Coffee Editor Parent 0.1.0-SNAPSHOT:
[INFO] 
[INFO] Coffee Editor Parent ............................... SUCCESS [  5.710 s]
[INFO] org.eclipse.emfcloud.coffee.target ................. SUCCESS [  0.172 s]
[INFO] org.eclipse.emfcloud.coffee.model .................. SUCCESS [  2.939 s]
[INFO] org.eclipse.emfcloud.coffee.common ................. SUCCESS [  0.269 s]
[INFO] org.eclipse.emfcloud.coffee.workflow.generator ..... SUCCESS [  0.203 s]
[INFO] org.eclipse.emfcloud.coffee.workflow.generator.cpp . SUCCESS [  6.775 s]
[INFO] org.eclipse.emfcloud.coffee.codegen.cpp.application  SUCCESS [  0.257 s]
[INFO] org.eclipse.emfcloud.coffee.workflow.generator.java  SUCCESS [  0.699 s]
[INFO] org.eclipse.emfcloud.coffee.codegen.java.application SUCCESS [  0.213 s]
[INFO] org.eclipse.emfcloud.coffee.modelserver ............ SUCCESS [  0.594 s]
[INFO] org.eclipse.emfcloud.coffee.modelserver.app ........ SUCCESS [  0.184 s]
[INFO] org.eclipse.emfcloud.coffee.modelserver.feature .... SUCCESS [  0.648 s]
[INFO] org.eclipse.emfcloud.coffee.workflow ............... SUCCESS [  0.153 s]
[INFO] org.eclipse.emfcloud.coffee.workflow.analyzer ...... SUCCESS [  0.104 s]
[INFO] org.eclipse.emfcloud.coffee.workflow.dsl ........... FAILURE [ 14.561 s]
[INFO] org.eclipse.emfcloud.coffee.workflow.analyzer.coffee SKIPPED
[INFO] org.eclipse.emfcloud.coffee.workflow.analyzer.application SKIPPED
[INFO] org.eclipse.emfcloud.coffee.workflow.dsl.ide ....... SKIPPED
[INFO] org.eclipse.emfcloud.coffee.workflow.glsp.server ... SKIPPED
[INFO] org.eclipse.emfcloud.coffee.workflow.glsp.server.app SKIPPED
[INFO] org.eclipse.emfcloud.coffee.workflow.glsp.server.feature SKIPPED
[INFO] org.eclipse.emfcloud.coffee.codegen.product ........ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:13 min
[INFO] Finished at: 2022-06-15T21:59:11Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:java (mwe2Launcher) on project org.eclipse.emfcloud.coffee.workflow.dsl: Execution mwe2Launcher of goal org.codehaus.mojo:exec-maven-plugin:1.4.0:java failed: Plugin org.codehaus.mojo:exec-maven-plugin:1.4.0 or one of its dependencies could not be resolved: Failed to collect dependencies at org.codehaus.mojo:exec-maven-plugin:jar:1.4.0 -> org.eclipse.xtext:org.eclipse.xtext.xtext.generator:jar:2.23.0 -> org.eclipse.emf:org.eclipse.emf.codegen:jar:2.19.0 -> org.eclipse.platform:org.eclipse.core.runtime:jar:3.12.0 -> org.eclipse.platform:org.eclipse.equinox.preferences:jar:3.10.0 -> org.osgi.service:org.osgi.service.prefs:jar:[1.1.0,1.2.0): No versions available for org.osgi.service:org.osgi.service.prefs:jar:[1.1.0,1.2.0) within specified range -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :org.eclipse.emfcloud.coffee.workflow.dsl

After some digging, I think the root cause might be a dependency in xtext? See issue:

eclipse-xtext/xtext#2077

Unfortunately my maven foo is not good enough to fix or workaround. Any ideas?

@metadatadriven metadatadriven added the bug Something isn't working label Jun 15, 2022
@eneufeld
Copy link
Contributor

eneufeld commented Jul 7, 2022

Hi @metadatadriven ,
sorry for the late reply. The error looks strange. Did you simply run run.sh or run.sh -b ?
I assume you are also building the master branch?

@metadatadriven
Copy link
Author

It was happening when the backend was building the workflow.dsl extension - the problem was caused by xtext.. this has now been fixed and backend is building ok!.. I'm having problems building the frontend now but that is a different issue:)
eclipse-xtext/xtext#2077

@eneufeld
Copy link
Contributor

Thank you for the update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants