title: Why is class not in classpath inside gmaven-plugin script?
body: <p>This is my <code>pom.xml</code>:</p>
  
  <pre><code>&lt;project&gt;
    [...]
    &lt;build&gt;
      &lt;plugins&gt;
        &lt;plugin&gt;
          &lt;groupId&gt;org.codehaus.gmaven&lt;/groupId&gt;
          &lt;artifactId&gt;gmaven-plugin&lt;/artifactId&gt;
          &lt;version&gt;1.3&lt;/version&gt;
          &lt;executions&gt;
            &lt;execution&gt;
              &lt;phase&gt;generate-test-resources&lt;/phase&gt;
              &lt;goals&gt;
                &lt;goal&gt;execute&lt;/goal&gt;
              &lt;/goals&gt;
              &lt;configuration&gt;
                &lt;classpath&gt;
                  &lt;element&gt;
                    &lt;groupId&gt;hsqldb&lt;/groupId&gt;
                    &lt;artifactId&gt;hsqldb&lt;/artifactId&gt;
                    &lt;version&gt;1.8.0.10&lt;/version&gt;
                  &lt;/element&gt;
                &lt;/classpath&gt;
                &lt;source&gt;
                  Class.forName("org.hsqldb.jdbcDriver")
                &lt;/source&gt;
              &lt;/configuration&gt;
            &lt;/execution&gt;
          &lt;/executions&gt;
        &lt;/plugin&gt;
      &lt;/plugins&gt;
    &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>$ mvn test
  [INFO] Scanning for projects...
  ...
  [INFO] --- gmaven-plugin:1.3:execute (default) @ foo ---
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 5.866s
  [INFO] Finished at: Sun May 08 17:53:13 PDT 2011
  [INFO] Final Memory: 7M/1531M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal org.codehaus.gmaven:gmaven-plugin:1.3:execute 
  (default) on project foo: java.lang.ClassNotFoundException: 
  org.hsqldb.jdbcDriver -&gt; [Help 1]
  ...
  </code></pre>
  
  <p>Why this class in not in classpath?</p>