Hi Arnaud, I think that what you are missing is to add an <extensions> to your pom. For example for twiki (is not distributed in maven-2.0.4) i do:
did you tried to put something like <build> ... <extensions> <extension> <groupId>org.apache.maven.doxia</groupId> <artifactId>doxia-module-muse</artifactId> <version>xxxx</version> </extension> </extensions> ... </build> into your pom? your jar has the plexus xml? you have plexus annotations like http://svn.apache.org/repos/asf/maven/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/ConfluenceParser.java and http://svn.apache.org/repos/asf/maven/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/ConfluenceSiteModule.java ? Juan. On Monday 14 August 2006 11:42, Arnaud Bailly wrote: > Hello, > I still have troubles with doxia while trying to add a new module. I > can see from posts in the users list that other people have troubles > with using non standard modules like twiki. > > I tried copying my muse module to doxia-modules, it works fine and > compiles ok, but I am left with the problem of telling maven to use my > version of doxia. I could think of various solutions to this problem, > including full recompilation of maven with modified dependency but I > dont think this is the rigth way: there must be a way to add a plexus > component to a system without recompiling everything. After all, this > is the whole point of component based software engineering ! > > So I am asking my question again: How can I add a new module > (ie. input file format) to doxia in such a way that this format can be > used to document a project in maven ? I suspect this has something to > do with injecting a new plexus component, which may be something that > is done when a jar or classpath entry is loadedd ( ? maybe through > classworlds). > > Any insights into this would be greatly appreciated as I desperately > want this plugin to work. > > thx,
pgpK3JlfRt3ui.pgp
Description: PGP signature