--- On Mon, 6/15/09, John Leonard <jleonard.20...@gmx.com> wrote:
> From: John Leonard <jleonard.20...@gmx.com> > I have spent some time with xdoclet and think I need to > move to > xdoclet2. ... since 3-4 years - definitely ;) > xdoclet doesn't seem able to work with generics, > annotations > or enums. I have downloaded Maven and begun the process of > using it with > xdoclet2. I have checked out the SVN repo of xdoclet2 > source code but I > don't know how to install it as a plugin with Maven. well, whole idea of maven is that you do not need to install anything. everything comes from the repository. here is sample invocation of maven plugin: ------------------%<---------------- <plugin> <groupId>org.codehaus.xdoclet</groupId> <artifactId>maven2-xdoclet2-plugin</artifactId> <version>2.0.7</version> <executions> <execution> <id>xdoclet</id> <phase>generate-sources</phase> <goals> <goal>xdoclet</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>org.codehaus.xdoclet</groupId> <artifactId>xdoclet-plugin-xwork</artifactId> <version>1.0.5</version> </dependency> </dependencies> <configuration> <configs> <config> <components> <component> <classname>org.xdoclet.plugin.xwork.XWorkXMLPlugin</classname> <params> <package>edit</package> <namespace>/edit/files</namespace> <filename>kiga-edit.xml</filename> <extends>kiga-base</extends> </params> </component> <component> <classname>org.xdoclet.plugin.xwork.XWorkXMLPlugin</classname> <params> <package>ajax</package> <namespace>/edit/ajax</namespace> <filename>kiga-ajax.xml</filename> <extends>kiga-base</extends> </params> </component> <component> <classname>org.xdoclet.plugin.xwork.XWorkXMLPlugin</classname> <params> <package>bead</package> <namespace>/edit/bead</namespace> <filename>kiga-bead.xml</filename> <extends>kiga-base</extends> </params> </component> </components> </config> </configs> </configuration> </plugin> ------------------%<---------------- You will also need to define codehaus repositories hosting XD2 stuff ( they are not synched to ibiblio ): ( goes into <whatever your home directory is>/.m2/settings.xml ) ----------------------%<----------------- <profile> <id>default</id> <repositories> <repository> <id>codehaus</id> <name>codehaus releases</name> <url>http://repository.codehaus.org</url> <releases> <enabled>true</enabled> <updatePolicy>never</updatePolicy> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> <repository> <id>codehaus-snapshots</id> <name>codehaus snapshots</name> <url>http://snapshots.repository.codehaus.org</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> <updatePolicy>daily</updatePolicy> </snapshots> </repository> ----------------------%<----------------- > It would be great if you could point me in the right > direction to go. > Tutorials and such on the use of Maven would be helpful. Officiaal website is: http://xdoclet.codehaus.org/ bunt unfortunaely we lost front page due to some codehaus glitch with confluence, and all that we have now is here: http://docs.codehaus.org/display/XDOCLET/Home ( basically the same information, but not as nicely formatted ) glitch of codehaus, so you have > Thanks, You are welcome. > John L. Konstantin ----[ Konstantin Pribluda http://www.pribluda.de ]---------------- JTec quality components: http://www.pribluda.de/projects/ ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user