<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:context="http://www.springframework.org/schema/context"
       xsi:schemaLocation="
       http://www.springframework.org/schema/beans
       http://www.springframework.org/schema/beans/spring-beans.xsd
       http://www.springframework.org/schema/context
       http://www.springframework.org/schema/context/spring-context.xsd">

    <beans profile="default">
        <context:property-placeholder
                location="classpath:application.properties,classpath:cron.properties,classpath:messages/message.properties"
                ignore-resource-not-found="true" file-encoding="UTF-8"/>
    </beans>

    <beans profile="dev">
        <context:property-placeholder
                location="classpath:application.properties,classpath:cron.properties,classpath:application-dev.properties,classpath:messages/message.properties"
                ignore-resource-not-found="true" file-encoding="UTF-8"/>
    </beans>

    <beans profile="test">
        <context:property-placeholder
                location="classpath:application.properties,classpath:cron.properties,classpath:application-test.properties,classpath:messages/message.properties"
                ignore-resource-not-found="true" file-encoding="UTF-8"/>
    </beans>

    <beans profile="prod">
        <context:property-placeholder
                location="classpath:application.properties,classpath:cron.properties,classpath:application-prod.properties,classpath:messages/message.properties"
                ignore-resource-not-found="true" file-encoding="UTF-8"/>
    </beans>
</beans>