It needs to be fixed in Velocity.

-----Original Message-----
From: Richard Chamberlain [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 14, 2008 5:50 AM
To: Maven Users List
Subject: How to stop site generation outputing velocity messages to
console

Hi All,

 

When I generate the site as part of my build, I get a lot of output that
I don't particularly need. It seems to be coming from velocity. How can
I get rid of this?

 

7308K uploaded

[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] 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] 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] Preparing javadoc:javadoc

 

Thanks,

 

Rich

 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to