Closed marcelhanser closed 2 years ago
/cc @evanchooly, @glefloch, @quarkusio/devtools
Thanks for reporting this @marcelhanser.
In your project, are referencing mavenLocal()
as repository ?
If this is the case, could you remove it or place it in last position if need to access local artifact ?
Hi @glefloch, no we use a corporate repository. Does your suggestion also apply to that?
I dont know if that helps but: We tried a bit around and realized that we can get rid of those errors if we define tasks.dependsOn explicitly for the compileJava tasks.
compileJava.dependsOn(project.rootProject.getTasksByName("compileJava", true).find({ it.project.name.equals("otherModuleIdependOn") }))
Do you have a reproducer @marcelhanser, I think this issue has been fixed in #23802.
Unfortunately not.. its a huge project. But we will try 2.8.x as soon as its released and give feedback here. Would that be fine?
Sure. Thanks.
@marcelhanser, 2.8.0.CR1
has been released, could you give a try?
@glefloch sry for the late answer. Our build is stable with 2.8.x! thx!
No problem, thanks for the answer, I will close the issue then. You can reopen it if you face the issue again.
Describe the bug
In around 60% of our builds we get the following error during a compileTestJava task