[ 
http://jira.codehaus.org/browse/MGWT-299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=270282#comment-270282
 ] 

nicolas de loof commented on MGWT-299:
--------------------------------------

gwt-maven plugin only lanch the sdk compiler in a separate process, so I wonder 
you can compile successfully with eclipse.

Can you please run with debug (-X) to trace the compiler classpath ?
I don't know if Eclipse plugin can do same to compare them

> GWT Module com.smartgwt.SmartGwtNoTheme not found
> -------------------------------------------------
>
>                 Key: MGWT-299
>                 URL: http://jira.codehaus.org/browse/MGWT-299
>             Project: Maven 2.x GWT Plugin
>          Issue Type: Bug
>    Affects Versions: 2.3.0
>            Reporter: Sam Spycher
>
> Hi
> I found this error message documented in various places, and the consensus 
> seems to be that you need the sources for the jar in question, and of course 
> the corresponding gwt.xml module file. 
> The corresponding module file is contained in the jar, but unfortunately I 
> only have a partial source jar, since 
> http://code.google.com/p/smartgwt/source is not complete.
> HOWEVER: the eclipse gwt plugin compiles my project just fine using the same 
> smartgwt jars as maven without requiring a source jar. 
> => Shouldn't maven-gwt-plugin be able to compile in the same way as eclipse 
> gwt plugin?
> Previous discussions of error (see included links also):
> http://nexnet.wordpress.com/2010/10/05/gwt-module-xxx-not-found-in-project-sources-or-resources/
> Maven output
> ============
> localnet:kms_gui samdev$ mvn -e gwt:compile
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building GWT Maven Archetype
> [INFO]    task-segment: [gwt:compile]
> [INFO] 
> ------------------------------------------------------------------------
> Downloading: 
> http://repository.springsource.com/maven/bundles/release/com/smartgwt/smartgwt/2.4.0/smartgwt-2.4.0.pom
> [INFO] Unable to find resource 'com.smartgwt:smartgwt:pom:2.4.0' in 
> repository com.springsource.repository.bundles.release 
> (http://repository.springsource.com/maven/bundles/release)
> Downloading: 
> http://repository.springsource.com/maven/bundles/external/com/smartgwt/smartgwt/2.4.0/smartgwt-2.4.0.pom
> [INFO] Unable to find resource 'com.smartgwt:smartgwt:pom:2.4.0' in 
> repository com.springsource.repository.bundles.external 
> (http://repository.springsource.com/maven/bundles/external)
> Downloading: 
> http://repository.springsource.com/maven/libraries/release/com/smartgwt/smartgwt/2.4.0/smartgwt-2.4.0.pom
> [INFO] Unable to find resource 'com.smartgwt:smartgwt:pom:2.4.0' in 
> repository com.springsource.repository.libraries.release 
> (http://repository.springsource.com/maven/libraries/release)
> Downloading: 
> http://repository.springsource.com/maven/libraries/external/com/smartgwt/smartgwt/2.4.0/smartgwt-2.4.0.pom
> [INFO] Unable to find resource 'com.smartgwt:smartgwt:pom:2.4.0' in 
> repository com.springsource.repository.libraries.external 
> (http://repository.springsource.com/maven/libraries/external)
> Downloading: 
> http://repo1.maven.org/maven2/com/smartgwt/smartgwt/2.4.0/smartgwt-2.4.0.pom
> [INFO] Unable to find resource 'com.smartgwt:smartgwt:pom:2.4.0' in 
> repository central (http://repo1.maven.org/maven2)
> Downloading: 
> http://repository.springsource.com/maven/bundles/release/com/smartgwt/smartgwt-skins/2.4.0/smartgwt-skins-2.4.0.pom
> [INFO] Unable to find resource 'com.smartgwt:smartgwt-skins:pom:2.4.0' in 
> repository com.springsource.repository.bundles.release 
> (http://repository.springsource.com/maven/bundles/release)
> Downloading: 
> http://repository.springsource.com/maven/bundles/external/com/smartgwt/smartgwt-skins/2.4.0/smartgwt-skins-2.4.0.pom
> [INFO] Unable to find resource 'com.smartgwt:smartgwt-skins:pom:2.4.0' in 
> repository com.springsource.repository.bundles.external 
> (http://repository.springsource.com/maven/bundles/external)
> Downloading: 
> http://repository.springsource.com/maven/libraries/release/com/smartgwt/smartgwt-skins/2.4.0/smartgwt-skins-2.4.0.pom
> [INFO] Unable to find resource 'com.smartgwt:smartgwt-skins:pom:2.4.0' in 
> repository com.springsource.repository.libraries.release 
> (http://repository.springsource.com/maven/libraries/release)
> Downloading: 
> http://repository.springsource.com/maven/libraries/external/com/smartgwt/smartgwt-skins/2.4.0/smartgwt-skins-2.4.0.pom
> [INFO] Unable to find resource 'com.smartgwt:smartgwt-skins:pom:2.4.0' in 
> repository com.springsource.repository.libraries.external 
> (http://repository.springsource.com/maven/libraries/external)
> Downloading: 
> http://repo1.maven.org/maven2/com/smartgwt/smartgwt-skins/2.4.0/smartgwt-skins-2.4.0.pom
> [INFO] Unable to find resource 'com.smartgwt:smartgwt-skins:pom:2.4.0' in 
> repository central (http://repo1.maven.org/maven2)
> [INFO] [gwt:compile {execution: default-cli}]
> [INFO] auto discovered modules [ch.adeya.kms2.gui.kms_gui]
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] GWT Module com.smartgwt.SmartGwtNoTheme not found in project sources 
> or resources.
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: GWT Module 
> com.smartgwt.SmartGwtNoTheme not found in project sources or resources.
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
>       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
>       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
>       at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
>       at 
> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>       at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>       at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>       at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: GWT Module 
> com.smartgwt.SmartGwtNoTheme not found in project sources or resources.
>       at 
> org.codehaus.mojo.gwt.shell.CompileMojo.compilationRequired(CompileMojo.java:402)
>       at org.codehaus.mojo.gwt.shell.CompileMojo.compile(CompileMojo.java:292)
>       at 
> org.codehaus.mojo.gwt.shell.CompileMojo.doExecute(CompileMojo.java:224)
>       at 
> org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo.execute(AbstractGwtShellMojo.java:134)
>       at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
>       ... 17 more
> Caused by: org.codehaus.mojo.gwt.utils.GwtModuleReaderException: GWT Module 
> com.smartgwt.SmartGwtNoTheme not found in project sources or resources.
>       at 
> org.codehaus.mojo.gwt.AbstractGwtModuleMojo.readModule(AbstractGwtModuleMojo.java:205)
>       at org.codehaus.mojo.gwt.GwtModule.getLocalInherits(GwtModule.java:186)
>       at org.codehaus.mojo.gwt.GwtModule.getInherits(GwtModule.java:146)
>       at org.codehaus.mojo.gwt.GwtModule.getEntryPoints(GwtModule.java:111)
>       at 
> org.codehaus.mojo.gwt.shell.CompileMojo.compilationRequired(CompileMojo.java:341)
>       ... 22 more
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 10 seconds
> [INFO] Finished at: Sun Jun 12 22:48:47 CEST 2011
> [INFO] Final Memory: 26M/123M
> [INFO] 
> ------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to