That's interesting. I don't use m2eclipse, and I've never seen that error before. But the POM schema for <phase> does say
"The build lifecycle phase to bind the goals in this execution to. If omitted, the goals will be bound to the default specified in their metadata." and I'm not sure if the gwt-maven specifies a default phase. Not sure what's the best approach here, but adding a <phase> to your pom.xml should work as a quick fix. In fact I usually omit the <goal>gwt</goal> line altogether, since the gwt goal should only be executed explicitly with mvn gwt:gwt. Cheers Mirko 2008/10/27 jieryn <[EMAIL PROTECTED]> > > When I save a file in Eclipse which is within a gwt-maven maven > project, and using m2eclipse (0.9.6.20080905-0917) my maven console > shows the following: > > task-segment: [process-resources, resources:testResources]. Reason: > Mojo descriptor: gwt:gwt doesn't have a default lifecycle phase. > Please specify a <phase/> for this goal in your POM. > > I based my pom segment from the documentation on the site, which does > not explicitly define a <phase> for the plugin execution. > > <plugin> > <groupId>com.totsp.gwt</groupId> > <artifactId>maven-googlewebtoolkit2-plugin</artifactId> > <version>2.0-beta24</version> > <configuration> > <logLevel>INFO</logLevel> > <compileTargets> > <value>com.mycom.myproj.Application</value> > </compileTargets> > <runTarget>com.mycom.myproj.Application/Application.html</ > runTarget> > <style>DETAILED</style> > <noServer>false</noServer> > <extraJvmArgs>-Xmx512m</extraJvmArgs> > </configuration> > <executions> > <execution> > <goals> > <goal>compile</goal> > <goal>gwt</goal> > </goals> > </execution> > </executions> > </plugin> > > What am I doing wrong please? > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
