title: Liquibase maven diff not showing differences
body: <p>I have just started using Liquibase, and wanted to use the maven plugin to show differences between two different databases (which I know for a fact are different because I have created a random table called 'wallawalla' in one of them) but Liquibase diff is showing no results.</p>
  
  <p>Here is my pom.xml:</p>
  
  <pre><code>    &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.me&lt;/groupId&gt;
          &lt;artifactId&gt;databasechecker&lt;/artifactId&gt;
          &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&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;3.2.2&lt;/version&gt;
                      &lt;configuration&gt;
                          &lt;propertyFile&gt;liquibase.properties&lt;/propertyFile&gt;
                      &lt;/configuration&gt;
  
                      &lt;dependencies&gt;
                          &lt;dependency&gt;
                              &lt;groupId&gt;org.liquibase.ext&lt;/groupId&gt;
                              &lt;artifactId&gt;liquibase-hibernate3&lt;/artifactId&gt;
                              &lt;version&gt;3.4&lt;/version&gt;
                          &lt;/dependency&gt;
                          &lt;dependency&gt;
                              &lt;groupId&gt;org.liquibase&lt;/groupId&gt;
                              &lt;artifactId&gt;liquibase-core&lt;/artifactId&gt;
                              &lt;version&gt;3.2.2&lt;/version&gt;
                          &lt;/dependency&gt;
                      &lt;/dependencies&gt;
                  &lt;/plugin&gt;
              &lt;/plugins&gt;
          &lt;/build&gt;
      &lt;/project&gt;
  </code></pre>
  
  <p>Here is my liquibase.properties:</p>
  
  <pre><code>    changeLogFile=changelog-master.xml
  
      url=jdbc:oracle:thin:@xxxxxx.com:1521:ORCL
      driver=oracle.jdbc.driver.OracleDriver
      username=synch_dev
      password=xxxxxx
  
  
      referenceUrl=jdbc:mysql://localhost:3306/test
      referenceDriver=com.mysql.jdbc.Driver
      referenceUsername=root
      referencePassword=xxxxxx
  </code></pre>
  
  <p>And then I run:</p>
  
  <pre><code>    c:\Dev\eclipseworkspace\databasechecker&gt;mvn liquibase:diff
  </code></pre>
  
  <p>But it doesn't show the changes:</p>
  
  <pre><code>    Diff Results:
      Reference Database: root@localhost @ jdbc:mysql://localhost:3306/test (Default Schema: test)
      Comparison Database: SYNCH_DEV @ jdbc:oracle:thin:@xxxxxx:1521:ORCL (Default Schema: SYNCH_DEV)
      Product Name:
           Reference:   'MySQL'
           Target: 'Oracle'
      Product Version:
           Reference:   '5.6.11'
           Target: 'Oracle Database 11g Release 11.2.0.2.0 - 64bit Production'
      Missing Catalog(s): NONE
      Unexpected Catalog(s): NONE
      Changed Catalog(s): NONE
      Missing Column(s): NONE
      Unexpected Column(s): NONE
      Changed Column(s): NONE
      Missing Foreign Key(s): NONE
      Unexpected Foreign Key(s): NONE
      Changed Foreign Key(s): NONE
      Missing Index(s): NONE
      Unexpected Index(s): NONE
      Changed Index(s): NONE
      Missing Primary Key(s): NONE
      Unexpected Primary Key(s): NONE
      Changed Primary Key(s): NONE
      Missing Schema(s): NONE
      Unexpected Schema(s): NONE
      Changed Schema(s): NONE
      Missing Sequence(s): NONE
      Unexpected Sequence(s): NONE
      Changed Sequence(s): NONE
      Missing Stored Procedure(s): NONE
      Unexpected Stored Procedure(s): NONE
      Changed Stored Procedure(s): NONE
      Missing Table(s): NONE
      Unexpected Table(s): NONE
      Changed Table(s): NONE
      Missing Unique Constraint(s): NONE
      Unexpected Unique Constraint(s): NONE
      Changed Unique Constraint(s): NONE
      Missing View(s): NONE
      Unexpected View(s): NONE
      Changed View(s): NONE
      [INFO] ------------------------------------------------------------------------
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESSFUL
      [INFO] ------------------------------------------------------------------------
  </code></pre>
  
  <p>Any ideas how I can get it to show my diffs?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>The diffs work fine when I call liquibase directly using liquibase.bat on the command line, with the properties from the liquibase.properties file passed as parameters to the command. So is it a bug with the maven plugin, or have I configured it incorrectly?</p>