Nolan Darilek <[email protected]> writes:

> OK, I must be missing something.
>
> I copied this almost verbatem from the mini-guide on the Wiki,
> modified it and made it a shell script. Here's what I have:
>
> #!/bin/sh
>
> mvn archetype:generate -DarchetypeGroupId=net.liftweb \
>   -DarchetypeVersion=2.0-SNAPSHOT \
>   -DremoteRepositories=http://scala-tools.org/repo-snapshots \
>   -DgroupId=$1 \
>   -DartifactId=$2
>
>
> When I run this, then select either blank or basic from the menu, I
> get what appears to be outdated code. Specifically, it wants to fetch
> Lift 0.8.
>
> What am I missing? It's been a while since I've generated a fresh project.

This works:

mvn archetype:generate \
  -DarchetypeRepository=http://scala-tools.org/repo-snapshots \
  -DremoteRepositories=http://scala-tools.org/repo-snapshots \
  -DarchetypeGroupId=net.liftweb \
  -DarchetypeArtifactId=lift-archetype-blank \
  -DarchetypeVersion=1.1-SNAPSHOT \
  -DgroupId=com.mypackage \
  -DartifactId=myproject \
  -Dversion=1.0-SNAPSHOT

Have a look here:

http://www.mail-archive.com/[email protected]/msg15034.html

/Jeppe

-- 
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.

Reply via email to