ahgt sur laposte.net wrote:
Hello,
When building the site (m2 site:site), with simple site.xml and .apt
files, I've got an error (see here under).
For "VM #menuItem"... What is VM (virtual machine).

VM = Velocity Macro


Where this error comes from ?
Is there a way to know which line in which file ?

[INFO] [site:site]
[INFO] Velocimacro : added new VM : #banner( id ) : source =
org/apache/maven/doxia/maven-site.vm
[INFO] Velocimacro : added new VM : #links( ) : source =
org/apache/maven/doxia/maven-site.vm
[INFO] Velocimacro : added new VM : #menuItem( item ) : source =
org/apache/maven/doxia/maven-site.vm
[INFO] Velocimacro : added new VM : #mainMenu( ) : source =
org/apache/maven/doxia/maven-site.vm
[ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0

I'm not sure it's really an error because the generation works.
I have the same message, but I don't see errors i the velocity template, if you want to check it, it's there :
http://svn.apache.org/viewcvs.cgi/maven/components/trunk/maven-plugins/maven-site-plugin/src/main/resources/org/apache/maven/doxia/maven-site.vm?rev=180101&view=markup

Emmanuel


Thanks,
Antoine



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





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

Reply via email to