For SNAPSHOTs, you need to add the SNAPSHOT repo explicitly.

Try this command:

mvn archetype:generate -U \
   -DarchetypeGroupId=net.liftweb \
   -DarchetypeArtifactId=lift-archetype-basic \
   -DarchetypeVersion=2.0-scala280-SNAPSHOT \
   -DarchetypeRepository=http://scala-tools.org/repo-snapshots \
   -DremoteRepositories=http://scala-tools.org/repo-snapshots \
   -DgroupId=$1 -DartifactId=$2

NB: My previous reply was a supplement of this one:
http://groups.google.com/group/liftweb/msg/0734a3a1b7d0424d

Cheers, Indrajit

On 30/01/10 12:50 AM, Meredith Gregory wrote:
Dear Indrajit,

See the trace below with the archetypeVersion set as you suggest.

Best wishes,

--greg

bash-3.2$ bin/mklift.sh com.biosimilarity.identity WhiteRabbit
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] org.apache.maven.plugins: checking for updates from central
[INFO] org.codehaus.mojo: checking for updates from central
[INFO] artifact org.apache.maven.plugins:maven-archetype-plugin:
checking for updates from central
[INFO]
------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [archetype:generate] (aggregator-style)
[INFO]
------------------------------------------------------------------------
[INFO] Preparing archetype:generate
[INFO] No goals needed for project - skipping
[INFO] Setting property: classpath.resource.loader.class =>
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [archetype:generate]
[INFO] Generating project in Interactive mode
[INFO] Archetype repository missing. Using the one from
[net.liftweb:lift-archetype-basic:RELEASE ->
http://scala-tools.org/repo-releases] found in catalog internal
[INFO] snapshot net.liftweb:lift-archetype-basic:2.0-scala280-SNAPSHOT:
checking for updates from lift-archetype-basic-repo
Downloading:
http://scala-tools.org/repo-releases/net/liftweb/lift-archetype-basic/2.0-scala280-SNAPSHOT/lift-archetype-basic-2.0-scala280-SNAPSHOT.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] The desired archetype does not exist
(net.liftweb:lift-archetype-basic:2.0-scala280-SNAPSHOT)
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 5 seconds
[INFO] Finished at: Fri Jan 29 11:19:16 PST 2010
[INFO] Final Memory: 8M/15M
[INFO]
------------------------------------------------------------------------
bash-3.2$

On Fri, Jan 29, 2010 at 11:16 AM, Meredith Gregory
<lgreg.mered...@gmail.com <mailto:lgreg.mered...@gmail.com>> wrote:

    Dear Indrajit,

    -DarchetypeVersion=2.0-scala280-SNAPSHOT

    was the first thing i tried and that failed. ;-(

    Best wishes,

    --greg


    On Fri, Jan 29, 2010 at 11:15 AM, David Pollak
    <feeder.of.the.be...@gmail.com
    <mailto:feeder.of.the.be...@gmail.com>> wrote:



        On Thu, Jan 28, 2010 at 9:04 PM, Indrajit Raychaudhuri
        <indraj...@gmail.com <mailto:indraj...@gmail.com>> wrote:

            The Lift 2.0 snapshot jars for Scala 2.8 are now available
            on scala-tools Maven repository. Feel free to try your Lift
            application against 2.0-scala280-SNAPSHOT jars.

            You can change Lift artifact dependencies version to
            2.0-scala280-SNAPSHOT in you application pom and proceed to
            build as usual.


        Awesome!  Let the Lift on Scala 2.8 Beta1 testing and feedback
        commence.


            Cheers, Indrajit


            On 28/01/10 2:31 AM, David Pollak wrote:

                Folks,

                Lift is currently building against Scala 2.8 Beta1 and
                currently runs
                the examples/example app (the app that's at
                http://demo.liftweb.net).
                We have disabled many of the tests during the automated
                build because as
                of last night, not all the test frameworks (ScalaTest,
                Specs, and
                ScalaCheck) were compiled against 2.8 Beta1.

                We are doing continuous builds of Lift against the
                280_port_refresh
                branch at
                http://hudson.scala-tools.org/job/lift-scala280/  And
                will be
                publishing to the scala-tools.org
                <http://scala-tools.org> <http://scala-tools.org> Maven

                repository very soon now (today or tomorrow).

                Once we get the JAR files publishing to the
                Scala-tools.org Maven
                repository, we will open up the Lift list to report of
                problems running
                Lift apps against 2.8 Beta 1.  Please do not file
                tickets until there's
                been a discussion on the Lift list.

                Thanks,

                David

                --
                Lift, the simply functional web framework http://liftweb.net
                Beginning Scala http://www.apress.com/book/view/1430219890
                Follow me: http://twitter.com/dpp
                Surf the harmonics

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




        --
        Lift, the simply functional web framework http://liftweb.net
        Beginning Scala http://www.apress.com/book/view/1430219890
        Follow me: http://twitter.com/dpp
        Surf the harmonics

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




    --
    L.G. Meredith
    Managing Partner
    Biosimilarity LLC
    1219 NW 83rd St
    Seattle, WA 98117

    +1 206.650.3740

    http://biosimilarity.blogspot.com




--
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com

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

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

Reply via email to