One other thought, it might not be that exact file, but you may have a
corrupt file in your repo or something. Try to just move ~/.m2/
repository to ~/.m2/repository.old and then run it again - let it
download all fresh stuff (will take a few minutes). See if that
works, if it does, it's a corrupt repo (and then you can either try
one artifact at a time to see what it is, or just start using the new
repo permanently and delete the old - depends on how much you care
about starting your repo over, etc).
Let me know though, very interested to try to make sure the archetype
is as robust as possible.
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
-~----------~----~----~----~------~----~------~--~---