FW: [ANNOUNCE] VelocityTools 1.4

2007-11-29 Thread Misura, Gabriel
I get the impression this release broke the maven examples.


mvn archetype:create -DarchetypeGroupId=org.apache.maven.archetypes
-DarchetypeArtifactID=maven-archetype-webapp -DgroupId=com.mycompany.app
-DartifactID=my-webapp

[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.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 : initialization complete.
[INFO] Velocity successfully started.
[INFO] [archetype:create]
[INFO] Defaulting package to group ID: com.mycompany.app
[INFO] artifact org.apache.maven.archetypes:maven-archetype-quickstart:
checking for updates from central
[INFO]


[INFO] Using following parameters for creating Archetype:
maven-archetype-quickstart:RELEASE
[INFO]


[INFO] Parameter: groupId, Value: com.mycompany.app
[INFO] Parameter: packageName, Value: com.mycompany.app
[INFO] Parameter: basedir, Value: /opt/home/build
[INFO] Parameter: package, Value: com.mycompany.app
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: artifactId, Value: null
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error creating from archetype

Embedded error: Artifact ID must be specified when creating a new
project from an archetype.
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 4 seconds
[INFO] Finished at: Wed Nov 28 17:36:11 PST 2007
[INFO] Final Memory: 4M/10M
[INFO]




 
Gabriel Misura | ATT eCommerce Release Manager
20111 120th Ave NE, Bothell 6, Office 2321D
Bothell, WA 98011
IM: Use Q/Team Link
Office: 425-288-6217
Cell: 425-533-3594
[EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nathan
Bubna
Sent: Tuesday, November 27, 2007 4:00 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [ANNOUNCE] VelocityTools 1.4

The Apache Velocity Team announces the immediate availability of the of
Apache VelocityTools 1.4.

Downloads are available here:
  http://velocity.apache.org/download.cgi#tools

Apache VelocityTools is a supplemental library for 

Re: FW: [ANNOUNCE] VelocityTools 1.4

2007-11-29 Thread Stuart McCulloch
On 29/11/2007, Misura, Gabriel [EMAIL PROTECTED] wrote:

 I get the impression this release broke the maven examples.


 mvn archetype:create -DarchetypeGroupId=org.apache.maven.archetypes
 -DarchetypeArtifactID=maven-archetype-webapp -DgroupId=com.mycompany.app
 -DartifactID=my-webapp


that should be:   -DarchetypeArtifactId and -DartifactId   not
-DarchetypeArtifactID and -DartifactID


[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.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 : initialization complete.
 [INFO] Velocity successfully started.
 [INFO] [archetype:create]
 [INFO] Defaulting package to group ID: com.mycompany.app
 [INFO] artifact org.apache.maven.archetypes:maven-archetype-quickstart:
 checking for updates from central
 [INFO]
 
 
 [INFO] Using following parameters for creating Archetype:
 maven-archetype-quickstart:RELEASE
 [INFO]
 
 
 [INFO] Parameter: groupId, Value: com.mycompany.app
 [INFO] Parameter: packageName, Value: com.mycompany.app
 [INFO] Parameter: basedir, Value: /opt/home/build
 [INFO] Parameter: package, Value: com.mycompany.app
 [INFO] Parameter: version, Value: 1.0-SNAPSHOT
 [INFO] Parameter: artifactId, Value: null
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Error creating from archetype

 Embedded error: Artifact ID must be specified when creating a new
 project from an archetype.
 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 4 seconds
 [INFO] Finished at: Wed Nov 28 17:36:11 PST 2007
 [INFO] Final Memory: 4M/10M
 [INFO]
 




 Gabriel Misura | ATT eCommerce Release Manager
 20111 120th Ave NE, Bothell 6, Office 2321D
 Bothell, WA 98011
 IM: Use Q/Team Link
 Office: 425-288-6217
 Cell: 425-533-3594
 [EMAIL PROTECTED]

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nathan
 Bubna
 Sent: Tuesday, November 27, 2007 4:00 PM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]