Dear all, I'm trying to create a 1.1-SNAPSHOT project but I keep failing. I'm not sure what's happening so I'd really appreciate it if someone can point out my fault.
This is the exact command I type: mvn archetype:generate -U -DarchetypeGroupId=net.liftweb - DarchetypeArtifactId=lift-archetype-blank -DarchetypeVersion=1.1- SNAPSHOT -DremoteRepositories=http://scala-tools.org/repo-snapshots - DgroupId=demo.helloworld -DartifactId=helloworld -Dversion=1.0- SNAPSHOT This is the command line response [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 u dates 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.plexu .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 {execution: default-cli}] [INFO] Generating project in Interactive mode [INFO] Archetype repository missing. Using the one from [net.liftweb:lift-arche ype-blank:RELEASE -> http://scala-tools.org/repo-releases] found in catalog int rnal [INFO] snapshot net.liftweb:lift-archetype-blank:1.1-SNAPSHOT: checking for upd tes from lift-archetype-blank-repo Downloading: http://scala-tools.org/repo-releases/net/liftweb/lift-archetype-bl nk/1.1-SNAPSHOT/lift-archetype-blank-1.1-SNAPSHOT.jar [INFO] Unable to find resource 'net.liftweb:lift-archetype-blank:jar: 1.1-SNAPSH T' in repository lift-archetype-blank-repo (http://scala-tools.org/ repo-release ) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] The desired archetype does not exist (net.liftweb:lift- archetype-blank:1 1-SNAPSHOT) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 8 seconds [INFO] Finished at: Mon Nov 16 01:15:43 SGT 2009 [INFO] Final Memory: 8M/14M [INFO] ------------------------------------------------------------------------ which I'm quite curious why is the case. Why does it always default to repo-releases on the scala-tools.org website even when I specify the remote-repositories? Sorry for the noob question. Thanks! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
