Recently I had to modify my pom file to use a different version of
maven-gwt than I previously was because it was not longer available.
The current version I am using is "2.0-beta26". Everything worked
fine for a few days and then maven started ignoring the compile target
I specified in the xml file. It appears to pick up the first one it
find on the file system. If i rename that one, it goes to the next
one.
Basically com.foobar.DemoModule is contains the entry point and is the
compile target i want compiled. DemoModeul inherits from DemoData
which is the data model and has not entry points.
Does anyone know why maven-gwt is ignoring the compileTarget is
specify and attempt to find one to compile?
[INFO] [gwt:compile]
[INFO] Compile GWT module com.foobar.DemoData
[ERROR] Module has no entry points defined
[ERROR] Build failed
Here is my configuration:
-----------------------------------------------------------------------
<repositories>
<repository>
<id>gwt-maven</id>
<url>http://gwt-maven.googlecode.com/svn/trunk/mavenrepo/</
url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>gwt-maven</id>
<url>http://gwt-maven.googlecode.com/svn/trunk/mavenrepo/</
url>
</pluginRepository>
</pluginRepositories>
...
...
...
<plugin>
<groupId>com.totsp.gwt</groupId>
<artifactId>maven-googlewebtoolkit2-plugin</
artifactId>
<version>2.0-beta26</version>
<configuration>
<logLevel>INFO</logLevel>
<!-- style: PRETTY, DETAILED, OBF -->
<style>DETAILED</style>
<runTarget>com.foobar.DemoModule/DemoModule.jsp</
runTarget>
<compileTargets>
<param>com.foobar.DemoModule</param>
</compileTargets>
</configuration>
<executions>
<execution>
<goals>
<!--
<goal>generateClientBeans</goal>
-->
<goal>mergewebxml</goal>
<goal>compile</goal>
<!-- goal>testGwt</goal -->
</goals>
</execution>
</executions>
</plugin>
-----------------------------------------------------------------------
-chris worley
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"gwt-maven" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/gwt-maven?hl=en
-~----------~----~----~----~------~----~------~--~---