I'm new to all this so take what I have to save with a heap of salt,
but have you considered dropping Maven for now?

With 1.5, I tried a setup with Maven + Eclipse + GWT.  I ended up
having a horribly complicated setup: loads of different run
configurations and Maven's compiles kept stepping on both GWT and
Eclipse's toes.  Yes, it worked, but only most of the time.  Even with
the m2eclipse plugin, it seems most of the benefit of having an IDE is
lost when using Maven since it's mostly relegated to running in the
console.  For instance, I had to tell Eclipse to incrementally compile
the files I saved to some unused directory somewhere so that the
"Problems" view would get populated, while Maven compiled the files
that would actually get used.  If I pointed them to the same target
directory, hell would ensue.  Essentially, Maven overlaps with both
GWT and Eclipse as build tools, and it doesn't always place with
others.

After upgrading to 1.6, with the new war structure and the "Restart
server" button now available (so that -noserver is even less
desirable), I found I only wanted Maven for it's dependency
management.  Even then, if you want to use new artifacts like gwt-1.6
or the latest gwt-incubator, you're pretty much forced into
establishing and maintaining a local Maven repository for your team.
If I have to do that, then I may as well just manage dependencies
manually.

While it's entirely possible that there is a great way of getting all
three tools to work harmoniously, I could not find it even after
months of searching.  For my project at this stage in it's
development, I'm happy enough with Eclipse + GWT-1.6.  Maybe in later
stages of development I'll reintroduce Maven, but hopefully by then,
all three tools will be easier to integrate (or at least, there is a
great tutorial site on how to do it right).

p.s. Since it's likely that you need Maven for a reason that I don't,
I tried a total of three different Maven+GWT plugins. The first was
the one you're trying now: googlewebtoolkit2.  After being unable to
get it function the way I needed, I moved on to Codehaus' plugin.
(Incidentally, the name conflict between the two is just shameful.)
But Codehaus' version wasn't what I needed either (although I liked
the idea of generating the RPC Async interfaces, why doesn't GWT do
that?).  I finally settled on a bare-bones custom coded plugin from a
demo in a GWT book I bought (http://code.google.com/p/tocollege-
net/).  Since all I needed was to optionally introduce the GWT
compiler in a Maven goal, it was perfect -- though obviously something
that can't be relied on years into the future.

On Apr 16, 4:24 pm, DaiLL <[email protected]> wrote:
> Hey,
>
> i'm quite demotivated, since 3 days i'm trying to establish a simple
> GWT project in Eclipse with an existing archetype (maven-
> googlewebtoolkit2-plugin, maven-archetype-gwt) but the auto build
> fails every time with two different error messages, the first is:
>
> Build errors for TestTheGWt;
> org.apache.maven.lifecycle.LifecycleExecutionException: Invalid or
> missing parameters: [Mojo parameter [name: 'artifactItems'; alias:
> 'null']]
>
> the second is:
>
> Build errors for GWT;
> org.apache.maven.lifecycle.LifecycleExecutionException: Internal error
> in the plugin manager executing goal 'net.sf.mgp:maven-gwt-plugin:
> 1.0.2:compile': Mojo execution failed.
>
> i've played a long time with the settings of eclipse, updated my maven
> installation, used the embedded maven version of m2eclipse und also
> the installed external. I've tried it with GWT 1.5.3 and 1.6.4 but
> nothings changed. So i would be very happy if anyone has a hint of
> solving this problem. It annoys me so much.
>
> best wishes,
> DaiLL
>
> P.S.: btw. im using it on a Mac OSX 10.5

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to