First, I need thank Langlois for his great help. I only give the detail of his solution. Please read his solution first.
<!---->http://mail-archives.apache.org/mod_mbox/maven-users/200602.mbox/%3C20060211173712.19701.qmail@web26813.mail.ukl.yahoo.com%3E
<!---->
<!---->
This is a bug of xdoclet-maven-plugin, the reason is some parameter like ${project.build.directory} is not reset between these two xdoclet calls. Then the interface of second ejb module is generated to the first module directory.
<!---->
<!---->
You can fix it to reset these parameters forcibly by specifying destDir attributes on the subtasks , like below:
<remoteinterface destdir="${project.build.directory}/generated-sources/xdoclet"></remoteinterface>
<localinterface destdir="${project.build.directory}/generated-sources/xdoclet"></localinterface>
<homeinterface destdir="${project.build.directory}/generated-sources/xdoclet"></homeinterface>
<localhomeinterface destdir="${project.build.directory}/generated-sources/xdoclet"></localhomeinterface>
<entitycmp destDir="${project.build.outputDirectory}"></entitycmp>
<entitycmp destDir="${project.build.directory}"></entitycmp>
<!---->
<!---->detail example:
<!----><ejbdoclet excludedtags="@version,@author"
destdir="${project.build.directory}/generated-sources/xdoclet"
addedtags="@xdoclet-generated at ${TODAY}" ejbspec="2.0">
<fileset dir="${project.build.sourceDirectory}">
<include name="**/ejb/*Bean.java"> </include>
</fileset>
<remoteinterface destdir="${project.build.directory}/generated-sources/xdoclet"></remoteinterface>
<localinterface destdir="${project.build.directory}/generated-sources/xdoclet"></localinterface>
<homeinterface destdir="${project.build.directory}/generated-sources/xdoclet"></homeinterface>
<localhomeinterface destdir="${project.build.directory}/generated-sources/xdoclet"></localhomeinterface>
<entitycmp destDir="${project.build.outputDirectory}"></entitycmp>
<entitycmp destDir="${project.build.directory}"></entitycmp>
<deploymentdescriptor
destDir="${project.build.outputDirectory}/META-INF">
</deploymentdescriptor>
<weblogic validatexml="true"
destdir="${project.build.outputDirectory}/META-INF"
xmlencoding="UTF-8" createtables="Disabled" version="8.1">
</weblogic>
</ejbdoclet>
相关推荐
xdoclet-bin-1.2.1.zip和xdoclet-bin-1.2.3.zip
maven-xdoclet-plugin.jar
maven2-xdoclet2-plugin-2.0.5.jar
xdoclet-1.2.1.jar jar包,缺少的可以拿去
maven-xdoclet-plugin-1.2.jar
xdoclet-bin-1.2.1,xdoclet-bin-1.2.1,xdoclet-bin-1.2.1
xdoclet-plugins-1.0.3下载附doc xdoclet-plugins-1.0.3下载附doc
maven2-xdoclet2-plugin-2.0.6.jar
xdoclet-plugins-1.0.3 OA security模块用
xdoclet-src-1.2.1.zip eclipse缺少的这个东西
xdoclet-1.2.3-sources.jar.zip
xdoclet xdoclet-plugins-1.0.3.rar
xdoclet-base-locale-1.2.1.jar
maven-xdoclet2-plugin-1.0.jar
maven-xdoclet2-plugin-1.0.2.jar
xdoclet-plugins-1.0.3.tar.gz
maven-xdoclet2-plugin-20050208.124931.jar
maven-xdoclet2-plugin-20050206.203956.jar