micronaut-projects / micronaut-maven-plugin

Maven plugin to execute Micronaut applications
https://micronaut-projects.github.io/micronaut-maven-plugin/latest/
Apache License 2.0
20 stars 19 forks source link

Docker Native packaging fails if there is an existing args file in the target directory #1048

Closed alvarosanchez closed 3 months ago

alvarosanchez commented 3 months ago
[INFO] ---> 3fe697df233a
[INFO] Step 13/24 : COPY *.args /home/app/graalvm-native-image.args
[INFO]
[ERROR] When using COPY with more than one source file, the destination must be a directory and end with a /
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

Workaround is to run mvn clean before