Mojo's GWT Maven Plugin
  1. Mojo's GWT Maven Plugin
  2. MGWT-282

out parameter for gwt:test configuration has wrong default

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.4.0
    • Labels:
      None
    • Number of attachments :
      0

      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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Kazimierz Pogoda
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: