What do you get from "mvn -version" ?
On Mar 12, 12:30 pm, "[email protected]"
<[email protected]> wrote:
> Hi guys,
>
> I am just starting out with lift. I wanted to work my way through the
> "Getting Started" Example. But I just can't get maven to work
> correctly. When I run
>
> mvn archetype:generate -U -DarchetypeGroupId=net.liftweb -
> DarchetypeArtifactId=lift-archetype-blank -DarchetypeVersion=0.10 -
> DremoteRepositories=http://scala-tools.org/repo-releases-
> DgroupId=demo.helloworld -DartifactId=helloword -Dversion=1.0-SNAPSHOT
>
> I get the error "Required goal not found: archetype:generate" -
> running the command with -e gives the following stack trace:
>
> org.apache.maven.BuildFailureException: Required goal not found:
> archetype:generate
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
> (DefaultLifecycleExecutor.java:1538)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds
> (DefaultLifecycleExecutor.java:386)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> (DefaultLifecycleExecutor.java:138)
> 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)
>
> I tried to get this to work for 3 hours now, I already deleted the .m2
> directory, I changed it in the settings.xml, but nothing seems to
> work. I would really appreciate if someone had an idea with this...
>
> Erik
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Lift" 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/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---