Is ${basedir} valid - that looks more like an Ant property. This is what I'm
using...
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xdoclet-maven-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>xdoclet</goal>
</goals>
<configuration>
<generatedSourcesDirectory>${project.build.directory}/xdoclet</generatedSourcesDirectory>
<tasks>
<ejbdoclet
destDir="${project.build.directory}/xdoclet"
addedtags="@xdoclet-generated at
${NOW_UK},@author XDoclet"
excludedtags="@version,@author"
verbose="true"
force="false"
ejbSpec="2.1">
<fileset
dir="${project.build.sourceDirectory}">
<include
name="**/*Bean.java"></include>
<include
name="**/*MDB.java"></include>
</fileset>
<remoteinterface />
<localinterface />
<homeinterface />
<utilobject kind="physical"
cacheHomes="true" includeGUID="true" />
<localhomeinterface />
<dataobject/>
<entitypk/>
<deploymentdescriptor
destDir="${project.build.outputDirectory}/META-INF"/>
<!-- Xdoclet doesn't support weblogic 9
out of the box, so try with 8.1 descriptors. -->
<weblogic
destDir="${project.build.outputDirectory}/META-INF"
datasource="jdbc/TxTopUpDB"
version="8.1"
validateXML="true"
createtables="Disabled"
databaseType="ORACLE" />
</ejbdoclet>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
--
View this message in context:
http://www.nabble.com/-m2-XDoclet-does-not-work-t1475109.html#a3992532
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]