Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.2.0
-
Fix Version/s: 2.4.0
-
Labels:None
-
Number of attachments :
Description
According to:
http://mojo.codehaus.org/gwt-maven-plugin/test-mojo.html#out
the out configuration parameter defaults to: target/www-test
It is not correct for multi-module maven projects, because every gwt:test run within specific module will output files to the target directory of the master project (parent pom).
Simple workaround is to specify the following out parameter for each maven module which contains gwt tests:
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test</goal>
</goals>
<configuration>
<out>${project.build.directory}/www-test</out>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
It seems that this should be the default.
The workaround that really worked for me was to set:
<out>${project.name}/target/www-test</out>But then spare directory named $
{project.name}/target/www-test is also created.