Liquibase runs on start-up in springboot application and executes all the new changeSets.
When i run mvn liquibase:update without any changes in changeLog file, it runs all the changesets again and throws liquibase.exception.DatabaseException since the table already exists.
The changeSet does not get executed when i re-run the application.
When i update changeSet using maven command before running the application, it works as expected. But if i run application after executing mvn liquibase:update command it runs the changesSet again and throws error
mvn liquibase:history command shows all the executed changeSets which got executed on start-up.
mvn liquibase:rollbackSQL --Dliquibase.rollbackCount=1 does not generate the expected rollback sql file.
mvn liquibase:rollback --Dliquibase.rollbackCount=1 command does not behave as expected
Has anyone encountered this? Do you have a suggestion on how to solve this?