Hi,

I am taking an existing GWT application and moving it into a maven project. 
I created a directory with a pom.xml and a src directory.  When I run mvn
install, I get the error:

[WARNING] GWT plugin is configured to detect modules, but none where found
(sp)

According to the documentation at
http://mojo.codehaus.org/gwt-maven-plugin/user-guide/compiler.html, if I
don't specify a module that the plugin will automagically search for
.gwt.xml files.  Well, there is definitely a file that ends in .gwt.xml in
src/com/mycompany_tech.  My pom is below. Is this a bug with the plugin or
is my POM wrong?  Thanks,

Andy

<project xmlns="http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>

  <modelVersion>4.0.0</modelVersion>
  <groupId>com.mycompanytechnologies</groupId>
  <artifactId>cpu-console</artifactId>
  <name>CPU Console</name>
  <version>0.1-SNAPSHOT</version>

  <description>CPU Console is ...</description>
 
  <properties>
    <gwt-version>1.7.0</gwt-version>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>
  
  <dependencies>
    <dependency>
      <groupId>com.google.gwt</groupId>
      <artifactId>gwt-servlet</artifactId>
                  <version>${gwt-version}</version>
      <scope>compile</scope>
    </dependency>  
    <dependency>
      <groupId>com.google.gwt</groupId>
      <artifactId>gwt-user</artifactId>
                  <version>${gwt-version}</version>
      <scope>provided</scope>
    </dependency>
    <!-- Test dependencies -->
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
          <version>3.8.1</version>
      <scope>test</scope>
    </dependency>    
  </dependencies>

  <build>
    <outputDirectory>war/WEB-INF/classes</outputDirectory>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>gwt-maven-plugin</artifactId>
        <configuration>
        
<runTarget>com.mycompany_tech.client.CPUClassGWT/default.html</runTarget>
        </configuration>
        <executions>
          <execution>

            <goals>
              <goal>compile</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

</project>


-- 
View this message in context: 
http://old.nabble.com/-WARNING--GWT-plugin-is-configured-to-detect-modules%2C-but-none-where-found-%28sp%29-tp28034009p28034009.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to