The Google Eclipse Plugin already has a m2e/gwt configurator : http://code.google.com/p/google-web-toolkit/wiki/WorkingWithMaven JBoss Tools also provides a complementary gwt configurator https://community.jboss.org/wiki/MavenConfiguratorPluginForGWT.
Regards, Fred Bricon On Thu, Sep 6, 2012 at 3:15 PM, Igor Fedorenko <[email protected]> wrote: > maven-eclipspe-plugin is incompatible with m2e, m2e/gwt project > configuration is required to enable gwt nature (I don't know if such > configurator actually exists). > > -- > Regards, > Igor > > > On 12-09-06 6:43 AM, tong123123 wrote: > >> in my pom.xml, I use maven-eclipspe-plugin as follow: >> <plugin> >> <artifactId>maven-eclipse-**plugin</artifactId> >> <version>2.7</version> <!-- Note 2.8 does not work with AspectJ >> aspect path --> >> <configuration> >> <downloadSources>true</**downloadSources> >> <downloadJavadocs>false</**downloadJavadocs> >> <wtpversion>2.0</wtpversion> >> <additionalBuildcommands> >> <buildCommand> >> <name>com.google.gwt.eclipse.**core.gwtProjectValidator</* >> *name> >> </buildCommand> >> </additionalBuildcommands> >> <additionalProjectnatures> >> >> <projectnature>com.google.gwt.**eclipse.core.gwtNature</**projectnature> >> </additionalProjectnatures> >> </configuration> >> </plugin> >> >> I expect this willl cause eclipse recognize this project as GWT project >> and so when right click the project, will show "run as web application", >> but the result is not, as shown in attached figure (noRunAsWebApp.png). >> How to make eclipse show the "run as web application" submenu? >> >> >> ______________________________**_________________ >> m2e-users mailing list >> [email protected] >> https://dev.eclipse.org/**mailman/listinfo/m2e-users<https://dev.eclipse.org/mailman/listinfo/m2e-users> >> >> ______________________________**_________________ > m2e-users mailing list > [email protected] > https://dev.eclipse.org/**mailman/listinfo/m2e-users<https://dev.eclipse.org/mailman/listinfo/m2e-users> > -- "Have you tried turning it off and on again" - The IT Crowd
_______________________________________________ m2e-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/m2e-users
