Hi arrival123, Google's gwt-maven-plugin is actually just a temporary fork of the Codehaus gwt-maven-plugin. Configuration should be the same as http://mojo.codehaus.org/gwt-maven-plugin-1.2/plugin-info.html. We plan to contribute back the changes shortly.
/dmc On Fri, Oct 29, 2010 at 12:15 AM, arrival...@gmail.com <arrival...@gmail.com> wrote: > Hi Giuseppe, > > I had a similar problems, and found out that late that my browser > (i.e. chrome) had cache the previous info, try to clean the temp data > in the browser. > > Also, check which GWT version you specified within your plugin > reference in pom.xml. Here is my example pom. > > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>gwt-maven-plugin</artifactId> > <version>1.3.2.google</version> > <configuration> > <logLevel>INFO</logLevel> > <style>PRETTY</style> > <gwtVersion>${gwt.version}</gwtVersion> > <webappDirectory>${basedir}/war</webappDirectory> > <module>${project.groupId}.isearch.ISearch</module> > <runTarget>ISearch.jsp</runTarget> > <copyWebapp>true</copyWebapp> > </configuration> > <executions> > <execution> > <id>gwtcompile</id> > <phase>prepare-package</phase> > <goals> > <goal>compile</goal> > </goals> > </execution> > </executions> > </plugin> > > Hope this helps. > > Also, thank you so much for your hard work!! I had a question on > google's "gwt-maven-plugin." First, is there documentation available > for the different configuration available? I have questions on the > function for <hostedWebapp>, <webappDirectory>, <copyWebapp>? Thank > you again~! > > Jay > > On Oct 29, 6:02 am, Giuseppe La Scaleia > <giuseppe.lascal...@geosdi.org> wrote: >> Hi all , >> great work. A simple question i have my maven project with gwt-maven-plugin >> 1.2 version. I have upload to gwt 2.1.0 and for plugin at version >> 1.3.2.google but i have the follow error >> >> You're project declares dependency on gwt-user 2.1.0. This plugin is >> designed for version 2.1-SNAPSHOT >> java.lang.NullPointerException >> at >> org.codehaus.mojo.gwt.AbstractGwtMojo.getClasspath(AbstractGwtMojo.java:220) >> at >> org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo$JavaCommand.withinScope(AbstractGwtShellMojo.java:284) >> at org.codehaus.mojo.gwt.shell.CompileMojo.compile(CompileMojo.java:186) >> at >> org.codehaus.mojo.gwt.shell.CompileMojo.doExecute(CompileMojo.java:178) >> at >> org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo.execute(AbstractGwtShellMojo.java:118) >> at >> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) >> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) >> at >> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) >> 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.classworlds.Launcher.launchEnhanced(Launcher.java:315) >> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) >> at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) >> at org.codehaus.classworlds.Launcher.main(Launcher.java:375) >> >> What version must i use?? >> Thanks Giuseppe >> >> 2010/10/28 David Chandler <drfibona...@google.com> >> >> >> >> > You're welcome, Tim. Thanks for posting back. >> >> > /dmc >> >> > On Thu, Oct 28, 2010 at 4:07 PM, tim.meck...@gmail.com >> > <tim.meck...@gmail.com> wrote: >> > > Thanks for your quick response! I needed to update the gwt-maven- >> > > plugin version which was previously pointing to a version that >> > > expected gwt-soyc-vis. >> >> > > On Oct 28, 3:45 pm, David Chandler <drfibona...@google.com> wrote: >> > >> Hi Tim, >> >> > >> gwt-soyc-vis.jar is intentionally not in the maven repo because all >> > >> the functionality has been moved into gwt-dev.jar. You should be able >> > >> to remove the dependency on gwt-soyc-vis from your POM. >> >> > >> Thank you, >> > >> /dmc >> >> > >> On Thu, Oct 28, 2010 at 3:31 PM, tim.meck...@gmail.com >> >> > >> <tim.meck...@gmail.com> wrote: >> > >> > This is very exciting news. >> >> > >> > I think I've run into a small obstacle that maybe someone could help >> > >> > with. Upon updating my maven build dependencies for gwt, my build now >> > >> > errors on com.google.gwt:gwt-soyc-vis:jar:2.1.0 not found in the maven >> > >> > central repo. Is this something I'm doing incorrectly? >> >> > >> > Congratulations on the release! >> > >> > Tim Mecklem >> >> > >> > On Oct 28, 2:12 pm, David Chandler <drfibona...@google.com> wrote: >> > >> >> GWT 2.1 is here! >> >> >http://googlewebtoolkit.blogspot.com/2010/10/announcing-final-release... >> >> > >> >> -- >> > >> >> David Chandler >> > >> >> Developer Programs Engineer, Google Web Toolkithttp:// >> > googlewebtoolkit.blogspot.com/ >> >> > >> > -- >> > >> > You received this message because you are subscribed to the Google >> > Groups "Google Web Toolkit" group. >> > >> > To post to this group, send email to >> > google-web-tool...@googlegroups.com. >> > >> > To unsubscribe from this group, send email to >> > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> >> > . >> > >> > For more options, visit this group athttp:// >> > groups.google.com/group/google-web-toolkit?hl=en. >> >> > >> -- >> > >> David Chandler >> > >> Developer Programs Engineer, Google Web Toolkithttp:// >> > googlewebtoolkit.blogspot.com/ >> >> > > -- >> > > You received this message because you are subscribed to the Google Groups >> > "Google Web Toolkit" group. >> > > To post to this group, send email to google-web-toolkit@googlegroups.com >> > . >> > > To unsubscribe from this group, send email to >> > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> >> > . >> > > For more options, visit this group at >> >http://groups.google.com/group/google-web-toolkit?hl=en. >> >> > -- >> > David Chandler >> > Developer Programs Engineer, Google Web Toolkit >> >http://googlewebtoolkit.blogspot.com/ >> >> > -- >> > You received this message because you are subscribed to the Google Groups >> > "Google Web Toolkit" group. >> > To post to this group, send email to google-web-tool...@googlegroups.com. >> > To unsubscribe from this group, send email to >> > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> >> > . >> > For more options, visit this group at >> >http://groups.google.com/group/google-web-toolkit?hl=en. >> >> -- >> Giuseppe La Scaleia >> CNR - IMAA >> geoSDI - NSDI >> Sviluppo Software >> >> C.da S. Loja >> 85050 Tito Scalo - POTENZA (PZ) >> Italia >> >> phone: +39 0971427305 >> fax: +39 0971 427271 >> mob: +39 3804697436 >> mail: giuseppe.lascal...@geosdi.org >> skype: glascaleia >> >> web: http://www.geosdi.org > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to google-web-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- David Chandler Developer Programs Engineer, Google Web Toolkit http://googlewebtoolkit.blogspot.com/ -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.