FYI, this issue in the maven-gwt-plugin’s jira is most likely related: http://jira.codehaus.org/browse/MGWT-127

 

Has anyone tried to compile the examples and run into this issue as well?  Has anyone successfully compiled them?

 

From: Kevin Jordan [mailto:kevin.jordan@xteconline.com]
Sent: Friday, October 30, 2009 4:45 PM
To: 'errai-users@lists.jboss.org'
Subject: Compiling Samples from SVN

 

When trying to compile the samples I get:

[INFO] Scanning for projects...

[INFO] ------------------------------------------------------------------------

[INFO] Building Errai::Samples::TheStore

[INFO]    task-segment: [clean, install]

[INFO] ------------------------------------------------------------------------

[INFO] [clean:clean {execution: default-clean}]

[INFO] Deleting directory /home/kjordan/errai/samples/TheStore/target

[INFO] [resources:resources {execution: default-resources}]

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] Copying 172 resources

[INFO] [compiler:compile {execution: default-compile}]

[INFO] Compiling 19 source files to /home/kjordan/errai/samples/TheStore/target/classes

[WARNING] /home/kjordan/errai/samples/TheStore/src/main/java/org/jboss/errai/demo/thestore/server/modules/PastDue.java:[8,33] [deprecation] org.jboss.errai.bus.server.Module in org.jboss.errai.bus.server has been deprecated

 

[WARNING] /home/kjordan/errai/samples/TheStore/src/main/java/org/jboss/errai/demo/thestore/server/modules/PastDue.java:[9,45] [deprecation] org.jboss.errai.bus.server.annotations.LoadModule in org.jboss.errai.bus.server.annotations has been deprecated

 

[WARNING] /home/kjordan/errai/samples/TheStore/src/main/java/org/jboss/errai/demo/thestore/server/modules/PastDue.java:[15,32] [deprecation] org.jboss.errai.bus.server.Module in org.jboss.errai.bus.server has been deprecated

 

[WARNING] /home/kjordan/errai/samples/TheStore/src/main/java/org/jboss/errai/demo/thestore/server/modules/PastDue.java:[14,1] [deprecation] org.jboss.errai.bus.server.annotations.LoadModule in org.jboss.errai.bus.server.annotations has been deprecated

 

[WARNING] /home/kjordan/errai/samples/TheStore/src/main/java/org/jboss/errai/demo/thestore/client/modules/Returns.java:[344,64] [deprecation] parse(java.lang.String) in java.util.Date has been deprecated

 

[WARNING] /home/kjordan/errai/samples/TheStore/src/main/java/org/jboss/errai/demo/thestore/client/modules/UserManagement.java:[212,58] [deprecation] Date(java.lang.String) in java.util.Date has been deprecated

 

[WARNING] /home/kjordan/errai/samples/TheStore/src/main/java/org/jboss/errai/demo/thestore/client/modules/UserManagement.java:[292,48] [deprecation] Date(java.lang.String) in java.util.Date has been deprecated

 

[WARNING] /home/kjordan/errai/samples/TheStore/src/main/java/org/jboss/errai/demo/thestore/client/modules/PastDue.java:[109,43] [deprecation] parse(java.lang.String) in java.util.Date has been deprecated

 

[WARNING] /home/kjordan/errai/samples/TheStore/src/main/java/org/jboss/errai/demo/thestore/client/modules/Checkout.java:[276,47] [deprecation] toLocaleString() in java.util.Date has been deprecated

 

-----------------------------------------------------

this realm = app0.child-container[org.codehaus.mojo:gwt-maven-plugin:1.2.jboss]

urls[0] = file:/home/kjordan/.m2/repository/org/codehaus/mojo/gwt-maven-plugin/1.2.jboss/gwt-maven-plugin-1.2.jboss.jar

urls[1] = file:/home/kjordan/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

Number of imports: 10

import: org.codehaus.classworlds.Entry@a6c57a42

import: org.codehaus.classworlds.Entry@12f43f3b

import: org.codehaus.classworlds.Entry@20025374

import: org.codehaus.classworlds.Entry@f8e44ca4

import: org.codehaus.classworlds.Entry@92758522

import: org.codehaus.classworlds.Entry@ebf2705b

import: org.codehaus.classworlds.Entry@bb25e54

import: org.codehaus.classworlds.Entry@bece5185

import: org.codehaus.classworlds.Entry@3fee8e37

import: org.codehaus.classworlds.Entry@3fee19d8

 

 

this realm = plexus.core

urls[0] = file:/usr/share/maven-bin-2.2/lib/maven-2.2.1-uber.jar

Number of imports: 10

import: org.codehaus.classworlds.Entry@a6c57a42

import: org.codehaus.classworlds.Entry@12f43f3b

import: org.codehaus.classworlds.Entry@20025374

import: org.codehaus.classworlds.Entry@f8e44ca4

import: org.codehaus.classworlds.Entry@92758522

import: org.codehaus.classworlds.Entry@ebf2705b

import: org.codehaus.classworlds.Entry@bb25e54

import: org.codehaus.classworlds.Entry@bece5185

import: org.codehaus.classworlds.Entry@3fee8e37

import: org.codehaus.classworlds.Entry@3fee19d8

-----------------------------------------------------

[INFO] ------------------------------------------------------------------------

[ERROR] BUILD ERROR

[INFO] ------------------------------------------------------------------------

[INFO] Internal error in the plugin manager executing goal 'org.codehaus.mojo:gwt-maven-plugin:1.2.jboss:compile': Unable to load the mojo 'org.codehaus.mojo:gwt-maven-plugin:1.2.jboss:compile' in the plugin 'org.codehaus.mojo:gwt-maven-plugin'. A required class is missing: org/codehaus/plexus/compiler/util/scan/InclusionScanException

[INFO] ------------------------------------------------------------------------

[INFO] For more information, run Maven with the -e switch

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 8 seconds

[INFO] Finished at: Fri Oct 30 15:59:44 CDT 2009

[INFO] Final Memory: 13M/33M

[INFO] ------------------------------------------------------------------------

 

Does anyone know how to get past this?

 

 

Thanks,

-          Kevin