title: Error when executing mvn sql:execute
body: <p>I want Maven to execute the sql file, and the database schema it generates will be later used in my program. But it doesn't work, maybe caused by 'DELIMITER'. When I execute 'mvn sql:execute', it prints that</p>
  
  <pre><code>[ERROR] Failed to execute:  DELIMITER $$
  </code></pre>
  
  <p>Here is part of my pom.xml</p>
  
  <pre><code>        &lt;plugin&gt;
              &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;  
              &lt;artifactId&gt;sql-maven-plugin&lt;/artifactId&gt;
              &lt;version&gt;1.5&lt;/version&gt;
              &lt;dependencies&gt;
                  &lt;dependency&gt;
                      &lt;groupId&gt;mysql&lt;/groupId&gt;
                      &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
                      &lt;version&gt;5.1.21&lt;/version&gt;
                  &lt;/dependency&gt;
              &lt;/dependencies&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;id&gt;init-schema&lt;/id&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;site&lt;/goal&gt;
                      &lt;/goals&gt;
                      &lt;phase&gt;deploy&lt;/phase&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
              &lt;configuration&gt;
                  &lt;driver&gt;com.mysql.jdbc.Driver&lt;/driver&gt;
                  &lt;username&gt;root&lt;/username&gt;
                  &lt;password&gt;root&lt;/password&gt;
                  &lt;url&gt;jdbc:mysql://127.0.0.1:3306/?useUnicode=true&amp;amp;characterEncoding=UTF-8&lt;/url&gt;
                  &lt;autocommit&gt;false&lt;/autocommit&gt;
                  &lt;srcFiles&gt;
                      &lt;srcFile&gt;src/main/sql/jellyjolly-schema.sql&lt;/srcFile&gt;
                  &lt;/srcFiles&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
  </code></pre>
  
  <p>Here is part of my sql file</p>
  
  <pre><code>DELIMITER $$
  
  USE `jellyjolly_schema`$$
  DROP TRIGGER IF EXISTS `jellyjolly_schema`.`delete_user` $$
  USE `jellyjolly_schema`$$
  
  
  CREATE TRIGGER delete_user
  AFTER DELETE
  ON jj_users
  FOR EACH ROW
  BEGIN
      ## delete the posts that belong to the user
      DELETE FROM jj_blog_posts WHERE author_user_id=OLD.user_id;
  END
  $$
  </code></pre>
  
  <p>Is it because the keyword 'DELIMITER' is not supported by MySQL Java connector which is invoked by Maven. So how can I solve it?</p>