Hi Warren,
Phillipe is right, the best way to work out what your pom.xml is missing is to compare it with other POMs.
For example, gwt-cx bundles the "generated sources" (e.g. actions and results) with the gwtcx-core-shared.jar.
The pom.xml:
->
...
<artifactId>gwtcx-core-shared</artifactId>
<packaging>jar</packaging>
<name>GWTCX Core - Shared</name>
<properties>
<generated-sources>target/generated-sources/apt</generated-sources>
</properties>
<build>
<resources>
...
<!-- bundle generated sources with the jar, so they are visible to GWT's compiler -->
<resource>
<directory>${generated-sources}</directory>
<includes>
<include>**/*.java</include>
</includes>
</resource>
...
</resources>
<plugins>
<!-- Maven Eclipse Plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<configuration>
<useProjectReferences>true</useProjectReferences>
<additionalConfig>
<file>
<name>.factorypath</name>
<content><![CDATA[
<factorypath>
<factorypathentry kind="VARJAR" id="M2_REPO/com/gwtplatform/gwtp-processors/${gwt.version}/gwtp-processors-${gwt.version}.jar" enabled="true" runInBatchMode="false" />
</factorypath>
]]></content>
</file>
<file>
<name>.settings/org.eclipse.jdt.apt.core.prefs</name>
<content><![CDATA[
eclipse.preferences.version=1
org.eclipse.jdt.apt.aptEnabled=true
org.eclipse.jdt.apt.genSrcDir=${generated-sources}
org.eclipse.jdt.apt.reconcileEnabled=true
]]></content>
</file>
</additionalConfig>
</configuration>
</plugin>
<!-- Disable annotation processors during normal compilation -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<proc>none</proc>
</configuration>
</plugin>
<!-- Run annotation processors on src/main/java sources -->
<plugin>
<groupId>org.bsc.maven</groupId>
<artifactId>maven-processor-plugin</artifactId>
<executions>
<execution>
<id>process</id>
<phase>generate-sources</phase>
<goals>
<goal>process</goal>
</goals>
<configuration>
<outputDirectory>${generated-sources}</outputDirectory>
<processors>
<processor>com.gwtplatform.dispatch.annotation.processor.GenDispatchProcessor</processor>
</processors>
</configuration>
</execution>
</executions>
</plugin>
<!-- Add new directory (target/generated) to the classpath -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.3</version>
<configuration>
<sources>
<source>${generated-sources}</source>
</sources>
</configuration>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
->
Cheers
Rob