On Sun, 2003-10-05 at 18:00, Arik Kfir wrote:
> Hello,
> 
> Is it possible to use POM properties in xdoc files? If so, how? 

There isn't actually a way to interpolate the POM generally into the
xdocs but now that I realize that isn't possible that seems strange. I'm
surprised you are the first to ask.

> I imagine some sort of token filtering on these files should be applied before 
> generating the site, but I'm not quite sure where to start, as I am a bit new to 
> maven, and I was also hoping some sort of an automated mechanism is available before 
> custom work needs to be done (perhaps a preGoal to the site:generate?).

A quick fix would be simply the take the tree of produced xdocs and use
the velocity jelly tag to simply place the $pom in the context and
process all the xdocs to produce a version with the $pom values
expanded.

This is probably something we should add generally.

> Any help will be appreciated,
>   Arik.
-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


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

Reply via email to