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
-~----------~----~----~----~------~----~------~--~---

Reply via email to