It seems that the XDoclet plugin does not work very welll.
One solution is to use the antrun plugin with an ejbdoclet task

See
http://www.nabble.com/-M2--Struts-and-XDoclet-tf1775233.html#a4832525
http://www.nabble.com/maven2---xdoclet-plugin-and-strutsconfigxml-tf2270128.html#a6363580
http://www.nabble.com/-M2--maven.plugin.classpath-tf2292286.html#a6366996

Rémy

2006/10/7, Morgovsky, Alexander (US - Glen Mills) <[EMAIL PROTECTED]>:

Hi.  I try to generate the XDoclet artifacts using the following
definition.  However, nothing gets produced in the target in
generated-souces/xdoclet.  In fact, no artificats anywhere are produced
when I call mvn generate-sources.  May someone please assist me in this,
as I have searched this forum and unfortunately I could not solve this
problem?  Please help if you may.  Thank you in advance.

        <plugin>
  <artifactId>xdoclet-maven-plugin</artifactId>
  <groupId>org.codehaus.mojo</groupId>
  <version>1.0-alpha-2</version>
  <executions>
    <execution>
      <phase>generate-sources</phase>
      <goals>
        <goal>xdoclet</goal>
      </goals>
      <configuration>
        <tasks>
        <ejbdoclet
destdir="${project.build.directory}/generated-sources/xdoclet">
            <deploymentdescriptor
destDir="${project.build.outputDirectory}/META-INF"/>
            <fileset dir="${basedir}/src/java"
includes="**/ejb/**/*.java" />
            <weblogic
                version="8.1"
                createtables="Disabled"
                validateXML="true"
                destDir="${project.build.outputDirectory}/META-INF"/>
          </ejbdoclet>
        </tasks>
      </configuration>
    </execution>
  </executions>
</plugin>


This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and is protected by law.  If
you are not the intended recipient, you should delete this message.


Any disclosure, copying, or distribution of this message, or the taking of
any action based on it, is strictly prohibited. [v.E.1]


Reply via email to