I tried your command on my machine and all went well. You might want to try and blow away your entire maven repository ~/.m2
This was a problem discussed last week after 2.7.2 was released. On Thu, Dec 4, 2008 at 1:11 AM, Harshad RJ <[EMAIL PROTECTED]> wrote: > Hi, > > How do I create a blank lift project (as given in the hello darwin > tutorial) with scala 2.7.2? (I am not good at maven) > > This is the command I issued: > > ~/local/apache-maven-2.0.9/bin/mvn archetype:generate -U \ > -DarchetypeGroupId=net.liftweb \ > -DarchetypeArtifactId=lift-archetype-blank \ > -DarchetypeVersion=0.10-SNAPSHOT \ > -DremoteRepositories=http://scala-tools.org/repo-snapshots \ > -DgroupId=foogroup -DartifactId=foo > > This results in the following error: > [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.ContextClassLoaderResourceLo > ader'. > [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-blank:RELEASE -> http://scala-tool > s.org/repo-releases] found in catalog internal > [INFO] snapshot net.liftweb:lift-archetype-blank:0.10-SNAPSHOT: checking > for updates from lift-archetype-blank-repo > Downloading: > http://scala-tools.org/repo-releases/net/liftweb/lift-archetype-blank/0.10-SNAPSHOT/lift-archetype-blank- > 0.10-SNAPSHOT.jar > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] The desired archetype does not exist > (net.liftweb:lift-archetype-blank:0.10-SNAPSHOT) > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 8 seconds > [INFO] Finished at: Thu Dec 04 12:41:08 IST 2008 > [INFO] Final Memory: 8M/15M > [INFO] > ------------------------------------------------------------------------ > > What am I doing wrong? > > Thanks, > -- > Harshad RJ > http://hrj.wikidot.com > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
