Immanuel, After printing the "Scanning for Projects..." message, maven is walking down the source tree in the current folder. It is looking for a pom.xml and then processing the modules to find those poms.
In your case, there should be no poms since you are doing a create, so it's a little odd that it hangs there. Try adding the -X command to see what you get for output. I tried the exact command you pasted and it's ok for me on 2.0.8: C:\Users\brianf\temp>mvn archetype:create -DgroupId=maven-test -DartifactId=mave n-test [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] ------------------------------------------------------------------------ [INFO] Building Maven Default Project [INFO] task-segment: [archetype:create] (aggregator-style) [INFO] ------------------------------------------------------------------------ [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] [INFO] Defaulting package to group ID: maven-test [INFO] artifact org.apache.maven.archetypes:maven-archetype-quickstart: checking for updates from central Downloading: http://repo1.maven.org/maven2/org/apache/maven/archetypes/maven-arc hetype-quickstart/1.0/maven-archetype-quickstart-1.0.jar 4K downloaded [INFO] ------------------------------------------------------------------------ - --- [INFO] Using following parameters for creating Archetype: maven-archetype-quicks tart:RELEASE [INFO] ------------------------------------------------------------------------ - --- [INFO] Parameter: groupId, Value: maven-test [INFO] Parameter: packageName, Value: maven-test [INFO] Parameter: package, Value: maven-test [INFO] Parameter: artifactId, Value: maven-test [INFO] Parameter: basedir, Value: C:\Users\brianf\temp [INFO] Parameter: version, Value: 1.0-SNAPSHOT [INFO] ********************* End of debug info from resources from generated POM *********************** [INFO] Archetype created in dir: C:\Users\brianf\temp\maven-test [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2 seconds [INFO] Finished at: Sun Dec 30 11:50:48 EST 2007 [INFO] Final Memory: 5M/9M [INFO] ------------------------------------------------------------------------ -----Original Message----- From: Immanuel Normann [mailto:[EMAIL PROTECTED] Sent: Sunday, December 30, 2007 7:13 AM To: users@maven.apache.org Subject: Scanning for projects ... hangs Hello, I have just installed maven on my Linux (Ubuntu Hardy) machine: $ mvn -version Maven version: 2.0.8 Java version: 1.4.2 OS name: "linux" version: "2.6.20-15-generic" arch: "i386" Family: "unix" and I have followed the "maven in 5 minutes tutorial" (http://maven.apache.org/guides/getting-started/maven-in-five-minutes.ht ml) trying to create a project with $ mvn archetype:create -DgroupId=maven-test -DartifactId=maven-test but maven hangs with [INFO] Scanning for projects... I have searched this mailing list for this problem and already found some related mails, but nothing that actually solves my problem. Any idea why maven hangs? After "maven in 5 hours" ;-) I have no clue where to look at. May be it would be helpful to know how maven scans for projects in order to understand how it possibly runs into cycles. Thanks, Normann --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]