the basic configurations of flywaydb is working great, i have 2 sets of properties one component specific and another environment specific, I have placed component specific under db/migration(default) and i have environment specific that comes from another dependency component and all those scripts are under folders like
/dev/scripts
/test/scripts
/prod/scripts
how do i pass value to the location property of both db/migration(component specific) and above(env specific) locations dynamically
<bean class="org.flywaydb.core.Flyway" init-method="migrate">
<property name="dataSource" ref="dataSource" />
<property name="locations" value="?" />
<property name="initOnMigrate" value="true" />
</bean>