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>