Wendy, Thanks, but I've tried those but only this list works:
maven-archetype-java maven-archetype-mojo maven-archetype-quickstart maven-archetype-site maven-archetype-webapp The rest fail like this: C:\projects>mvn archetype:create -DgroupId=com.company.your -DartifactId=defaul t-profiles -DarchetypeArtifactId=maven-archetype-profiles [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: resource.loader => 'classpath'. [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 : messages on : VM system will output logging messages [INFO] Velocimacro : autoload off : VM system will not automatically reload glo bal library macros [INFO] Velocimacro : initialization complete. [INFO] Velocity successfully started. [INFO] [archetype:create] [INFO] Defaulting package to group ID: com.company.your [INFO] artifact org.apache.maven.archetypes:maven-archetype-profiles: checking f or updates from central [INFO] ------------------------------------------------------------------------- [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------- [INFO] Failed to resolve artifact. GroupId: org.apache.maven.archetypes ArtifactId: maven-archetype-profiles Version: RELEASE Reason: Unable to determine the release version org.apache.maven.archetypes:maven-archetype-profiles:jar:RELEASE [INFO] ------------------------------------------------------------------------- [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------- [INFO] Total time: 2 seconds [INFO] Finished at: Thu Jan 26 09:09:15 EST 2006 [INFO] Final Memory: 4M/7M [INFO] ------------------------------------------------------------------------- Should I file a Jira issue for this? Looks like the POM's are broken or something. Regards, Alex -----Original Message----- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, January 26, 2006 8:55 AM To: Maven Users List Subject: Re: M2: Valid archetypes On 1/26/06, Mayorgaadame, Alex <[EMAIL PROTECTED]> wrote: > Anyone knows the list of valid archetypeArtifactId for the following command: > > mvn archetype:create -DgroupId=com.company.your -DartifactId=default-webapp > -DarchetypeArtifactId=maven-archetype-webapp > > I would like to know what kind of projects could be created from templates as > of now, but I couldn't find any document stating those for Maven 2. I can't find it either, though I think I've seen it somewhere... You can see the archetypes in the Subversion repository, though: http://svn.apache.org/repos/asf/maven/archetype/trunk/maven-archetypes/ And you can create your own archetypes: http://maven.apache.org/guides/mini/guide-creating-archetypes.html -- Wendy --------------------------------------------------------------------- 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]
