Building sirius-web locally is not working #3160
Replies: 3 comments 4 replies
-
Hello, |
Beta Was this translation helpful? Give feedback.
-
Hi, Me and one of my colleagues have tried to build sirius web almost a week. However, we stuck on final step. While maven tries to build "sirius-web-sample-application", it gives always same build failure. We verified all issue about github access token such as settining settings.xml and .npmrc. But we could't find any problem on these files. You may see error at below of the post. [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 04:55 min [INFO] Finished at: 2024-03-23T12:17:35+01:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project sirius-web-sample-application: Could not resolve dependencies for project org.eclipse.sirius:sirius-web-sample-application:jar:2024.3.0: Failed to collect dependencies at BPMN2:org.obeonetwork.dsl.bpmn2:jar:4.0.3-SNAPSHOT: Failed to read artifact descriptor for BPMN2:org.obeonetwork.dsl.bpmn2:jar:4.0.3-SNAPSHOT: Could not transfer artifact BPMN2:org.obeonetwork.dsl.bpmn2:pom:4.0.3-SNAPSHOT from/to github-bpmn (https://maven.pkg.github.com/ObeoNetwork/BPMN-Designer): Authentication failed for https://maven.pkg.github.com/ObeoNetwork/BPMN-Designer/BPMN2/org.obeonetwork.dsl.bpmn2/4.0.3-SNAPSHOT/org.obeonetwork.dsl.bpmn2-4.0.3-SNAPSHOT.pom 401 Unauthorized -> [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/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :sirius-web-sample-application Thanks for your advice. |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm also trying to build but without success.
I created an access token as suggested (read:package) and added that token to my .m2/settings.xml and also ~/.npmrc
Thank you in advance. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm trying to build sirius-web locally since thursday. Unfortunately it runs in an error with a HttpResponseException:
sirius-web_backend.log
In the attached log you can see the HttpResponseException: status code: 401, reason phrase: Unauthorized (401).
This is because the dependent URLs for example: https://maven.pkg.github.com/eclipse-sirius/emf-json , the references are not available under the url. All URLs are not working.
I have tried to build the dependet project afterwards on my own - also locally.
I cloned the https://github.com/eclipse-sirius/sirius-emf-json from the repo, than I took the instalation guide from the repo but the project as well runs in build errors.
In a second step I have tried to resolve the Flow-Designer dependency to build the jar file.
I cloned the project: https://github.com/ObeoNetwork/Flow-Designer and also checked the installation guidiance unter the project in github. I have tried to resolve the dependeny errors from that project, never the less it led again to an enourmous amount of dependency errors, where I would need more than one week to resolve them. This makes no sense.
Afterwards I have tried to build the papyrus-web: https://gitlab.eclipse.org/eclipse/papyrus/org.eclipse.papyrus-web#build
Here as well I got the same erros like I had with sirius-web.
I cannot got on without your help to build it.
How can I resolve the dependencies to:
Thank you in advance and best regards
Nicole
Beta Was this translation helpful? Give feedback.
All reactions