title: liquibase plugin errors using maven
body: <p>Hi i'm new to liquibase , and i'm importing an existing project after compile it i get this build failure , i can't understand the cause and the solution i'm trying to understand the code but i really find problem to do it .</p>
  
  <p>this is the result after running <code>mvn compile</code></p>
  
  <pre><code>[INFO] Scanning for projects...
  [WARNING] 
  [WARNING] Some problems were encountered while building the effective model for org.squashtest.tm:squashtest-csp-distribution:pom:1.2.0.RELEASE
  [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: ${project.groupId}:org.squashtest.csp.core.log4j:jar -&gt; duplicate declaration of version ${project.version} @ line 419, column 17
  [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: ${project.groupId}:org.squashtest.csp.core.jetty.start.osgi:jar -&gt; duplicate declaration of version ${project.version} @ line 424, column 17
  [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: ${project.groupId}:org.squashtest.csp.core.service:jar -&gt; duplicate declaration of version ${project.version} @ line 450, column 17
  [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: ${project.groupId}:squashtest-csp-launcher:jar -&gt; duplicate declaration of version ${project.version} @ line 455, column 17
  [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: ${project.groupId}:org.squashtest.csp.tm.web:war -&gt; duplicate declaration of version ${project.version} @ line 461, column 17
  [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: ${project.groupId}:org.squashtest.csp.tm.service:jar -&gt; duplicate declaration of version ${project.version} @ line 467, column 17
  [WARNING] 'profiles.profile[build-mysql].plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.codehaus.mojo:sql-maven-plugin @ line 682, column 15
  [WARNING] 'profiles.profile[build-mysql].plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.liquibase:liquibase-maven-plugin @ line 724, column 15
  [WARNING] 
  [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
  [WARNING] 
  [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
  [WARNING] 
  [INFO]                                                                         
  [INFO] ------------------------------------------------------------------------
  [INFO] Building squashtest-tm-distribution 1.2.0.RELEASE
  [INFO] ------------------------------------------------------------------------
  [WARNING] Failed to retrieve plugin descriptor for org.codehaus.izpack:izpack-maven-plugin:1.0-alpha-5: Plugin org.codehaus.izpack:izpack-maven-plugin:1.0-alpha-5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.codehaus.izpack:izpack-maven-plugin:jar:1.0-alpha-5
  [INFO] 
  [INFO] --- liquibase-maven-plugin:2.0.1:update (default-cli) @ squashtest-csp-distribution ---
  [INFO] ------------------------------------------------------------------------
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 2:12.500s
  [INFO] Finished at: Fri Jul 13 10:25:08 GMT+01:00 2012
  [INFO] Final Memory: 8M/19M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal org.liquibase:liquibase-maven-plugin:2.0.1:update (default-cli) on project squashtest-csp-distribution: The driver has not been specified either as a parameter or in a properties file. -&gt; [Help 1]**
  [ERROR] 
  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  [ERROR] 
  [ERROR] For more information about the errors and possible solutions, please read the following articles:
  [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  </code></pre>
  
  <p>Here's the pom.xml liquibase part :</p>
  
  <pre><code> &lt;!-- We first run a full install against MySQL --&gt;
    &lt;plugin&gt;
      &lt;groupId&gt;org.liquibase&lt;/groupId&gt;
      &lt;artifactId&gt;liquibase-maven-plugin&lt;/artifactId&gt;
      &lt;configuration&gt;
        &lt;skip&gt;${mysql.distro.skip}&lt;/skip&gt;
      &lt;/configuration&gt;
      &lt;executions&gt;
        &lt;execution&gt;
          &lt;id&gt;generate-mysql-full-install-script&lt;/id&gt;
          &lt;phase&gt;process-resources&lt;/phase&gt;
          &lt;goals&gt;
            &lt;goal&gt;updateSQL&lt;/goal&gt;
          &lt;/goals&gt;
          &lt;configuration&gt;
            &lt;dropFirst&gt;true&lt;/dropFirst&gt;
            &lt;changeLogFile&gt;${master.changelog}&lt;/changeLogFile&gt;
            &lt;driver&gt;com.mysql.jdbc.Driver&lt;/driver&gt;
            &lt;url&gt;${liquibase.mysql.url}&lt;/url&gt;
            &lt;username&gt;${liquibase.mysql.username}&lt;/username&gt;
            &lt;password&gt;${liquibase.mysql.password}&lt;/password&gt;
            &lt;migrationSqlOutputFile&gt;${database.script.directory}/mysql-full-install-
  
          version-${project.version}.sql&lt;/migrationSqlOutputFile&gt;
          &lt;/configuration&gt;
        &lt;/execution&gt;
      &lt;/executions&gt;
    &lt;/plugin&gt;
  
          &lt;!-- We now run an incremental install against MySQL --&gt;
    &lt;plugin&gt;
      &lt;groupId&gt;org.liquibase&lt;/groupId&gt;
      &lt;artifactId&gt;liquibase-maven-plugin&lt;/artifactId&gt;
      &lt;configuration&gt;
        &lt;skip&gt;${mysql.distro.skip}&lt;/skip&gt;
      &lt;/configuration&gt;
      &lt;executions&gt;
        &lt;execution&gt;
          &lt;id&gt;generate-mysql-0.15.0-script&lt;/id&gt;
          &lt;phase&gt;prepare-package&lt;/phase&gt;
          &lt;goals&gt;
            &lt;goal&gt;updateSQL&lt;/goal&gt;
          &lt;/goals&gt;
          &lt;configuration&gt;
            &lt;dropFirst&gt;true&lt;/dropFirst&gt;
            &lt;changeLogFile&gt;${upgrade.0.15.0.changelog}&lt;/changeLogFile&gt;
            &lt;driver&gt;com.mysql.jdbc.Driver&lt;/driver&gt;
            &lt;url&gt;${liquibase.mysql.url}&lt;/url&gt;
            &lt;username&gt;${liquibase.mysql.username}&lt;/username&gt;
            &lt;password&gt;${liquibase.mysql.password}&lt;/password&gt;
            &lt;migrationSqlOutputFile&gt;${database.script.directory}/mysql-upgrade-
             to-0.15.0.sql&lt;/migrationSqlOutputFile&gt;
          &lt;/configuration&gt;
        &lt;/execution&gt;
  
        &lt;execution&gt;
          &lt;id&gt;generate-mysql-0.17.0-script&lt;/id&gt;
          &lt;phase&gt;prepare-package&lt;/phase&gt;
          &lt;goals&gt;
            &lt;goal&gt;updateSQL&lt;/goal&gt;
          &lt;/goals&gt;
          &lt;configuration&gt;
            &lt;dropFirst&gt;false&lt;/dropFirst&gt;
            &lt;changeLogFile&gt;${upgrade.0.17.0.changelog}&lt;/changeLogFile&gt;
            &lt;driver&gt;com.mysql.jdbc.Driver&lt;/driver&gt;
            &lt;url&gt;${liquibase.mysql.url}&lt;/url&gt;
            &lt;username&gt;${liquibase.mysql.username}&lt;/username&gt;
            &lt;password&gt;${liquibase.mysql.password}&lt;/password&gt;
            &lt;migrationSqlOutputFile&gt;${database.script.directory}/mysql-upgrade-
             to-0.17.0.sql&lt;/migrationSqlOutputFile&gt;
          &lt;/configuration&gt;
        &lt;/execution&gt;
  
        &lt;execution&gt;
          &lt;id&gt;generate-mysql-0.20.0-script&lt;/id&gt;
          &lt;phase&gt;prepare-package&lt;/phase&gt;
          &lt;goals&gt;
            &lt;goal&gt;updateSQL&lt;/goal&gt;
          &lt;/goals&gt;
          &lt;configuration&gt;
            &lt;dropFirst&gt;false&lt;/dropFirst&gt;
            &lt;changeLogFile&gt;${upgrade.0.20.0.changelog}&lt;/changeLogFile&gt;
            &lt;driver&gt;com.mysql.jdbc.Driver&lt;/driver&gt;
            &lt;url&gt;${liquibase.mysql.url}&lt;/url&gt;
            &lt;username&gt;${liquibase.mysql.username}&lt;/username&gt;
            &lt;password&gt;${liquibase.mysql.password}&lt;/password&gt;
            &lt;migrationSqlOutputFile&gt;${database.script.directory}/mysql-upgrade-
             to-0.20.0.sql&lt;/migrationSqlOutputFile&gt;
          &lt;/configuration&gt;
        &lt;/execution&gt;
  
        &lt;execution&gt;
          &lt;id&gt;generate-mysql-0.23.0-script&lt;/id&gt;
          &lt;phase&gt;prepare-package&lt;/phase&gt;
          &lt;goals&gt;
            &lt;goal&gt;updateSQL&lt;/goal&gt;
          &lt;/goals&gt;
          &lt;configuration&gt;
            &lt;dropFirst&gt;false&lt;/dropFirst&gt;
            &lt;changeLogFile&gt;${upgrade.0.23.0.changelog}&lt;/changeLogFile&gt;
            &lt;driver&gt;com.mysql.jdbc.Driver&lt;/driver&gt;
            &lt;url&gt;${liquibase.mysql.url}&lt;/url&gt;
            &lt;username&gt;${liquibase.mysql.username}&lt;/username&gt;
            &lt;password&gt;${liquibase.mysql.password}&lt;/password&gt;
            &lt;migrationSqlOutputFile&gt;${database.script.directory}/mysql-upgrade-
            to-0.23.0.sql&lt;/migrationSqlOutputFile&gt;
          &lt;/configuration&gt;
        &lt;/execution&gt;
  
        &lt;execution&gt;
          &lt;id&gt;generate-mysql-1.1.0-script&lt;/id&gt;
          &lt;phase&gt;prepare-package&lt;/phase&gt;
          &lt;goals&gt;
            &lt;goal&gt;updateSQL&lt;/goal&gt;
          &lt;/goals&gt;
          &lt;configuration&gt;
            &lt;dropFirst&gt;false&lt;/dropFirst&gt;
            &lt;changeLogFile&gt;${upgrade.1.1.0.changelog}&lt;/changeLogFile&gt;
            &lt;driver&gt;com.mysql.jdbc.Driver&lt;/driver&gt;
            &lt;url&gt;${liquibase.mysql.url}&lt;/url&gt;
            &lt;username&gt;${liquibase.mysql.username}&lt;/username&gt;
            &lt;password&gt;${liquibase.mysql.password}&lt;/password&gt;
            &lt;migrationSqlOutputFile&gt;${database.script.directory}/mysql-upgrade-
             to-1.1.0.sql&lt;/migrationSqlOutputFile&gt;
          &lt;/configuration&gt;
        &lt;/execution&gt;
  
        &lt;execution&gt;
          &lt;id&gt;generate-mysql-1.1.1-script&lt;/id&gt;
          &lt;phase&gt;prepare-package&lt;/phase&gt;
          &lt;goals&gt;
            &lt;goal&gt;updateSQL&lt;/goal&gt;
          &lt;/goals&gt;
          &lt;configuration&gt;
            &lt;dropFirst&gt;false&lt;/dropFirst&gt;
            &lt;changeLogFile&gt;${upgrade.1.1.1.changelog}&lt;/changeLogFile&gt;
            &lt;driver&gt;com.mysql.jdbc.Driver&lt;/driver&gt;
            &lt;url&gt;${liquibase.mysql.url}&lt;/url&gt;
            &lt;username&gt;${liquibase.mysql.username}&lt;/username&gt;
            &lt;password&gt;${liquibase.mysql.password}&lt;/password&gt;
            &lt;migrationSqlOutputFile&gt;${database.script.directory}/mysql-upgrade- 
  
             to-1.1.1.sql&lt;/migrationSqlOutputFile&gt;
          &lt;/configuration&gt;
        &lt;/execution&gt;
        &lt;execution&gt;
          &lt;id&gt;generate-mysql-1.2.0-script&lt;/id&gt;
          &lt;phase&gt;prepare-package&lt;/phase&gt;
          &lt;goals&gt;
            &lt;goal&gt;updateSQL&lt;/goal&gt;
          &lt;/goals&gt;
          &lt;configuration&gt;
            &lt;dropFirst&gt;false&lt;/dropFirst&gt;
            &lt;changeLogFile&gt;${upgrade.1.2.0.changelog}&lt;/changeLogFile&gt;
            &lt;driver&gt;com.mysql.jdbc.Driver&lt;/driver&gt;
            &lt;url&gt;${liquibase.mysql.url}&lt;/url&gt;
            &lt;username&gt;${liquibase.mysql.username}&lt;/username&gt;
            &lt;password&gt;${liquibase.mysql.password}&lt;/password&gt;
            &lt;migrationSqlOutputFile&gt;${database.script.directory}/mysql-upgrade-
            to-${squashTmVersion}.sql&lt;/migrationSqlOutputFile&gt;
          &lt;/configuration&gt;
        &lt;/execution&gt;
      &lt;/executions&gt;
     &lt;/plugin&gt;
  </code></pre>