title: Unable to generate hbm2ddl using hibernate3-maven-plugin-3.0
body: <p>I have updated to a newer version of hibernate3-maven-plugin. I get the following error trying to use the plugin mentioned below.</p>
  
  <p>Would appreciate any pointers in resolving this issue.</p>
  
  <pre><code>&lt;plugin&gt;
      &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
      &lt;artifactId&gt;hibernate3-maven-plugin&lt;/artifactId&gt;
      &lt;version&gt;3.0&lt;/version&gt;
  
      &lt;executions&gt;
          &lt;execution&gt;
              &lt;id&gt;create sql schema&lt;/id&gt;
              &lt;phase&gt;process-test-resources&lt;/phase&gt;
              &lt;goals&gt;
                  &lt;goal&gt;hbm2ddl&lt;/goal&gt;
              &lt;/goals&gt;
              &lt;configuration&gt;
                  &lt;componentProperties&gt;
                      &lt;persistenceunit&gt;${app.module}&lt;/persistenceunit&gt;
                      &lt;drop&gt;false&lt;/drop&gt;
                      &lt;create&gt;true&lt;/create&gt;
                      &lt;outputfilename&gt;${app.sql}-create.sql&lt;/outputfilename&gt;
                      &lt;skip&gt;${db.schema.gen.skip}&lt;/skip&gt;
                  &lt;/componentProperties&gt;
              &lt;/configuration&gt;
          &lt;/execution&gt;
  
          &lt;execution&gt;
              &lt;id&gt;drop sql schema&lt;/id&gt;
              &lt;phase&gt;process-test-resources&lt;/phase&gt;
              &lt;goals&gt;
                  &lt;goal&gt;hbm2ddl&lt;/goal&gt;
              &lt;/goals&gt;
              &lt;configuration&gt;
                  &lt;componentProperties&gt;
                      &lt;persistenceunit&gt;${app.module}&lt;/persistenceunit&gt;
                      &lt;drop&gt;true&lt;/drop&gt;
                      &lt;create&gt;false&lt;/create&gt;
                      &lt;outputfilename&gt;${app.sql}-drop.sql&lt;/outputfilename&gt;
                      &lt;skip&gt;${db.schema.gen.skip}&lt;/skip&gt;
                  &lt;/componentProperties&gt;
              &lt;/configuration&gt;
          &lt;/execution&gt;
      &lt;/executions&gt;
  &lt;/plugin&gt;
  
  [ERROR] Failed to execute goal org.codehaus.mojo:hibernate3-maven-plugin:3.0:hbm2ddl (create sql schema) on project sample: There was an error creating the AntRun task. NullPointerException -&gt; [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:hibernate3-maven-plugin:3.0:hbm2ddl (create sql schema) on project framework: There was an error creating the AntRun task.
  </code></pre>