Tag: dynamicbuild

  • How to populate application properties dynamically in Spring Boot?

    Assumption: Maven is used to build the spring boot project Let’s say you want to populate application.properties dynamically while building the project in Spring Boot. You can fetch those properties from various sources like: pom.xml an external file System properties settings xml of Maven To accomplish this , define the properties in application.properties like this…