directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Karasulu (JIRA)" <>
Subject [jira] Commented: (DIR-188) Maven Archetype for Performance Testing
Date Wed, 12 Jul 2006 16:33:30 GMT
    [ ] 

Alex Karasulu commented on DIR-188:

Failed to generate the new project.  Here's my output:

akarasulu@newton:~/projects/apache/directory/sandbox/oersoy$ mvn archetype:create -DarchetypeVersion=1.0-SNAPSHOT -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/
[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
[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] ------------------------------------------------------------------------
[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:
>      Project: Directory
>         Type: New Feature

>  Environment: Java
>     Reporter: Ole Ersoy
>     Assignee: Alex Karasulu
>     Priority: Minor
>  Attachments:, documentation.apt
> OK - Here's the ADS Performance Testing archetype
> start (server.xml and performance.ldif need data).
> For this to work maven has to be installed of coarse.
> Just unzip, cd into ads.performance.testing and type
> maven install
> The archetype is now installed in your local maven
> repository.
> For the documentation on how this archetype was
> created see the directory
> src/site/apt/documentation.
> This is the documentation in apt format.
> For the html version see the directory
> target/site/documentation.html
> Maven generated this file from the apt document.
> Now run this command:
> mvn archetype:create -DarchetypeVersion=1.0-SNAPSHOT
-DgroupId=mavenComplainsIfWeDontGiveOneButWeDontNeedOne -DarchetypeArtifactId=ads.performance.testing
> This will create the project
> ads.sample.performance.testing
> cd into it and type mvn eclipse:eclipse
> Now you can import it into eclipse.
> There's a todo in the documentation.
> This is just the baseline starting point I talked
> about in the other emails.
> One future enhancement that could easily be added is a
> directory containing a configuration file for
> generating the performance.ldif file.  Once the
> documentation is reviewed, everyone should know how to
> add that.
> Cheers,
> - Ole

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message