-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
cyclonedxBom task does not finish - endless loop on creating bom #528
Comments
Hi @tkrah Is it possible to provide the full build.gradle that caused this issue? I have encountered a similar issue (infinite loop) recently. The scenario was a dependency graph which contained a loop between non-jar dependencies. I suspect the same might be happening here, but I would need to understand what dependencies are declared. |
|
Hi @tkrah. Thanks for sending the full configuration. I have tried it out and as expected it is a loop between non-jar dependencies. More specifically it is the bom Note that the PR #532 is aiming to resolve a lot of existing issue including this one. I have tested it out and it works fine with those changes. |
Yeah I knew it had to be this one, because the workaround was to let the alignment rule exclude this bom - thanks for confirming and I am looking forward to #532 . |
Run the task and it will just loop on:
To Reproduce
Use this alignment rule to fix some dependencies:
gradle dependencies --configuration productionRuntimeClasspath
does run without a problem, resulting in the correct dependencies.
A workaround which seems to "break" the loop is this:
Expected behavior
gradle cyclonedxBom
should not loop endlessly.Environment
cyclonedx = { id = 'org.cyclonedx.bom', version = "1.8.2" } - we can't use 1.9.x yet because of #482
The text was updated successfully, but these errors were encountered: