title: jOOQ codegen maven plugin error with 3.4.1 but not with 3.1.0
body: <p>I'm migrating a project from jOOQ 3.1.0 to jOOQ 3.4.1. I changed the jooq.version property in the pom file, launched a build, and got this error:</p>
  
  <pre><code>[WARNING] Error injecting: org.jooq.util.maven.Plugin java.lang.NoClassDefFoundError: Lorg/jooq/util/jaxb/Jdbc;
  </code></pre>
  
  <p>I have tried <a href="https://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException" rel="nofollow">deleting the local dependencies and the nexus dependencies</a>, but the error persists. If I change to jOOQ 3.1.0 the error disappears.</p>
  
  <p>Any suggestions?</p>
  
  <p>This is the output with <strong>jOOQ 3.4.1</strong>:</p>
  
  <pre><code>[INFO] Scanning for projects...
  [INFO]                                                                         
  [INFO] ------------------------------------------------------------------------
  [INFO] Building myProject-module 1.0.6-SNAPSHOT
  [INFO] ------------------------------------------------------------------------
  [INFO] 
  [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ myProject-module ---
  [INFO] Deleting D:\myWorkspace\common\myProject-module\target
  [INFO] 
  [INFO] --- gwt-maven-plugin:2.5.1:generateAsync (default) @ myProject-module ---
  [INFO] 
  [INFO] --- jooq-codegen-maven:3.4.1:generate (default) @ myProject-module ---
  [WARNING] Error injecting: org.jooq.util.maven.Plugin
  java.lang.NoClassDefFoundError: Lorg/jooq/util/jaxb/Jdbc;
      at java.lang.Class.getDeclaredFields0(Native Method)
      at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
      at java.lang.Class.getDeclaredFields(Class.java:1743)
      at com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoint.java:661)
      at com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:366)
      at com.google.inject.internal.ConstructorBindingImpl.getInternalDependencies(ConstructorBindingImpl.java:165)
      at com.google.inject.internal.InjectorImpl.getInternalDependencies(InjectorImpl.java:609)
      at com.google.inject.internal.InjectorImpl.cleanup(InjectorImpl.java:565)
      at com.google.inject.internal.InjectorImpl.initializeJitBinding(InjectorImpl.java:551)
      at com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:865)
      at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:790)
      at com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:278)
      at com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:210)
      at com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:986)
      at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1019)
      at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:982)
      at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1032)
      at org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)
      at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)
      at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55)
      at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)
      at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)
      at org.eclipse.sisu.plexus.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:133)
      at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:109)
      at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
      at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)
      at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47)
      at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)
      at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1047)
      at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)
      at com.google.inject.Scopes$1$1.get(Scopes.java:59)
      at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82)
      at org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
      at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:260)
      at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:252)
      at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:462)
      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:119)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
      at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
      at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
      at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 1.275 s
  [INFO] Finished at: 2014-07-21T17:20:21+02:00
  [INFO] Final Memory: 7M/13M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal org.jooq:jooq-codegen-maven:3.4.1:generate (default) on project myProject-module: Execution default of goal org.jooq:jooq-codegen-maven:3.4.1:generate failed: A required class was missing while executing org.jooq:jooq-codegen-maven:3.4.1:generate: Lorg/jooq/util/jaxb/Jdbc;
  [ERROR] -----------------------------------------------------
  [ERROR] realm =    plugin&gt;org.jooq:jooq-codegen-maven:3.4.1
  [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
  [ERROR] urls[0] = file:/D:/myWorkspace/.m2/repository/org/jooq/jooq-codegen-maven/3.4.1/jooq-codegen-maven-3.4.1.jar
  [ERROR] urls[1] = file:/D:/myWorkspace/.m2/repository/com/oracle/ojdbc6/11.2.0.3/ojdbc6-11.2.0.3.jar
  [ERROR] urls[2] = file:/D:/myWorkspace/.m2/repository/javax/xml/bind/jaxb-api/2.2.7/jaxb-api-2.2.7.jar
  [ERROR] urls[3] = file:/D:/myWorkspace/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
  [ERROR] Number of foreign imports: 1
  [ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
  [ERROR] 
  [ERROR] -----------------------------------------------------
  [ERROR] -&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/PluginContainerException
  </code></pre>
  
  <p>This is the output with <strong>jOOQ 3.1.0</strong>:</p>
  
  <pre><code>[INFO] Scanning for projects...
  [INFO]                                                                         
  [INFO] ------------------------------------------------------------------------
  [INFO] Building myProject-module 1.0.6-SNAPSHOT
  [INFO] ------------------------------------------------------------------------
  [INFO] 
  ..
  [INFO] 
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD SUCCESS
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 15.711 s
  [INFO] Finished at: 2014-07-21T17:48:05+02:00
  [INFO] Final Memory: 10M/54M
  [INFO] ------------------------------------------------------------------------
  </code></pre>
  
  <p>And finally this is my <strong>pom file</strong>:</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;myGroupId&lt;/groupId&gt;
      &lt;artifactId&gt;myProject-module&lt;/artifactId&gt;
      &lt;version&gt;1.0.6-SNAPSHOT&lt;/version&gt;
      &lt;packaging&gt;jar&lt;/packaging&gt;
  
      &lt;name&gt;myProject-module&lt;/name&gt;
      &lt;url&gt;http://maven.apache.org&lt;/url&gt;
  
      &lt;scm&gt;
          &lt;connection&gt;XXXXX&lt;/connection&gt;
      &lt;/scm&gt;
      &lt;distributionManagement&gt;
          &lt;repository&gt;
              &lt;id&gt;nexus-releases&lt;/id&gt;
              &lt;url&gt;http://XXXXXX&lt;/url&gt;
          &lt;/repository&gt;
      &lt;/distributionManagement&gt;
  
  
      &lt;repositories&gt;
          &lt;repository&gt;
              &lt;id&gt;sonatype&lt;/id&gt;
              &lt;url&gt;http://oss.sonatype.org/content/repositories/snapshots&lt;/url&gt;
              &lt;snapshots&gt;
                  &lt;enabled&gt;true&lt;/enabled&gt;
              &lt;/snapshots&gt;
              &lt;releases&gt;
                  &lt;enabled&gt;false&lt;/enabled&gt;
              &lt;/releases&gt;
          &lt;/repository&gt;
      &lt;/repositories&gt;
  
      &lt;properties&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
          &lt;gwt.version&gt;2.5.1&lt;/gwt.version&gt;
          &lt;guava.version&gt;15.0&lt;/guava.version&gt;
          &lt;spring.version&gt;3.2.4.RELEASE&lt;/spring.version&gt;
          &lt;spring.security.version&gt;3.1.4.RELEASE&lt;/spring.security.version&gt;
          &lt;jooq.version&gt;3.4.1&lt;/jooq.version&gt;
          &lt;common.gwt.version&gt;1.0.6&lt;/common.gwt.version&gt;
  
      &lt;/properties&gt;
  
  
      &lt;dependencies&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;myGroupId&lt;/groupId&gt;
              &lt;artifactId&gt;myProject-gwt-common&lt;/artifactId&gt;
              &lt;version&gt;${common.gwt.version}&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;net.sf.gwt-widget&lt;/groupId&gt;
              &lt;artifactId&gt;gwt-sl&lt;/artifactId&gt;
              &lt;version&gt;1.1&lt;/version&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                      &lt;artifactId&gt;spring-webmvc&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-webmvc&lt;/artifactId&gt;
              &lt;version&gt;${spring.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-web&lt;/artifactId&gt;
              &lt;version&gt;${spring.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.security&lt;/groupId&gt;
              &lt;artifactId&gt;spring-security-web&lt;/artifactId&gt;
              &lt;version&gt;${spring.security.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.security&lt;/groupId&gt;
              &lt;artifactId&gt;spring-security-core&lt;/artifactId&gt;
              &lt;version&gt;${spring.security.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.security&lt;/groupId&gt;
              &lt;artifactId&gt;spring-security-config&lt;/artifactId&gt;
              &lt;version&gt;${spring.security.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-test&lt;/artifactId&gt;
              &lt;version&gt;${spring.version}&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.oracle&lt;/groupId&gt;
              &lt;artifactId&gt;ojdbc6&lt;/artifactId&gt;
              &lt;version&gt;11.2.0.3&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.google.guava&lt;/groupId&gt;
              &lt;artifactId&gt;guava&lt;/artifactId&gt;
              &lt;version&gt;${guava.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.google.guava&lt;/groupId&gt;
              &lt;artifactId&gt;guava-gwt&lt;/artifactId&gt;
              &lt;version&gt;${guava.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.projectlombok&lt;/groupId&gt;
              &lt;artifactId&gt;lombok&lt;/artifactId&gt;
              &lt;version&gt;0.12.0&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.google.gwt&lt;/groupId&gt;
              &lt;artifactId&gt;gwt-servlet&lt;/artifactId&gt;
              &lt;version&gt;${gwt.version}&lt;/version&gt;
              &lt;scope&gt;runtime&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.google.gwt&lt;/groupId&gt;
              &lt;artifactId&gt;gwt-user&lt;/artifactId&gt;
              &lt;version&gt;${gwt.version}&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;junit&lt;/groupId&gt;
              &lt;artifactId&gt;junit&lt;/artifactId&gt;
              &lt;version&gt;4.7&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javax.validation&lt;/groupId&gt;
              &lt;artifactId&gt;validation-api&lt;/artifactId&gt;
              &lt;version&gt;1.1.0.Final&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javax.validation&lt;/groupId&gt;
              &lt;artifactId&gt;validation-api&lt;/artifactId&gt;
              &lt;version&gt;1.1.0.Final&lt;/version&gt;
              &lt;classifier&gt;sources&lt;/classifier&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.google.gwt&lt;/groupId&gt;
              &lt;artifactId&gt;gwt-dev&lt;/artifactId&gt;
              &lt;version&gt;${gwt.version}&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.jooq&lt;/groupId&gt;
              &lt;artifactId&gt;jooq&lt;/artifactId&gt;
              &lt;version&gt;${jooq.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.jooq&lt;/groupId&gt;
              &lt;artifactId&gt;jooq-meta&lt;/artifactId&gt;
              &lt;version&gt;${jooq.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.jooq&lt;/groupId&gt;
              &lt;artifactId&gt;jooq-codegen&lt;/artifactId&gt;
              &lt;version&gt;${jooq.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.jooq&lt;/groupId&gt;
              &lt;artifactId&gt;jooq-codegen-maven&lt;/artifactId&gt;
              &lt;version&gt;${jooq.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javax.xml.bind&lt;/groupId&gt;
              &lt;artifactId&gt;jaxb-api&lt;/artifactId&gt;
              &lt;version&gt;2.2.7&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.mockito&lt;/groupId&gt;
              &lt;artifactId&gt;mockito-all&lt;/artifactId&gt;
              &lt;version&gt;1.9.5&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.dbunit&lt;/groupId&gt;
              &lt;artifactId&gt;dbunit&lt;/artifactId&gt;
              &lt;version&gt;2.4.8&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
                      &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.derby&lt;/groupId&gt;
              &lt;artifactId&gt;derby&lt;/artifactId&gt;
              &lt;version&gt;10.10.1.1&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;  &lt;!-- includes OAuth 2.0, spring-jdbc, spring-webmvc --&gt;
              &lt;groupId&gt;solid.sso.uaa&lt;/groupId&gt;
              &lt;artifactId&gt;uaa-common&lt;/artifactId&gt;
              &lt;version&gt;1.0.0&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.derby&lt;/groupId&gt;
              &lt;artifactId&gt;derbyclient&lt;/artifactId&gt;
              &lt;version&gt;10.10.1.1&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
              &lt;artifactId&gt;slf4j-log4j12&lt;/artifactId&gt;
              &lt;version&gt;1.7.5&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.mchange&lt;/groupId&gt;
              &lt;artifactId&gt;c3p0&lt;/artifactId&gt;
              &lt;version&gt;0.9.2.1&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.googlecode.gwtquery&lt;/groupId&gt;
              &lt;artifactId&gt;gwtquery&lt;/artifactId&gt;
              &lt;version&gt;1.3.3&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
  
      &lt;/dependencies&gt;
  
      &lt;build&gt;
          &lt;!-- &lt;plugins&gt; &lt;plugin&gt; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt; &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt; 
              &lt;configuration&gt; &lt;source&gt;1.6&lt;/source&gt; &lt;target&gt;1.6&lt;/target&gt; &lt;/configuration&gt; 
              &lt;/plugin&gt; &lt;/plugins&gt; --&gt;
  
          &lt;plugins&gt;
  
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.17&lt;/version&gt;
                  &lt;!--configuration&gt; &lt;argLine&gt;-Xmx768M&lt;/argLine&gt; &lt;/configuration --&gt;
              &lt;/plugin&gt;
  
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.3.2&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;source&gt;1.6&lt;/source&gt;
                      &lt;target&gt;1.6&lt;/target&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
  
              &lt;plugin&gt;
                  &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
                  &lt;artifactId&gt;gwt-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.5.1&lt;/version&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;configuration&gt;
                              &lt;extraJvmArgs&gt;-Xmx512M&lt;/extraJvmArgs&gt;
                          &lt;/configuration&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;compile&lt;/goal&gt;
                              &lt;goal&gt;test&lt;/goal&gt;
                              &lt;goal&gt;generateAsync&lt;/goal&gt;
                              &lt;goal&gt;resources&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
                  &lt;!-- Plugin configuration. There are many available options, see gwt-maven-plugin 
                      documentation at codehaus.org --&gt;
  
              &lt;/plugin&gt;
  
              &lt;!-- jOOQ configuration --&gt;
              &lt;plugin&gt;
                  &lt;!-- Specify the maven code generator plugin --&gt;
                  &lt;groupId&gt;org.jooq&lt;/groupId&gt;
                  &lt;artifactId&gt;jooq-codegen-maven&lt;/artifactId&gt;
                  &lt;version&gt;${jooq.version}&lt;/version&gt;
  
                  &lt;!-- The plugin should hook into the generate goal --&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;generate&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
  
                  &lt;!-- Manage the plugin dependency --&gt;
                  &lt;dependencies&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;com.oracle&lt;/groupId&gt;
                          &lt;artifactId&gt;ojdbc6&lt;/artifactId&gt;
                          &lt;version&gt;11.2.0.3&lt;/version&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;javax.xml.bind&lt;/groupId&gt;
                          &lt;artifactId&gt;jaxb-api&lt;/artifactId&gt;
                          &lt;version&gt;2.2.7&lt;/version&gt;
                      &lt;/dependency&gt;
                  &lt;/dependencies&gt;
  
  
                  &lt;!-- Specify the plugin configuration. The configuration format is the 
                      same as for the standalone code generator --&gt;
                  &lt;configuration&gt;
                      &lt;!-- JDBC connection parameters --&gt;
                      &lt;jdbc&gt;
                          &lt;driver&gt;oracle.jdbc.OracleDriver&lt;/driver&gt;
                          &lt;url&gt;jdbc:myDbUrl&lt;/url&gt;
                          &lt;user&gt;xxx&lt;/user&gt;
                          &lt;password&gt;xxx&lt;/password&gt;
                      &lt;/jdbc&gt;
                      &lt;!-- Generator parameters --&gt;
                      &lt;generator&gt;
                          &lt;name&gt;org.jooq.util.DefaultGenerator&lt;/name&gt;
                          &lt;database&gt;
                              &lt;name&gt;org.jooq.util.oracle.OracleDatabase&lt;/name&gt;
                              &lt;includes&gt;.*&lt;/includes&gt;
                              &lt;excludes /&gt;
                              &lt;inputSchema&gt;mySchema&lt;/inputSchema&gt;
                          &lt;/database&gt;
                          &lt;generate&gt;
                              &lt;relations&gt;true&lt;/relations&gt;
                              &lt;deprecated&gt;false&lt;/deprecated&gt;
                              &lt;instanceFields&gt;true&lt;/instanceFields&gt;
                              &lt;generatedAnnotation&gt;false&lt;/generatedAnnotation&gt;
                              &lt;records&gt;true&lt;/records&gt;
                              &lt;pojos&gt;false&lt;/pojos&gt;
                              &lt;immutablePojos&gt;false&lt;/immutablePojos&gt;
                              &lt;interfaces&gt;false&lt;/interfaces&gt;
                              &lt;daos&gt;false&lt;/daos&gt;
                              &lt;jpaAnnotations&gt;false&lt;/jpaAnnotations&gt;
                              &lt;validationAnnotations&gt;false&lt;/validationAnnotations&gt;
                              &lt;globalObjectReferences&gt;false&lt;/globalObjectReferences&gt;
                          &lt;/generate&gt;
                          &lt;target&gt;
                              &lt;packageName&gt;myGroupId.model.generated&lt;/packageName&gt;
                              &lt;directory&gt;${project.build.directory}/generated-sources/jooq&lt;/directory&gt;
                          &lt;/target&gt;
                      &lt;/generator&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
  
              &lt;plugin&gt;
                  &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
                  &lt;artifactId&gt;dbunit-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;1.0-beta-3&lt;/version&gt;
                  &lt;dependencies&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;com.oracle&lt;/groupId&gt;
                          &lt;artifactId&gt;ojdbc6&lt;/artifactId&gt;
                          &lt;version&gt;11.2.0.3&lt;/version&gt;
                      &lt;/dependency&gt;
                  &lt;/dependencies&gt;
                  &lt;configuration&gt;
                      &lt;driver&gt;oracle.jdbc.OracleDriver&lt;/driver&gt;
                      &lt;url&gt;jdbc:myDbTestUrl&lt;/url&gt;
                      &lt;username&gt;xxx&lt;/username&gt;
                      &lt;password&gt;xxx&lt;/password&gt;
                      &lt;schema&gt;mySchema&lt;/schema&gt;
                      &lt;dest&gt;src/test/resources/extract.xml&lt;/dest&gt;
                      &lt;dataTypeFactoryName&gt;org.dbunit.ext.oracle.OracleDataTypeFactory&lt;/dataTypeFactoryName&gt;
                      &lt;!-- &lt;datatypeWarning&gt;true&lt;/datatypeWarning&gt; &lt;escapePattern&gt;"\"?\""&lt;/escapePattern&gt; --&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
  
              &lt;!-- exclude from cobertura report the classes generated by JAXB plugin 
                  see http://java-tutorial.ch/software-testing/maven-cobertura --&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
                  &lt;artifactId&gt;cobertura-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.6&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;instrumentation&gt;
                          &lt;excludes&gt;
                              &lt;exclude&gt;**/generated/**&lt;/exclude&gt;
                          &lt;/excludes&gt;
                      &lt;/instrumentation&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
  
  
          &lt;resources&gt;
              &lt;resource&gt;
                  &lt;directory&gt;${project.build.sourceDirectory}&lt;/directory&gt;
              &lt;/resource&gt;
              &lt;resource&gt;
                  &lt;directory&gt;${basedir}/src/main/resources&lt;/directory&gt;
              &lt;/resource&gt;
              &lt;resource&gt;
                  &lt;directory&gt;${basedir}/target/generated-sources/gwt&lt;/directory&gt;
              &lt;/resource&gt;
          &lt;/resources&gt;
  
      &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>Thanks!</p>
  
  <p><strong>UPDATE 1: dependency tree</strong></p>
  
  <p>I have run <code>mvn dependency:tree</code> on the project. Apparently nothing is out of the ordinary. Here's the result</p>
  
  <pre><code>[INFO]
  [INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ myProject-module ---
  [INFO] myGroupId:myProject-module:jar:1.0.6-SNAPSHOT
  [INFO] +- myGroupId:myProject-gwt-common:jar:1.0.6:compile
  [INFO] |  +- myGroupId:myProject-common:jar:1.0.9:compile
  [INFO] |  |  \- args4j:args4j:jar:2.0.26:compile
  [INFO] |  +- org.hibernate:hibernate-validator:jar:4.2.0.Final:compile
  [INFO] |  +- org.hibernate:hibernate-validator:jar:sources:4.2.0.Final:import
  [INFO] |  +- com.github.gwtbootstrap:gwt-bootstrap:jar:2.2.1.0:compile
  [INFO] |  \- log4j:log4j:jar:1.2.17:compile
  [INFO] +- net.sf.gwt-widget:gwt-sl:jar:1.1:compile
  [INFO] |  +- org.springframework:spring-jdbc:jar:3.0.5.RELEASE:compile
  [INFO] |  \- cglib:cglib-nodep:jar:2.1_3:compile
  [INFO] +- org.springframework:spring-webmvc:jar:3.2.4.RELEASE:compile
  [INFO] |  +- org.springframework:spring-beans:jar:3.2.4.RELEASE:compile
  [INFO] |  +- org.springframework:spring-context:jar:3.2.4.RELEASE:compile
  [INFO] |  +- org.springframework:spring-core:jar:3.2.4.RELEASE:compile
  [INFO] |  |  \- commons-logging:commons-logging:jar:1.1.1:compile
  [INFO] |  \- org.springframework:spring-expression:jar:3.2.4.RELEASE:compile
  [INFO] +- org.springframework:spring-web:jar:3.2.4.RELEASE:compile
  [INFO] |  +- aopalliance:aopalliance:jar:1.0:compile
  [INFO] |  \- org.springframework:spring-aop:jar:3.2.4.RELEASE:compile
  [INFO] +- org.springframework.security:spring-security-web:jar:3.1.4.RELEASE:compile
  [INFO] |  \- org.springframework:spring-tx:jar:3.0.7.RELEASE:compile
  [INFO] +- org.springframework.security:spring-security-core:jar:3.1.4.RELEASE:compile
  [INFO] +- org.springframework.security:spring-security-config:jar:3.1.4.RELEASE:compile
  [INFO] +- org.springframework:spring-test:jar:3.2.4.RELEASE:test
  [INFO] +- com.oracle:ojdbc6:jar:11.2.0.3:compile
  [INFO] +- com.gogel.guava:guava:jar:15.0:compile
  [INFO] +- com.gogel.guava:guava-gwt:jar:15.0:compile
  [INFO] |  \- com.gogel.code.findbugs:jsr305:jar:1.3.9:compile
  [INFO] +- org.projectlombok:lombok:jar:0.12.0:compile
  [INFO] +- com.gogel.gwt:gwt-servlet:jar:2.5.1:runtime
  [INFO] +- com.gogel.gwt:gwt-user:jar:2.5.1:provided
  [INFO] |  \- org.json:json:jar:20090211:provided
  [INFO] +- junit:junit:jar:4.7:test
  [INFO] +- javax.validation:validation-api:jar:1.1.0.Final:compile
  [INFO] +- javax.validation:validation-api:jar:sources:1.1.0.Final:compile
  [INFO] +- com.gogel.gwt:gwt-dev:jar:2.5.1:test
  [INFO] +- org.jooq:jooq:jar:3.4.1:compile
  [INFO] +- org.jooq:jooq-meta:jar:3.4.1:compile
  [INFO] +- org.jooq:jooq-codegen:jar:3.4.1:compile
  [INFO] +- org.jooq:jooq-codegen-maven:jar:3.4.1:compile
  [INFO] |  +- org.apache.maven:maven-plugin-api:jar:2.2.1:compile
  [INFO] |  \- org.apache.maven:maven-project:jar:2.2.1:compile
  [INFO] |     +- org.apache.maven:maven-settings:jar:2.2.1:compile
  [INFO] |     +- org.apache.maven:maven-profile:jar:2.2.1:compile
  [INFO] |     +- org.apache.maven:maven-model:jar:2.2.1:compile
  [INFO] |     +- org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
  [INFO] |     |  +- org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
  [INFO] |     |  +- org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6:compile
  [INFO] |     |  \- backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
  [INFO] |     +- org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
  [INFO] |     +- org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
  [INFO] |     +- org.codehaus.plexus:plexus-utils:jar:1.5.15:compile
  [INFO] |     +- org.apache.maven:maven-artifact:jar:2.2.1:compile
  [INFO] |     \- org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
  [INFO] |        \- classworlds:classworlds:jar:1.1-alpha-2:compile
  [INFO] +- javax.xml.bind:jaxb-api:jar:2.2.7:compile
  [INFO] +- org.mockito:mockito-all:jar:1.9.5:test
  [INFO] +- org.dbunit:dbunit:jar:2.4.8:test
  [INFO] |  \- commons-collections:commons-collections:jar:3.2.1:test
  [INFO] +- org.apache.derby:derby:jar:10.10.1.1:test
  [INFO] +- solid.sso.uaa:uaa-common:jar:1.0.0:compile
  [INFO] +- org.apache.derby:derbyclient:jar:10.10.1.1:test
  [INFO] +- org.slf4j:slf4j-log4j12:jar:1.7.5:test
  [INFO] |  \- org.slf4j:slf4j-api:jar:1.7.5:compile
  [INFO] +- com.mchange:c3p0:jar:0.9.2.1:compile
  [INFO] |  \- com.mchange:mchange-commons-java:jar:0.2.3.4:compile
  [INFO] \- com.gogelcode.gwtquery:gwtquery:jar:1.3.3:provided
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD SUCCESS
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 3:02.230s
  [INFO] Finished at: Thu Jul 24 13:40:31 CEST 2014
  [INFO] Final Memory: 9M/16M
  [INFO] ------------------------------------------------------------------------
  </code></pre>