You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Michael Owen <mi...@hotmail.com> on 2005/07/18 17:13:17 UTC

[M2] Sample Site Not Working

Hi,

When using Maven2 and trying to create the site as specified at 
http://maven.apache.org/maven2/site.html I get the following error:

[ERROR] VM #menuItem: error:  too few arguments to macro. Wanted 1 got 0

...

[ERROR] RHS of #set statement is null. Context will not be modified. 
org/apache/maven/doxia/maven-site.vm [line 1, column 1]
[WARNING] Velocimacro : VM addition rejected : banner : inline not allowed 
to replace existing VM

...
...

It still results in a message "BUILD SUCCESSFUL" however, because of the 
messages above, this means the default settings are used, and the menu items 
etc. specified in the sample site.xml are not are created. Any ideas? I 
guess quite a few people have made websites using site:site.

Many thanks. Your help is much appreciated.

Mike



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE : [M2] Sample Site Not Working

Posted by "ah2 sur communication-langages-et-systemes.com" <ah...@communication-langages-et-systemes.com>.
Hi,

[ERROR] VM #menuItem: error:  ...
I used to have this error at the begining. I don't anymore.
I think it is since I got the last snapshot of M2 in SVN.
See : http://maven.apache.org/maven2/building.html
for how to get it.

[ERROR] RHS of #set statement is null. 
I still get this error... Plenty of them.... but my site is built and
looks ok. 
So I cope with it.
By the way, I would like to know more about this error....

That's all I can say. Hope it helps.
Antoine


-----Message d'origine-----
De : Michael Owen [mailto:michaelowenuk@hotmail.com] 
Envoyé : lundi 18 juillet 2005 17:13
À : users@maven.apache.org
Objet : [M2] Sample Site Not Working


Hi,

When using Maven2 and trying to create the site as specified at 
http://maven.apache.org/maven2/site.html I get the following error:

[ERROR] VM #menuItem: error:  too few arguments to macro. Wanted 1 got 0

...

[ERROR] RHS of #set statement is null. Context will not be modified. 
org/apache/maven/doxia/maven-site.vm [line 1, column 1] [WARNING]
Velocimacro : VM addition rejected : banner : inline not allowed 
to replace existing VM

...
...

It still results in a message "BUILD SUCCESSFUL" however, because of the

messages above, this means the default settings are used, and the menu
items 
etc. specified in the sample site.xml are not are created. Any ideas? I 
guess quite a few people have made websites using site:site.

Many thanks. Your help is much appreciated.

Mike



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org