Hi,

I've got the latest version of maven2 (actually tried both alpha 3 and the
latest from svn), but I can't seem to run site:site properly.

If I run it from a blank dir (ie no POM exists) I get the following output:

[INFO] Searching repository for plugin with prefix: 'site'.
[INFO] Using local copy of repository metadata for group:
'org.apache.maven.plugins' from: C:\Documents and Settings\Matthew
Smalley\.m2\repository\org\apache\maven\plugins\maven-metadata.xml
[INFO] maven-site-plugin: using locally installed snapshot
[INFO] maven-plugin-parent: using locally installed snapshot
[INFO]
----------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [site:site]
[INFO]
----------------------------------------------------------------------------
[INFO] plexus-site-renderer: resolved to version
1.0-alpha-2-20050817.212022-1 from local repository
[INFO] plexus-components: resolved to version 1.1.1-20050803.041918-2 from
local repository
[INFO] plexus-velocity: resolved to version 1.2-20050801.133339-2 from local
repository
[INFO] doxia-core: resolved to version 1.0-alpha-4-20050818.065945-3 from
local repository
[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] [site:site]
[INFO] Generate an index file for the "Default" version.
[ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got 0
[ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
[INFO]
----------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Thu Sep 01 23:11:15 BST 2005
[INFO] Final Memory: 3M/7M
[INFO]
----------------------------------------------------------------------------

Note the errors around VM_global_library.vm.

Any ideas?

Thanks in advance.

Matthew.

Reply via email to