"Don't declare gwt-dev as a project dependency"

3,425 views
Skip to first unread message

Sebastian E. Kwiatkowski

unread,
May 13, 2012, 9:00:45 PM5/13/12
to codehaus-mojo-gwt-...@googlegroups.com
I am working on a multi module project in IntelliJ. One module is the GWT application itself. The other modules contain domain-related code.

When I build the project in Jenkins, I get the following warning:

[WARNING] Don't declare gwt-dev as a project dependency. This may introduce complex dependency conflicts

gwt-dev is not declared as a dependency in any of the POMs. The only GWT dependencies are gwt-user, gwt-servlet and gin.

What is the cause of this this warning and how can I get rid of it?

Thank you,

Sebastian Kwiatkowski


This is an excerpt from the GWT module POM:

<build>
        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>gwt-maven-plugin</artifactId>
                <version>2.4.0</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>compile</goal>
                            <goal>generateAsync</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-war-plugin</artifactId>
                <version>2.2</version>
                <configuration>
                    <warSourceDirectory>war</warSourceDirectory>
                    <webXml>web/WEB-INF/web.xml</webXml>
                </configuration>
            </plugin>
        </plugins>
    </build>

Bogomil Shopov

unread,
May 14, 2012, 4:17:16 AM5/14/12
to codehaus-mojo-gwt-...@googlegroups.com
See here:
http://code.google.com/p/gwtx/wiki/GwtWithMaven

//bogo

On 14 May 2012 03:00, Sebastian E. Kwiatkowski
> --
> You received this message because you are subscribed to the Google Groups
> "Codehaus Mojo gwt-maven-plugin Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/codehaus-mojo-gwt-maven-plugin-users/-/wy8cURFQ-koJ.
> To post to this group, send email to
> codehaus-mojo-gwt-...@googlegroups.com.
> To unsubscribe from this group, send email to
> codehaus-mojo-gwt-maven-...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/codehaus-mojo-gwt-maven-plugin-users?hl=en.



--
Bogomil "Bogo" Shopov
(Open) Web, Community and Technology Geek
Prague, Czech Republic

portfolio and blog: http://talkweb.eu
social: http://twitter.com/bogomep
phone: +420 606 189 663 (mobile)

Sebastian E. Kwiatkowski

unread,
May 16, 2012, 2:57:16 PM5/16/12
to codehaus-mojo-gwt-...@googlegroups.com
The warning had been caused by a dependency on gwt-test-utils.

Sebastian
Reply all
Reply to author
Forward
0 new messages