title: Liquibase maven: Cannot find changelog location when spring-boot starts
body: <p>My liquibase maven plugin configuration is:</p>
  
  <pre><code>&lt;plugin&gt;
      &lt;groupId&gt;org.liquibase&lt;/groupId&gt;
      &lt;artifactId&gt;liquibase-maven-plugin&lt;/artifactId&gt;
      &lt;version&gt;${liquibase.version}&lt;/version&gt;
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.postgresql&lt;/groupId&gt;
              &lt;artifactId&gt;postgresql&lt;/artifactId&gt;
              &lt;version&gt;${postgresql.version}&lt;/version&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
      &lt;configuration&gt;
          &lt;skip&gt;${liquibase.skip}&lt;/skip&gt;
          &lt;propertyFileWillOverride&gt;true&lt;/propertyFileWillOverride&gt;
          &lt;changeLogFile&gt;src/main/resources/db.changelog-master.xml&lt;/changeLogFile&gt;
          &lt;propertyFile&gt;src/main/resources/${project.artifactId}-liquibase.properties&lt;/propertyFile&gt;
          &lt;promptOnNonLocalDatabase&gt;false&lt;/promptOnNonLocalDatabase&gt;
      &lt;/configuration&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>I'm getting this error message when I start my spring-boot:</p>
  
  <blockquote>
    <p>org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure.liquibase.LiquibaseAutoConfiguration$LiquibaseConfiguration': Invocation of init method failed; nested exception is java.lang.IllegalStateException: Cannot find changelog location: class path resource [db/changelog/db.changelog-master.yaml] (please add changelog or check your Liquibase configuration)</p>
  </blockquote>
  
  <p>I don't quite figure out why liquibase is trying to pick this changelog file <code>db/changelog/db.changelog-master.yaml</code> when I've set:</p>
  
  <pre><code>&lt;changeLogFile&gt;src/main/resources/db.changelog-master.xml&lt;/changeLogFile&gt;
  </code></pre>
  
  <p>My changelog:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog                     
      http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd"&gt;
  
      &lt;changeSet author="ddd" id="tdev-forum-service-1"
          context="dev, int, rel" labels="tdev-forum-service"&gt;
          &lt;createTable tableName="TDEV_FORUM" remarks="Discussions about shared code"&gt;
              &lt;column name="FORUM_ID" type="VARCHAR(36)"&gt;
                  &lt;constraints nullable="false" primaryKey="true" /&gt;
              &lt;/column&gt;
  
              &lt;column name="TOPIC_NAME" type="VARCHAR(128)"&gt;
                  &lt;constraints nullable="false" /&gt;
              &lt;/column&gt;
  
              &lt;column name="TOPIC_CATEGORY" type="VARCHAR(32)"&gt;
                  &lt;constraints nullable="false" /&gt;
              &lt;/column&gt;
  
              &lt;column name="SOURCE_CODE_ITEM_ID" type="VARCHAR(36)"&gt;
                  &lt;constraints nullable="false" /&gt;
              &lt;/column&gt;
  
          &lt;/createTable&gt;
  
      &lt;/changeSet&gt;
  
  
  
      &lt;changeSet author="ddd" id="tdev-forum-service-2"
          context="dev" labels="tdev-forum-service"&gt;
  
          &lt;insert tableName="TDEV_FORUM"&gt;
              &lt;column name="FORUM_ID" value="36afbfcd-969d-4a0e-9d63-25bd9d4e8f6b" /&gt;
              &lt;column name="TOPIC_NAME" value="How to read a text file using streams" /&gt;
              &lt;column name="TOPIC_CATEGORY" value="I/O Streams" /&gt;
              &lt;column name="SOURCE_CODE_ITEM_ID" value="4600eab2-c375-4b99-97ab-9670ed93f861" /&gt;
          &lt;/insert&gt;
  
          &lt;rollback&gt;
              &lt;delete tableName="TDEV_FORUM"&gt;
                  &lt;where&gt;FORUM_ID='36afbfcd-969d-4a0e-9d63-25bd9d4e8f6b'&lt;/where&gt;
              &lt;/delete&gt;
          &lt;/rollback&gt;
      &lt;/changeSet&gt;
  
  
  
      &lt;changeSet author="ddd" id="tdev-forum-service-3"
          context="dev, int, rel" labels="tdev-forum-service"&gt;
          &lt;createTable tableName="TDEV_FORUM_MESSAGE" remarks="Messages from developers"&gt;
              &lt;column name="MESSAGE_ID" type="VARCHAR(36)"&gt;
                  &lt;constraints nullable="false" primaryKey="true" /&gt;
              &lt;/column&gt;
  
              &lt;column name="FORUM_ID" type="VARCHAR(36)"&gt;
                  &lt;constraints nullable="false" /&gt;
              &lt;/column&gt;
  
              &lt;column name="CONTENT" type="TEXT"&gt;
                  &lt;constraints nullable="true" /&gt;
              &lt;/column&gt;
  
          &lt;/createTable&gt;
  
      &lt;/changeSet&gt;
  
      &lt;changeSet author="sdd" id="tdev-forum-service-4"
          context="dev, int, rel" labels="tdev-forum-service"&gt;
  
          &lt;addForeignKeyConstraint baseColumnNames="FORUM_ID"
              baseTableName="TDEV_FORUM_MESSAGE" constraintName="FK_MESSAGE_FORUM"
              deferrable="true" initiallyDeferred="true" onDelete="CASCADE"
              onUpdate="RESTRICT" referencedColumnNames="FORUM_ID"
              referencedTableName="TDEV_FORUM" /&gt;
      &lt;/changeSet&gt;
  
  &lt;/databaseChangeLog&gt;
  </code></pre>