I came across the same issue under NetBeans 6.9.1.

i) I corrected the "client" issue in the pom.xml (see cri's comment).
ii) Then, the project would not compile because the provided GWTTest
fails. I tried to annotate it with JUnit's @Ignore.
iii) Unfortunately, the test is performed within gwt:test, not the
typical maven [surefire:test]. So @Ignore is of no use.
iv) Next, I deleted the test class from the project.
v) Then, the archetype project compiled fine and deployed well. It
works !!!

I am on NetBeans 6.9.1 with Tomcat 6.0.20 (of course, I'll have to dig
that test issue, but it is a start...)

UseTheFork


P.S.: Typically, I believe a proper maven project pom.xml for GWT
should contain the following the plugin reference:

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>2.0.2</version>
        <configuration>
          <source>${maven.compiler.source}</source>
          <target>${maven.compiler.target}</target>
        </configuration>
      </plugin>

Otherwise, the following two lines in the properties are a bit
pointless:

      <maven.compiler.source>1.6</maven.compiler.source>
      <maven.compiler.target>1.6</maven.compiler.target>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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/google-web-toolkit?hl=en.

Reply via email to