Hello !
I am trying to make a old xdoclet snip (se below) run under maven2.x (it is originaly for maven1.x and xdoclet 1.2.1) i have tried the "xdoclet-maven-plugin" but i couldn't quite get that to work and would much appreciate any advice on how to get this done as smoothly as possible. Looking for a good guide to set it all up or advice on how to install and run the "xdoclet-maven-plugin".
//regards Maffe
<project default="" xmlns:j="jelly:core" xmlns:u="jelly:util" xmlns:castor="castor"
xmlns:velocity="jelly:velocity" xmlns:ant="jelly:ant">
<j:import uri="../build/common-settings/maven_base.xml" inherit="true" />
<preGoal name="java:compile">
<!--
Use standard ant tasks to run the xdoclet axis stuff. This due to problems with getting the xdoclet maven plugin to work
-->
<ant:taskdef name="templatedoclet" classname="xdoclet.DocletTask" classpathref="maven.dependency.classpath" />
<ant:templatedoclet destdir="" verbose="true">
<ant:fileset dir="src">
<ant:include name="**/*.java" />
</ant:fileset>
<ant:template templateFile="axis-wsdd.xdt.xml
" destinationFile="target/xdeploy.wsdd.xml" mergeDir="mapping" />
</ant:templatedoclet>
<ant:java classname="org.apache.axis.utils.Admin" fork="true">
<ant:arg value="server" />
<ant:arg value="target/xdeploy.wsdd.xml" />
<ant:classpath>
<ant:path refid="maven.dependency.classpath
" />
</ant:classpath>
</ant:java>
<ant:move file="server-config.wsdd" tofile="${maven.build.dir}/war-wsfota-server/WEB-INF/server-config.wsdd" />
</preGoal>
</project>