Skip to content

Default maven filtering only apply to default configuration #4856

@caipanjin

Description

@caipanjin

Both in my application.properties and application-test.properties, I add the config spring.application.name=@pom.artifactId@
it works, and the value equals which in pom.xml
However if I add --spring.config.name=application-test in my bootstrap shell, i doesn't work, the value isn't filtered.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions