Ouch. I hate it when the archetype doesn't work, of all things, that
is supposed to be clean and work and get you started  . . . and . . .
well on to trying to fix it.

I haven't seen that one before myself, but Googling around it seems
like it may be related to Maven 2.0.4 or earlier stuff, all those
WARNINGs about not being 4.0 POMs are not normal.  Could be you are
using some older Maven stuff, or it could be us in the plugin (I
haven't changed the versions of the core Maven and Plexus and so on
stuff in forever). Please run with mvn -X and post all the debug
output, then we should be able to figure it out.

I see several posts like this around:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg90940.html, you
might try it, but to be honest I don't know the what or why there.

On Oct 21, 8:54 pm, "Arthur Kalmenson" <[EMAIL PROTECTED]> wrote:
> Hello everyone,
>
> I just used the archetype to create a new project on Mac OS X Leopard
> and I ran the gwt:gwt goal right after creating it. I got the
> following error:
>
> zeus:test arthur$ mvn gwt:gwt
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'gwt'.
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] Building gwt-maven-archetype-project
> [INFO]    task-segment: [gwt:gwt]
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] Preparing gwt:gwt
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [WARNING] POM for 'com.google.gwt:gwt-servlet:pom:1.5.2:runtime' is
> invalid. It will be ignored for artifact resolution. Reason: Not a
> v4.0.0 POM.
> [INFO] [compiler:compile]
> [INFO] Compiling 1 source file to /Users/arthur/Tmp/test/target/classes
> [WARNING] POM for 'org.codehaus.plexus:plexus-utils:pom:1.4.6:runtime'
> is invalid. It will be ignored for artifact resolution. Reason: Not a
> v4.0.0 POM.
> [WARNING] POM for 'org.codehaus.plexus:plexus-utils:pom:1.4.6:runtime'
> is invalid. It will be ignored for artifact resolution. Reason: Not a
> v4.0.0 POM.
> [WARNING] POM for 'org.codehaus.plexus:plexus-utils:pom:1.4.6:runtime'
> is invalid. It will be ignored for artifact resolution. Reason: Not a
> v4.0.0 POM.
> [WARNING] POM for 'org.codehaus.plexus:plexus-utils:pom:1.4.6:runtime'
> is invalid. It will be ignored for artifact resolution. Reason: Not a
> v4.0.0 POM.
> [WARNING] POM for 'org.codehaus.plexus:plexus-utils:pom:1.4.6:runtime'
> is invalid. It will be ignored for artifact resolution. Reason: Not a
> v4.0.0 POM.
> [WARNING] POM for 'org.codehaus.plexus:plexus-utils:pom:1.4.6:runtime'
> is invalid. It will be ignored for artifact resolution. Reason: Not a
> v4.0.0 POM.
> [WARNING] POM for 'org.codehaus.plexus:plexus-utils:pom:1.4.6:runtime'
> is invalid. It will be ignored for artifact resolution. Reason: Not a
> v4.0.0 POM.
> [WARNING] POM for 'org.codehaus.plexus:plexus-utils:pom:1.4.6:runtime'
> is invalid. It will be ignored for artifact resolution. Reason: Not a
> v4.0.0 POM.
> [WARNING] POM for 'org.codehaus.plexus:plexus-utils:pom:1.4.6:runtime'
> is invalid. It will be ignored for artifact resolution. Reason: Not a
> v4.0.0 POM.
> [WARNING] POM for 'org.codehaus.plexus:plexus-utils:pom:1.4.6:runtime'
> is invalid. It will be ignored for artifact resolution. Reason: Not a
> v4.0.0 POM.
> [WARNING] POM for 'org.codehaus.plexus:plexus-utils:pom:1.4.6:runtime'
> is invalid. It will be ignored for artifact resolution. Reason: Not a
> v4.0.0 POM.
> [WARNING] POM for 'org.codehaus.plexus:plexus-utils:pom:1.4.6:runtime'
> is invalid. It will be ignored for artifact resolution. Reason: Not a
> v4.0.0 POM.
> [WARNING] POM for 'org.codehaus.plexus:plexus-utils:pom:1.4.6:runtime'
> is invalid. It will be ignored for artifact resolution. Reason: Not a
> v4.0.0 POM.
> [INFO] [dependency:unpack {execution: unpack}]
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] org/codehaus/plexus/util/StringUtils
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NoClassDefFoundError: org/codehaus/plexus/util/StringUtils
>         at 
> org.apache.maven.plugin.dependency.fromConfiguration.ArtifactItem.toString(ArtifactItem.java:236)
>         at 
> org.apache.maven.plugin.dependency.fromConfiguration.AbstractFromConfigurationMojo.getProcessedArtifactItems(AbstractFromConfigurationMojo.java:129)
>         at 
> org.apache.maven.plugin.dependency.fromConfiguration.UnpackMojo.getProcessedArtifactItems(UnpackMojo.java:138)
>         at 
> org.apache.maven.plugin.dependency.fromConfiguration.UnpackMojo.execute(UnpackMojo.java:88)
>         at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:896)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:739)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:510)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
>         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:585)
>         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)
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 4 seconds
> [INFO] Finished at: Tue Oct 21 20:51:53 EDT 2008
> [INFO] Final Memory: 13M/27M
> [INFO] 
> ------------------------------------------------------------------------
>
> Any ideas why this might be? Thank you in advance.
>
> Regards,
> --
> Arthur Kalmenson
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"gwt-maven" 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/gwt-maven?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to