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
The problem is that regardless of the profile chosen, the output always went to .quarkus/quarkus-prod-config-dump
Expected behavior
The ouput should be written to ${quarkus.config-tracking.directory}/${quarkus.config-tracking.file-prefix}-<profile>-${quarkus.config-tracking.file-suffix} (e.g. .quarkus/quarkus-<profile>-config-dump)
Actual behavior
The output is always written to the prod file.
How to Reproduce?
Steps to reproduce:
Create a new Quarkus project of any sort
Add at least one additional profile configuration (e.g. dev)
Run a maven package using ./mvnw package -DskipTests -DskipITs -Dquarkus.config-tracking.enabled=true -Dquarkus.profile=prod
Move the file .quarkus/quarkus-prod-config-dump to .quarkus/prod-dump
Run another maven package with ./mvnw package -DskipTests -DskipITs -Dquarkus.config-tracking.enabled=true -Dquarkus.profile=dev
See that the output is written to .quarkus/quarkus-prod-config-dump and is different than the first file generated
Output of uname -a or ver
Linux p15v 6.12.10-200.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jan 17 18:05:24 UTC 2025 x86_64 GNU/Linux
Output of java -version
openjdk version "21.0.5" 2024-10-15
Quarkus version or git rev
3.18.4
Build tool (ie. output of mvnw --version or gradlew --version)
Describe the bug
I have a Quarkus 3.18.4 project and I tried to dump the "effective" config for each of my profiles:
The problem is that regardless of the profile chosen, the output always went to
.quarkus/quarkus-prod-config-dump
Expected behavior
The ouput should be written to
${quarkus.config-tracking.directory}/${quarkus.config-tracking.file-prefix}-<profile>-${quarkus.config-tracking.file-suffix}
(e.g..quarkus/quarkus-<profile>-config-dump
)Actual behavior
The output is always written to the
prod
file.How to Reproduce?
Steps to reproduce:
./mvnw package -DskipTests -DskipITs -Dquarkus.config-tracking.enabled=true -Dquarkus.profile=prod
.quarkus/quarkus-prod-config-dump
to.quarkus/prod-dump
./mvnw package -DskipTests -DskipITs -Dquarkus.config-tracking.enabled=true -Dquarkus.profile=dev
.quarkus/quarkus-prod-config-dump
and is different than the first file generatedOutput of
uname -a
orver
Linux p15v 6.12.10-200.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jan 17 18:05:24 UTC 2025 x86_64 GNU/Linux
Output of
java -version
openjdk version "21.0.5" 2024-10-15
Quarkus version or git rev
3.18.4
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.9.4 (dfbb324ad4a7c8fb0bf182e6d91b0ae20e3d2dd9)
Additional information
No response
The text was updated successfully, but these errors were encountered: