I upgraded spring-boot-starter-parent from 2.3.1 till 2.5.5 and now 'spring.profiles.active' property can't be injected from pom to application.properties file. Instead of profile value I get in console "The following profiles are active @spring.active.profile@"
My .pom file
<profiles>
<profile>
<id>dev</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<spring.profiles.active>dev</spring.profiles.active>
</properties>
</profile>
<profile>
<id>prod</id>
<properties>
<spring.profiles.active>prod</spring.profiles.active>
</properties>
</profile>
</profiles>
application.properties
[email protected]@