maven-doxia-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wendy Smoak" <>
Subject Doxia macros
Date Sat, 25 Nov 2006 01:18:59 GMT
I added a new macro under org.apache.maven.doxia.macros.swizzle.  It has
 * @plexus.component role="org.apache.maven.doxia.macro.Macro"
 * role-hint="swizzle"
public class SwizzleMacro
        extends AbstractMacro {
It's here:

I recompiled doxia-core, then added a <dependency> to
maven-site-plugin in pom.xml to convince it to use the new version.
That worked, based on the output of 'mvn site -X' and the println
statements I added to the snippet macro.

in index.apt just gets me
   <p>%<a name="swizzleprojectstr">swizzle|project=STR</a></p>
in the page source, while
works fine

(I'm testing with guide-using-modello.apt in maven-site.)

Neither the existing snippet macro nor my new one would work with 'mvn
site' in maven-war-plugin, btw.  In maven-site, the snippet macro
works, but not mine.

Any ideas?


View raw message