You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading Quarkus to 3.0.3, my multi-module gradle project fails to build with the following error when quarkus.bootstrap.workspace-discovery is set as true.
❯ ./gradlew clean build
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:quarkusBuild'.
> Could not copy file '/.../multi-module/code-with-quarkus/app/build/quarkus-build/dep/lib/main/org.acme.main' to '/.../multi-module/code-with-quarkus/app/build/quarkus-app/lib/main/org.acme.main'.
> Cannot create directory '/.../multi-module/code-with-quarkus/app/build/quarkus-app/lib/main/org.acme.main' as it already exists, but is not a directory
INFO logs show that the build fails at quarkusBuild task.
> Task :app:quarkusBuild FAILED
Caching disabled for task ':app:quarkusBuild' because:
Build cache is disabled
Task ':app:quarkusBuild' is not up-to-date because:
Task has failed previously.
Removing output files and directories (provide a clean state).
Synchronizing Quarkus build for jar packaging from /.../multi-module/code-with-quarkus/app/build/quarkus-build/app/quarkus-app and /.../multi-module/code-with-quarkus/app/build/quarkus-build/dep into /.../multi-module/code-with-quarkus/app/build/quarkus-app
If I set quarkus.bootstrap.workspace-discovery to false, the project builds successfully.
Describe the bug
After upgrading Quarkus to 3.0.3, my multi-module gradle project fails to build with the following error when
quarkus.bootstrap.workspace-discovery
is set astrue
.INFO logs show that the build fails at
quarkusBuild
task.If I set
quarkus.bootstrap.workspace-discovery
tofalse
, the project builds successfully.Expected behavior
./gradlew build
finishes successfully.Actual behavior
./gradlew build
fails with the above error.How to Reproduce?
cd code-with-quarkus
./gradlew clean build
twiceOutput of
uname -a
orver
Darwin KEFUJII-M-Q636 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64
Output of
java -version
openjdk version "18.0.2.1" 2022-08-18
GraalVM version (if different from Java)
No response
Quarkus version or git rev
3.0.3
Build tool (ie. output of
mvnw --version
orgradlew --version
)Gradle 8.1
Additional information
No response
The text was updated successfully, but these errors were encountered: