OK - I just updated the directory structure, and corresponding documentation, and synced, so it should work now...
--- Ole Ersoy <[EMAIL PROTECTED]> wrote: > Yes I know - Very impressive isn't it? > > OK - Somehow I managed to put archetype.xml > descriptor is in > src/main/resources/META-INF/maven/archetype.xml > > and it should be in > src/main/resources/META-INF/archetype.xml > > So if you just move the archetype.xml file > to META-INF and delete the maven directory, > then run > > mvn clean install > > and then > > mvn archetype:create > -DarchetypeVersion=1.0-SNAPSHOT > -DarchetypeGroupId=org.apache.ads.archetypes > -DgroupId=mavenComplainsIfWeDontGiveOneButWeDontNeedOne > -DarchetypeArtifactId=ads.performance.testing > -DartifactId=ads.sample.performance.testing > > It should work. > > > --- "Alex Karasulu (JIRA)" > <[EMAIL PROTECTED]> wrote: > > > [ > > > http://issues.apache.org/jira/browse/DIR-188?page=comments#action_12420668 > > ] > > > > Alex Karasulu commented on DIR-188: > > ----------------------------------- > > > > Failed to generate the new project. Here's my > > output: > > > > > [EMAIL PROTECTED]:~/projects/apache/directory/sandbox/oersoy$ > > mvn archetype:create > -DarchetypeVersion=1.0-SNAPSHOT > > -DarchetypeGroupId=org.apache.ads.archetypes > > > -DgroupId=mavenComplainsIfWeDontGiveOneButWeDontNeedOne > > -DarchetypeArtifactId=ads.performance.testing > > -DartifactId=ads.sample.performance.testing > > [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.properties > > [INFO] Default ResourceManager initializing. > (class > > > org.apache.velocity.runtime.resource.ResourceManagerImpl) > > [INFO] Resource Loader Instantiated: > > > org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader > > [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 'VM_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 global in scope if > allowed. > > [INFO] Velocimacro : messages on : VM system will > > output logging messages > > [INFO] Velocimacro : autoload off : VM system > will > > not automatically reload global library macros > > [INFO] Velocimacro : initialization complete. > > [INFO] Velocity successfully started. > > [INFO] [archetype:create] > > [INFO] Defaulting package to group ID: > > mavenComplainsIfWeDontGiveOneButWeDontNeedOne > > [INFO] > > > ---------------------------------------------------------------------------- > > [INFO] Using following parameters for creating > > Archetype: ads.performance.testing:1.0-SNAPSHOT > > [INFO] > > > ---------------------------------------------------------------------------- > > [INFO] Parameter: groupId, Value: > > mavenComplainsIfWeDontGiveOneButWeDontNeedOne > > [INFO] Parameter: outputDirectory, Value: > > > /home/akarasulu/projects/apache/directory/sandbox/oersoy/ads.sample.performance.testing > > [INFO] Parameter: packageName, Value: > > mavenComplainsIfWeDontGiveOneButWeDontNeedOne > > [INFO] Parameter: package, Value: > > mavenComplainsIfWeDontGiveOneButWeDontNeedOne > > [INFO] Parameter: version, Value: 1.0-SNAPSHOT > > [INFO] Parameter: artifactId, Value: > > ads.sample.performance.testing > > [INFO] > > > ------------------------------------------------------------------------ > > [ERROR] BUILD ERROR > > [INFO] > > > ------------------------------------------------------------------------ > > [INFO] Error creating from archetype > > > > Embedded error: Error reading the > > META-INF/archetype.xml descriptor. > > The META-INF/archetype.xml descriptor cannot be > > found. > > [INFO] > > > ------------------------------------------------------------------------ > > [INFO] For more information, run Maven with the -e > > switch > > [INFO] > > > ------------------------------------------------------------------------ > > [INFO] Total time: 2 seconds > > [INFO] Finished at: Wed Jul 12 12:33:23 EDT 2006 > > [INFO] Final Memory: 4M/7M > > [INFO] > > > ------------------------------------------------------------------------ > > > > > > > Maven Archetype for Performance Testing > > > --------------------------------------- > > > > > > Key: DIR-188 > > > URL: > > http://issues.apache.org/jira/browse/DIR-188 > > > Project: Directory > > > Type: New Feature > > > > > Environment: Java > > > Reporter: Ole Ersoy > > > Assignee: Alex Karasulu > > > Priority: Minor > > > Attachments: ads.performance.testing.zip, > > documentation.apt > > > > > > OK - Here's the ADS Performance Testing > archetype > === message truncated === __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
