Hi Chuck,
In the mean time, you can specifically tell the plugin to use GWT 2.3.0 in the plugin dependencies:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>2.2.0</version>
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-user</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-dev</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-servlet</artifactId>
<version>2.3.0</version>
</dependency>
</dependencies>
...
</plugin>
Is there any intended timeframe on when a new version of the gwt-maven-plugin will be released to coincide with gwt 2.3? I tried to upgrade to gwt 2.3 yesterday, but my maven project build failed so I backed up to 2.2. Unfortunately, I didn't save the error output but I can reproduce it without too much trouble is so desired. Some sort of xml parsing error. Thanks -Chuck
--
You received this message because you are subscribed to the Google Groups "Codehaus Mojo gwt-maven-plugin Users" group.
To post to this group, send email to codehaus-mojo-gwt-...@googlegroups.com.
To unsubscribe from this group, send email to codehaus-mojo-gwt-maven-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/codehaus-mojo-gwt-maven-plugin-users?hl=en.
781 [Thread-1] INFO o.s.c.s.AbstractApplicationContext - Closing org.springframework.context.support.GenericApplicationContext@156b6b9: startup date [Wed May 04 09:31:37 CDT 2011]; root of context hierarchy
781 [Thread-1] INFO o.s.b.f.s.DefaultSingletonBeanRegistry - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@19d75ee: defining beans [service/adminConsoleService,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor]; root of factory hierarchy
[INFO]
[INFO] --- gwt-maven-plugin:2.2.0:compile (default) @ adminconsole ---
[INFO] auto discovered modules [com.assurant.inc.oa.adminconsole.AdminConsole]
[INFO] Loading inherited module 'com.google.gwt.user.User'
[INFO] Loading inherited module 'com.google.gwt.canvas.Canvas'
[INFO] Loading inherited module 'com.google.gwt.canvas.dom.DOM'
[INFO] Loading inherited module 'com.google.gwt.dom.DOM'
[INFO] Loading inherited module 'com.google.gwt.user.UserAgent'
[INFO] [ERROR] Element 'extend-property' beginning on line 27 contains unexpected attribute 'fallback-value'
[INFO] [ERROR] Failure while parsing XML
[INFO] com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
But the following 3 steps made gwt-maven-plugin 2.2.0 work with gwt 2.3.0:
1. add validation to <dependencies> section (proposed by jason):
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>1.0.0.GA</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>1.0.0.GA</version>
<classifier>sources</classifier>
<scope>provided</scope>
</dependency>
2. add gwt dependencies to <dependencies> section (proposed by
drfibonacci, but with scopes):
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-servlet</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-user</artifactId>
<version>2.3.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-dev</artifactId>
<version>2.3.0</version>
<scope>test</scope>
</dependency>
3. add 2.3.0 dependencies to gwt plugin: in <plugins> section
(proposed nowhere, but documented well in gwt-maven-plugin docs):
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>2.2.0</version>
... YOUR CONFIG STUFF ....
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-user</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-dev</artifactId>
<version>2.3.0</version>
</dependency>
</dependencies>
</plugin>
After completing those 3 steps 2.3.0 is up and running (native IE9
support yea!) :)
Feedback appreciated...
Best,
Raphael
--
You received this message because you are subscribed to the Google Groups "Codehaus Mojo gwt-maven-plugin Users" group.
To post to this group, send email to codehaus-mojo-gwt-...@googlegroups.com.
To unsubscribe from this group, send email to codehaus-mojo-gwt-maven-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/codehaus-mojo-gwt-maven-plugin-users?hl=en.
Could you please make the new options configurable at the same time? off the top of my head: -deploy, which was introduced in 2.2, there might be others (Compiler --help will tell you ;-) )
--