title: Liquibase : Cannot find base path 'src/main/resources/com/example/database/changelog/v000/master.xml'
body: <p>I am trying to build a liquibase project using maven pluging, but facing some problem using the relativeFile paths, I tried to be near to the best practices defined for liquibase maven project. when I run the mvn liquibase:update, I am getting "Cannont find base path".</p>
  
  <pre><code>src/
  `-- main
      |-- java
      `-- resources
          |-- changelog-1.0.0.xml
          |-- changelog-1.1.0.xml
          |-- changelog-install.xml
          |-- com
          |   `-- obolus
          |       `-- database
          |           `-- changelog
          |               |-- v000
          |               |   |-- cst
          |               |   |   |-- entity_extra_data.xml
          |               |   |   `-- entity.xml
          |               |   |-- master.xml
          |               |   `-- tab
          |               |       |-- company.xml
          |               |       |-- entity_extra_data.xml
          |               |       |-- entity.xml
          |               |       `-- anothertable.xml
          |               `-- v001
          |                   |-- master.xml
          |                   `-- tab
          |                       `-- sample.xml
          |-- lib
          |   |-- ojdbc6-11.2.0.3.jar
          `-- liquibase.properties
  </code></pre>
  
  <p>Content of my pom.xml </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;groupId&gt;com.obolus&lt;/groupId&gt;
      &lt;artifactId&gt;database&lt;/artifactId&gt;
      &lt;version&gt;1.0.0-SNAPSHOT&lt;/version&gt;
      &lt;packaging&gt;jar&lt;/packaging&gt;
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.liquibase&lt;/groupId&gt;
                  &lt;artifactId&gt;liquibase-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;${liquibase.maven.plugin}&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;changeLogFile&gt;src/main/resources/changelog-install.xml&lt;/changeLogFile&gt;
                      &lt;propertyFile&gt;src/main/resources/liquibase.properties&lt;/propertyFile&gt;
                      &lt;logging&gt;${logLevel}&lt;/logging&gt;
                  &lt;/configuration&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;status&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;            
              &lt;/plugin&gt;
          &lt;/plugins&gt;
          &lt;!-- resource filtering --&gt;
          &lt;resources&gt;
              &lt;resource&gt;
                  &lt;directory&gt;src/main/resources&lt;/directory&gt;
                  &lt;filtering&gt;true&lt;/filtering&gt;
              &lt;/resource&gt;
          &lt;/resources&gt;
      &lt;/build&gt;
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.oracle&lt;/groupId&gt;
              &lt;artifactId&gt;ojdbc6&lt;/artifactId&gt;
              &lt;version&gt;${ojdbc.driver.version}&lt;/version&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
      &lt;properties&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
          &lt;maven.compiler.source&gt;1.8&lt;/maven.compiler.source&gt;
          &lt;maven.compiler.target&gt;1.8&lt;/maven.compiler.target&gt;
          &lt;ojdbc.driver.version&gt;11.2.0.3&lt;/ojdbc.driver.version&gt;
          &lt;liquibase.maven.plugin&gt;3.3.2&lt;/liquibase.maven.plugin&gt;
      &lt;logLevel&gt;severe&lt;/logLevel&gt;
      &lt;/properties&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>When i run liquibase:update, i get the following error</p>
  
  <pre><code>DEBUG 4/29/15 4:02 PM: liquibase: Using file opener for includeAll: liquibase.resource.CompositeResourceAccessor(org.liquibase.maven.plugins.MavenResourceAccessor(file:/home/www-data/workspace/database/target/classes/,file:/home/www-data/workspace/database/target/test-classes/,file:/home/www-data/.m2/repository/com/oracle/ojdbc6/11.2.0.3/ojdbc6-11.2.0.3.jar),liquibase.resource.FileSystemResourceAccessor(/home/www-data/workspace/database))
  DEBUG 4/29/15 4:02 PM: liquibase: Release Database Lock
  DEBUG 4/29/15 4:02 PM: liquibase: Executing UPDATE database command: UPDATE DATABASECHANGELOGLOCK SET LOCKED = 0, LOCKEDBY = NULL, LOCKGRANTED = NULL WHERE ID = 1
  INFO 4/29/15 4:02 PM: liquibase: Successfully released change log lock
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 6.111 s
  [INFO] Finished at: 2015-04-29T16:02:15+10:00
  [INFO] Final Memory: 10M/164M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal org.liquibase:liquibase-maven-plugin:3.3.2:update (default-cli) on project database: Error setting up or running Liquibase: liquibase.exception.SetupException: liquibase.exception.SetupException: liquibase.exception.SetupException: Cannot find base path 'src/main/resources/com/example/database/changelog/v000/master.xml' -&gt; [Help 1]
  </code></pre>
  
  <p>Any idea where I am wrong.</p>