Eclipse sample project

Hi all, I’ve been trying to get started with SmartGWT (after using GWT-Ext for a sizable project).

I’ve been following the instructions at this page:
http://smartgwt.rorschach.de/index.php5/Setting_up_Eclipse_%26_Maven2

I pulled my hair out getting Maven installed, but it turns out it just didn’t want to work in Eclipse 3.4.2 and installed fine in 3.4.1.

I created the project, and followed the instructions on modifying the pom.xml file, and came across this error when building:

2/03/09 3:20:10 PM: [INFO] Scanning for projects...
2/03/09 3:20:10 PM: [INFO] ------------------------------------------------------------------------
2/03/09 3:20:10 PM: [INFO] Building gwt-maven-archetype-project
2/03/09 3:20:10 PM: [INFO] 
2/03/09 3:20:10 PM: [INFO] Id: com.acme:helloworld:war:0.0.1-SNAPSHOT
2/03/09 3:20:10 PM: [INFO] task-segment: [org.apache.maven.plugins:maven-resources-plugin:2.2:resources, org.apache.maven.plugins:maven-dependency-plugin:2.0:unpack, com.totsp.gwt:maven-googlewebtoolkit2-plugin:2.0-beta26:compile, org.apache.maven.plugins:maven-resources-plugin:2.2:testResources]
2/03/09 3:20:10 PM: [INFO] ------------------------------------------------------------------------
2/03/09 3:20:10 PM: [INFO] [resources:resources]
2/03/09 3:20:10 PM: [INFO] Using default encoding to copy filtered resources.
2/03/09 3:20:10 PM: Build errors for helloworld; org.apache.maven.lifecycle.LifecycleExecutionException: Invalid or missing parameters: [Mojo parameter [name: 'artifactItems'; alias: 'null']] for mojo: org.apache.maven.plugins:maven-dependency-plugin:2.0:unpack

I’ve spent several hours googling about this, but to no avail. Theres a similar thread here which was due to GWT not being found.

If I go ahead and do a “Run as Maven build” I get this:

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building gwt-maven-archetype-project
[INFO] 
[INFO] Id: com.acme:helloworld:war:0.0.1-SNAPSHOT
[INFO] task-segment: [gwt:gwt]
[INFO] ------------------------------------------------------------------------
[INFO] [statemgmt:start-fork]
[INFO] Starting forked execution [fork id: -982728998]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [dependency:unpack]
[INFO] Configured Artifact: com.google.gwt:gwt-dev:windows-libs:1.5.3:zip
[INFO] gwt-dev-1.5.3-windows-libs.zip already unpacked.
[INFO] [statemgmt:end-fork]
[INFO] Ending forked execution [fork id: -982728998]
[INFO] [gwt:gwt]
[INFO] source web.xml present - C:\Programming\workspace\helloworld\src\main\webapp\WEB-INF\web.xml - using it with embedded Tomcat
[INFO] establishing classpath list (buildClaspathList - scope = RUNTIME)
[INFO] google.webtoolkit.home (gwtHome) *not* set, using project POM for GWT dependencies

GWT Hosted Mode fires up and shows me the sample page “GWT-Maven Archetype Project - com.acme.helloworld”, so it seems to be ok - but why the first error?

Any help or pointers appreciated :slight_smile:

As you said we had that problem before and that time the culprit was an Umlaut in the path to the local Maven repository.

What is the path to your Home-folder or local Maven repository ?
Do you have any non-US-ASCII characters in your username ?

My home folder is:
C:\Documents and Settings\sunny\

And accordingly, the Maven repository is in:
C:\Documents and Settings\sunny.m2

I’m on XP x64, if that makes a difference. It is a clean install of Eclipse 3.4.1, the only other plugin installed is Subclipse.

Thanks for the help so far :slight_smile:

bumpetybump