Hi !
That worked.
Output follows:
Imtiaz, Imtiaz Ahmed H E, Bangalore, India
d:\LiftWorkspace>mvn
org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7
:create -U -DarchetypeGroupId=net.liftweb -DarchetypeArtifactId=lift-archetype
-blank -DarchetypeVersion=2.0-SNAPSHOT -DremoteRepositories=
http://scala-tools.o
rg/repo-snapshots -DgroupId=demo.lifty -DartifactId=lifty-test
[INFO] Scanning for projects...
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-archet
ype-plugin/1.0-alpha-7/maven-archetype-plugin-1.0-alpha-7.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-arch
etype/1.0-alpha-7/maven-archetype-1.0-alpha-7.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-arch
etype-parent/2/maven-archetype-parent-2.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-archet
ype-plugin/1.0-alpha-7/maven-archetype-plugin-1.0-alpha-7.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO] task-segment:
[org.apache.maven.plugins:maven-archetype-plugin:1.0-alp
ha-7:create] (aggregator-style)
[INFO] ------------------------------------------------------------------------
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-arch
etype-core/1.0-alpha-7/maven-archetype-core-1.0-alpha-7.pom
Downloading:
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-velocity/1
.1.2/plexus-velocity-1.1.2.pom
Downloading:
http://repo1.maven.org/maven2/commons-collections/commons-collectio
ns/2.0/commons-collections-2.0.pom
Downloading:
http://repo1.maven.org/maven2/commons-logging/commons-logging-api/1
.0.4/commons-logging-api-1.0.4.pom
Downloading:
http://repo1.maven.org/maven2/velocity/velocity/1.4/velocity-1.4.po
m
Downloading:
http://repo1.maven.org/maven2/velocity/velocity-dep/1.4/velocity-de
p-1.4.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/shared/maven-downloa
der/1.0/maven-downloader-1.0.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-arch
etype-creator/1.0-alpha-7/maven-archetype-creator-1.0-alpha-7.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-arch
etype-model/1.0-alpha-7/maven-archetype-model-1.0-alpha-7.pom
Downloading:
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/1
.0-alpha-5/plexus-archiver-1.0-alpha-5.pom
Downloading:
http://repo1.maven.org/maven2/plexus/plexus-utils/1.0.2/plexus-util
s-1.0.2.jar
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/shared/maven-downloa
der/1.0/maven-downloader-1.0.jar
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-arch
etype-core/1.0-alpha-7/maven-archetype-core-1.0-alpha-7.jar
Downloading:
http://repo1.maven.org/maven2/velocity/velocity/1.4/velocity-1.4.ja
r
Downloading:
http://repo1.maven.org/maven2/commons-logging/commons-logging-api/1
.0.4/commons-logging-api-1.0.4.jar
Downloading:
http://repo1.maven.org/maven2/commons-collections/commons-collectio
ns/2.0/commons-collections-2.0.jar
Downloading:
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-velocity/1
.1.2/plexus-velocity-1.1.2.jar
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-arch
etype-creator/1.0-alpha-7/maven-archetype-creator-1.0-alpha-7.jar
Downloading:
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/1
.0-alpha-5/plexus-archiver-1.0-alpha-5.jar
Downloading:
http://repo1.maven.org/maven2/velocity/velocity-dep/1.4/velocity-de
p-1.4.jar
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-arch
etype-model/1.0-alpha-7/maven-archetype-model-1.0-alpha-7.jar
[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] **************************************************************
[INFO] Starting Jakarta Velocity v1.4
[INFO] RuntimeInstance initializing.
[INFO] Default Properties File:
org\apache\velocity\runtime\defaults\
velocity.pr
operties
[INFO] Default ResourceManager initializing. (class
org.apache.velocity.runtime.
resource.ResourceManagerImpl)
[INFO] Resource Loader Instantiated:
org.codehaus.plexus.velocity.ContextClassLo
aderResourceLoader
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] ResourceCache : initialized. (class
org.apache.velocity.runtime.resource.
ResourceCacheImpl)
[INFO] Default ResourceManager initialization complete.
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Literal
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Include
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Foreach
[INFO] Created: 20 parsers.
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template :
VM_global_library.vm
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in
any
resource loader.
[INFO] Velocimacro : error using VM library template VM_global_library.vm :
org
.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'V
M_global_library.vm'
[INFO] Velocimacro : VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in
templates
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may
NOT
replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be
glob
al in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] [archetype:create {execution: default-cli}]
[INFO] Defaulting package to group ID: demo.lifty
[INFO] We are using command line specified remote repositories:
http://scala-too
ls.org/repo-snapshots
[INFO] snapshot net.liftweb:lift-archetype-blank:2.0-SNAPSHOT: checking for
upda
tes from id0
Downloading:
http://scala-tools.org/repo-snapshots/net/liftweb/lift-archetype-bl
ank/2.0-SNAPSHOT/lift-archetype-blank-2.0-SNAPSHOT.jar
7K downloaded (lift-archetype-blank-2.0-SNAPSHOT.jar)
[INFO] -------------------------------------------------------------------------
---
[INFO] Using following parameters for creating Archetype:
lift-archetype-blank:2
.0-SNAPSHOT
[INFO] -------------------------------------------------------------------------
---
[INFO] Parameter: groupId, Value: demo.lifty
[INFO] Parameter: packageName, Value: demo.lifty
[INFO] Parameter: package, Value: demo.lifty
[INFO] Parameter: artifactId, Value: lifty-test
[INFO] Parameter: basedir, Value: d:\LiftWorkspace
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference :
template = archetype-resources/pom.xml [line 16,column 20] : $scalaVersion
is no
t a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference :
template = archetype-resources/pom.xml [line 47,column 16] : $liftVersion is
not
a valid reference.
[INFO] ********************* End of debug info from resources from generated
POM
***********************
[INFO] Archetype created in dir: d:\LiftWorkspace\lifty-test
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 42 seconds
[INFO] Finished at: Tue Apr 27 17:41:42 IST 2010
[INFO] Final Memory: 5M/15M
[INFO] ------------------------------------------------------------------------
d:\LiftWorkspace>