Re: [Site velocity config] how?

Michael Osipov <[email protected]>
Newsgroups gmane.comp.jakarta.turbine.maven.user
Message-ID <[email protected]>
On 2025/06/21 17:48:22 Claude Warren wrote:
> Greetings,
> 
> I have a custom tool that I want to use in the maven site plugin.  I have a
> site-tools.xml in the META-INF/maven directory but it does not seem to be
> read.
> 
> I know the tool works as I have code that loads it into velocity and it
> executes correctly.
> 
> What I can't seem to do is get the tool loaded into velocity when running
> under the site plugin.
> 
> Versions
> velocity core: 2.4.1
> velocity.tools 3.1
> site plugin 3.12.1

Technically, it should: https://maven.apache.org/doxia/doxia-sitetools/doxia-site-renderer/xref/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.html#L462

Did you try to debug it or did you enable verbose logging with Velocity Tools?

Michael
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.