This is something I really needed, so after a bit of playing, I managed to write and use a customized version of the xdoc doxia module without needing to recompile doxia, maven2 or the site plugin.
The module pom contains: <build> <plugins> <plugin> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-maven-plugin</artifactId> <executions> <execution> <goals> <goal>descriptor</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>org.apache.maven.doxia</groupId> <artifactId>doxia-core</artifactId> <version>1.0-alpha-8</version> <scope>compile</scope> <exclusions> <exclusion> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-util</artifactId> </exclusion> <exclusion> <groupId>junit</groupId> <artifactId>junit</artifactId> </exclusion> </exclusions> </dependency> </dependencies> The app pom contains: <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> <dependencies> <dependency> <groupId>org.andromda.maven.site</groupId> <artifactId>andromda-doxia-module-xdoc</artifactId> <version>3.2-SNAPSHOT</version> </dependency> </dependencies> <configuration> <locales>en</locales> <outputEncoding>UTF-8</outputEncoding> </configuration> </plugin> <plugins> </build> Regards Vance -----Original Message----- From: Arnaud Bailly [mailto:[EMAIL PROTECTED] Sent: Monday, 14 August 2006 10:43 PM To: Maven Developers List Cc: users@maven.apache.org Subject: Stuck ! (was Re: Doxia module) 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, -- OQube < software engineering \ génie logiciel > Arnaud Bailly, Dr. \web> http://www.oqube.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Send instant messages to your online friends http://au.messenger.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]