Will Maven jive with XDoclet?
I'm starting to wonder if Maven will even work for my project. I've been able to setup a lot of dependencies lately and the Maven team has been doing an awesome job of getting my requested jars into their repository. Thanks dIon! The real reason I want to use Maven is to produce a project website. As far as building and running tests, I'd actually prefer to use my Ant script - who I got courtesy of Erik Hatcher.
The problem I'm seeing is that Maven must compile my source to generate the website, and it also seems to be part of the maven java:jar
task. And because several of my classes don't exist yet, the compilation fails. Is there any way to tell maven that it must run an Ant task (i.e. ejbdoclet) before it runs its compilation? I'd love to simply tell it to hook into my "package-web" task, rather than trying to compile classes that haven't been generated.
Better yet, is it possible to use Maven simply for downloading jars and generating the website? At this point, it almost seems easier to checkin my 15MB worth of JARs into CVS and use a README file. Maven might be overkill...
Later: Hmmm, maybe XDoclet and Maven can work together. I just found a "maven plugin" in the XDoclet CVS tree. It's description is A Maven plugin to run XDoclet from within Maven. This is very interesting... -- now I need to figure out how to use the damn thing ;-)
Posted by Fabian Crabus on December 22, 2002 at 05:46 AM MST #