title: Liquibase changelog not running in spring boot
body: <p>I´m trying to run a springboot api and configure the database using liquibase.</p>
  
  <p>The problem here is I followed all steps described in several tutorial but the changelog is never executed.</p>
  
  <p>The code:</p>
  
  <p>Gradle config:</p>
  
  <pre><code>group = 'com.strixtools'
  version = '0.0.1-SNAPSHOT'
  
  description = """Strix Tools"""
  
  buildscript {
      repositories {
          mavenCentral()
          maven {
              url "https://plugins.gradle.org/m2/"
          }
      }
      dependencies {
           classpath "org.springframework.boot:spring-boot-gradle-plugin:2.1.1.RELEASE"
           classpath "gradle.plugin.com.palantir.gradle.docker:gradle-docker:0.20.1"
      }
   }
  
  group = 'strixtools'
  
  apply plugin: 'java'
  apply plugin: 'idea'
  apply plugin: 'org.springframework.boot'
  apply plugin: 'com.palantir.docker'
  
  bootJar {
      baseName = 'gs-spring-boot-docker'
      version =  '0.1.0'
  }
  
  repositories {
      mavenCentral()
  }
  
  sourceCompatibility = 1.8
  targetCompatibility = 1.8
  
  dependencies {
      configurations.all {
          exclude module: "spring-boot-starter-logging"
          exclude module: "logback-classic"
      }
      compile ('org.springframework.boot:spring-boot-starter:2.1.1.RELEASE')
      compile group: 'org.springframework.boot', name: 'spring-boot-starter-data-jpa', version:'2.1.1.RELEASE'
      compile group: 'org.springframework.boot', name: 'spring-boot-starter-web', version:'2.1.1.RELEASE'
      compile group: 'org.springframework.boot', name: 'spring-boot-devtools', version:'2.1.1.RELEASE'
      compile group: 'org.springframework.boot', name: 'spring-boot-starter-security', version:'2.1.1.RELEASE'
      compile group: 'org.springframework.security.oauth.boot', name: 'spring-security-oauth2-autoconfigure', version: '2.1.1.RELEASE'
      compile group: 'org.apache.commons', name: 'commons-lang3', version:'3.4'
      compile group: 'io.jsonwebtoken', name: 'jjwt', version:'0.9.0'
      compile group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jsr310', version:'2.6.5'
      compile group: 'org.liquibase', name: 'liquibase-core'
      compile group: 'com.h2database', name: 'h2', version:'1.4.196'
      runtime group: 'org.postgresql', name: 'postgresql'
      testCompile(group: 'org.springframework.boot', name: 'spring-boot-starter-test', version:'2.1.1.RELEASE')
  
      compile group: 'org.springframework.boot', name: 'spring-boot-starter-log4j2', version:'2.1.1.RELEASE'
  
  }
  
  task stage {
      dependsOn build
  }
  
  task unpack(type: Copy) {
      dependsOn bootJar
      from(zipTree(tasks.bootJar.outputs.files.singleFile))
      into("build/dependency")
  }
  docker {
      name "${project.group}/${bootJar.baseName}"
      copySpec.from(tasks.unpack.outputs).into("dependency")
      buildArgs(['DEPENDENCY': "dependency"])
  }
  </code></pre>
  
  <p>aplication.yml</p>
  
  <pre><code>strix-api:
     host: https://aaa.com
     client: asdasdasfasdf
     secret: afadsfsdaf
     user: afdadsfsadf
     pass: afadsfsdafsdaf
  
  ---  
  </code></pre>
  
  <p>spring:
        profiles: local</p>
  
  <pre><code>  datasource:
      url: jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
      username: sa
      password:
  
    liquibase:
      change-log: classpath:db/changelog-master.xml
      enabled: true
      drop-first: true
  
    jpa:
      hibernate:
        ddl-auto: none
      show-sql: true
    h2:
      console:
        enabled: true
  </code></pre>
  
  <p>and my SpringAplication class</p>
  
  <pre><code>@SpringBootApplication
  public class StrixToolsApplication {
  
       public static void main(String[] args) {
          SpringApplication.run(StrixToolsApplication.class, args);
      }
  
      //TODO: we should move this to another side
      @Bean(name = "messageSource")
      public ReloadableResourceBundleMessageSource messageSource() {
           ReloadableResourceBundleMessageSource messageBundle = new ReloadableResourceBundleMessageSource();
          messageBundle.setBasename("classpath:messages/messages");
          messageBundle.setDefaultEncoding("UTF-8");
          return messageBundle;
      }
  
  
      @Bean
      public BCryptPasswordEncoder bCryptPasswordEncoder() {
          return new BCryptPasswordEncoder();
      }
  }
  </code></pre>
  
  <p>The problem is liquibase is never executing. If I change the changelog name to anthing else it doesn't even throws an error.</p>
  
  <p>Thanks for your help
  Regards</p>