`I have already running project and trying to introduce liquibase in middle of project. This is spring boot maven based project.
I am following steps.
1.liquibase.properties
url=jdbc:postgresql://localhost:5432/cc
username=postgres
password=deadline123
driver=org.postgresql.Driver
outputChangeLogFile=src/main/resources/db/changelog/db.changelog-master.yaml
runOnChange=true
referenceUrl=jdbc:postgresql://localhost:5432/cc
referenceUsername=postgres
referencePassword=deadline123
changelogFile=src/main/resources/db/changelog/db.changelog-master.yaml
diffChangeLogFile=src/main/resources/diff.yaml
mvn liquibase:generateChangeLog
mvn liquibase:changelogSync
Issue was with file path src/main/resources/db/changelog/db.changelog-master.yaml
liquibase:changelogSync
adds file path as above in log sync and liquibae
on start actually takes classpath
classpath:/db/changelog/db.changelog-master.yaml