Skip to content

Quarkus application build fails inside a folder that ends with ! #43273

Closed
quarkusio/quarkus-fs-util
#19

Description

Describe the bug

Quarkus application build fails inside a folder that ends with !

Build ends with [ERROR] Caused by: java.nio.file.NoSuchFileException: /Users/rsvoboda/tmp/getup!/app-3.14.3/target/quarkus-app/quarkus/transformed-bytecode.jar.
There is a file new file generated outside the application target directory (/Users/rsvoboda/tmp/getup in my case) instead of the transformed-bytecode.jar.

This was discovered as part of the review of #42248. @dmlloyd , in my opinion this is not related to the smallrye/smallrye-common#293 changes as this scenario also fails with Quarkus 3.12.3.

Some details are also in #42248 (comment)

Expected behavior

Quarkus application builds successfully

Actual behavior

transformed-bytecode.jar gets created in different place and Quarkus application build fails

How to Reproduce?

mkdir 'getup!'
cd 'getup!'

Both 3.14.3 and 3.12.3 fail to build the app

mvn io.quarkus.platform:quarkus-maven-plugin:3.12.3:create -DprojectGroupId=my-groupId -DprojectArtifactId=app-3.12.3 -DprojectVersion=1.0.0-SNAPSHOT -DpackageName=org.my.group -DquarkusRegistryClient=false -DplatformVersion=3.12.3 -Dextensions=quarkus-rest
mvn -e clean package -f app-3.12.3

mvn io.quarkus.platform:quarkus-maven-plugin:3.14.3:create -DprojectGroupId=my-groupId -DprojectArtifactId=app-3.14.3 -DprojectVersion=1.0.0-SNAPSHOT -DpackageName=org.my.group -DquarkusRegistryClient=false -DplatformVersion=3.14.3 -Dextensions=quarkus-rest
mvn -e clean package -f app-3.14.3

Output of uname -a or ver

macOS

Output of java -version

Java 21

Quarkus version or git rev

3.14.3

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions