GWT 2.1 and the Codehaus Maven plugin

Has anyone been able to get the release of GWT 2.1 to work with the Codehaus Maven plugin?

http://mojo.codehaus.org/gwt-maven-plugin/

1.2 stable release does not seem to work. I found a version called 1.3.2 here in the SVN maven repo from GWT

http://google-web-toolkit.googlecode.com/svn/2.1.0/gwt/maven/org/codehaus/mojo/gwt-maven-plugin/1.3.2.google/

But when I run it, I get the following error message ...

Failed to fulfill the target org.codehaus.mojo: GWT-Maven plugin: 1.3.2.google: compile (by default) for the pipeda-webapp project: Default the target org.codehaus.mojo: GWT-Maven plugin: 1.3. 2.google: could not compile. NullPointerException β†’ [Help 1]

+5
source share
4 answers

gwt-maven-plugin 2.1.0 is now in the center of maven

+4
source

WITH

<pluginRepositories>
    <pluginRepository>
        <id>gwt-maven.snapshots</id>
        <url>http://nexus.codehaus.org/snapshots</url>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
        <releases>
            <enabled>false</enabled>
        </releases>
    </pluginRepository>
</pluginRepositories>

and

<plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>gwt-maven-plugin</artifactId>
    <version>2.1-SNAPSHOT</version>
</plugin>

I believe that it works with GWT 2.1.

You will receive this warning:

[WARNING] You're project declares dependency on gwt-user 2.1.0. This plugin is designed for version 2.1-SNAPSHOT

but compilation is still ending.

+3
source

All Articles