Maven and Unable to find resource

34 views
Skip to first unread message

Jimmy

unread,
Oct 1, 2010, 6:01:02 PM10/1/10
to Lift
Hi,

Im a bit of a Scala, Lift and maven newbie so apologies if this is
basic question. When i run the maven command for Scala 2.8 as
described in the Lift Wiki

mvn archetype:generate \
-DarchetypeGroupId=net.liftweb \
-DarchetypeArtifactId=lift-archetype-basic_2.8.0 \
-DarchetypeVersion=2.1-SNAPSHOT \
-DarchetypeRepository=http://scala-tools.org/repo-snapshots \
-DremoteRepositories=http://scala-tools.org/repo-snapshots \
-DgroupId=com.company \
-DartifactId=lift_test \
-Dversion=1.0

I get the error

[INFO] Unable to find resource 'net.liftweb:lift-archetype-
basic_2.8.0:jar:2.1-SNAPSHOT' in repository lift-archetype-basic_2.8.0-
repo (http://scala-tools.org/repo-snapshots)

Any ideas what I'm doing wrong?
Thanks,
Jimmy

Timothy Perrett

unread,
Oct 1, 2010, 6:06:17 PM10/1/10
to lif...@googlegroups.com
2.1 is GA now. Try:

mvn archetype:generate \
-DarchetypeGroupId=net.liftweb \
-DarchetypeArtifactId=lift-archetype-basic_2.8.0 \

-DarchetypeVersion=2.1 \
-DarchetypeRepository=http://scala-tools.org/repo-releases \
-DremoteRepositories=http://scala-tools.org/repo-releases \
-DgroupId=com.company \
-DartifactId=lift_test \
-Dversion=1.0

Cheers, Tim

> --
> You received this message because you are subscribed to the Google Groups "Lift" group.
> To post to this group, send email to lif...@googlegroups.com.
> To unsubscribe from this group, send email to liftweb+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
>
>

Jimmy

unread,
Oct 2, 2010, 10:14:01 AM10/2/10
to Lift
Thanks Tim, that did the trick.
Reply all
Reply to author
Forward
0 new messages