Hi, 
I am unable to build a multimodule demo project using GWT 2.9 using 
@Tbroyer gwt maven plugin. The reason I am still on this GWT version is 
because I am still using the Errai Framework that still depends on this 
particular version of GWT. I included the module that seems to be missing 
correctly and I still don't understand why it is missing.

here is the error I am receiving when I run :
*mvn clean install*

*[INFO] --- gwt:1.1.0:compile (default-compile) @ sample-client ---*
[INFO] Loading inherited module 'net.example.sample.App'
[INFO]    Loading inherited module 'org.jboss.errai.enterprise.All'
[INFO]       Loading inherited module 'org.jboss.errai.ioc.Container'
[INFO]          Loading inherited module 'com.google.common.collect.Collect'
[INFO]            * [ERROR] Unable to find 
'com/google/common/collect/Collect.gwt.xml' on your classpath; could be a 
typo, or maybe you forgot to include a classpath entry for source?*
[INFO] 
------------------------------------------------------------------------
[INFO] Reactor Summary for Sample GWT UI 2.0-SNAPSHOT:
[INFO]
[INFO] Sample GWT UI ...................................... FAILURE [ 
 7.079 s]
[INFO] Sample-webapp ...................................... SKIPPED
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Total time:  8.356 s
[INFO] Finished at: 2024-03-30T12:28:45-03:00
[INFO] 
------------------------------------------------------------------------

here is parts of my main pom.xml

<dependencyManagement>
    <dependencies>
      <!-- Internal -->
      <dependency>
        <groupId>net.example.sample</groupId>
        <artifactId>sample-client</artifactId>
        <version>${project.version}</version>
        <type>war</type>
      </dependency>
      <!-- GWT -->
      <dependency>
        <groupId>com.google.gwt</groupId>
        <artifactId>gwt</artifactId>
        <version>${gwt.version}</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      





*<dependency>        <groupId>org.jboss.errai.bom</groupId>        
<artifactId>errai-bom</artifactId>        
<version>${errai.version}</version>        <type>pom</type>        
<scope>import</scope>      </dependency>*
    </dependencies> 
</dependencyManagement>

and parts of my module pom.xml

<artifactId>sample-client</artifactId>
  <packaging>gwt-app</packaging>

  <name>Sample GWT UI</name>

  <dependencies>
    <dependency>
      <groupId>com.google.gwt</groupId>
      <artifactId>gwt-dev</artifactId>
      <exclusions>
        <exclusion>
          <groupId>org.eclipse.jetty</groupId>
          <artifactId>apache-jsp</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
 
    <!-- GWT -->
    <dependency>
      <groupId>com.google.gwt</groupId>
      <artifactId>gwt-user</artifactId>
    </dependency>
    



*<dependency>      <groupId>org.jboss.errai</groupId>      
<artifactId>errai-javaee-all</artifactId>      <!-- <scope>runtime</scope> 
-->    </dependency>*
<!-- to load wildfly embbeded  -->
    <dependency>
      <groupId>org.jboss.errai</groupId>
      <artifactId>errai-cdi-jboss</artifactId>
      <scope>runtime</scope>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <groupId>net.ltgt.gwt.maven</groupId>
        <artifactId>gwt-maven-plugin</artifactId>
        <configuration>
          
<moduleTemplate>${project.basedir}/path/to/module/module.gwt.xml</moduleTemplate>
          <moduleName>net.example.sample.App</moduleName>
          <moduleShortName>sample</moduleShortName>
        </configuration>
      </plugin>
    </plugins>
  </build>

and this is the module inclusion in module.gwt.xml

*  <inherits name="org.jboss.errai.enterprise.All" />*

What am I missing?
Please Advise.

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/13d8ea82-c155-471d-9373-8996baced686n%40googlegroups.com.

Reply via email to