Here it goes.
...
<build>
  <plugins>
    <plugin>
      <groupId>org.codehaus.mojo</groupId>
      <artifactId>xdoclet-maven-plugin</artifactId>
      <executions>
        <execution>
          <phase>generate-sources</phase>
          <goals>
            <goal>xdoclet</goal>
          </goals>
          <configuration>
            <tasks>
              <ejbdoclet
                ejbspec = "2.0"
                ejbClassNameSuffix = "Bean"
                destdir = "${project.build.directory}/generated-sources/xdoclet"
                verbose = "true">
                <fileset dir = "${project.build.sourceDirectory}" includes = 
"**/**Bean.java"/>
                <deploymentdescriptor destdir = 
"${project.build.outputDirectory}/META-INF"/>
                <jboss destdir = "${project.build.outputDirectory}/META-INF"/>
                <homeinterface/>
                <remoteinterface/>
                <localinterface/>
                <localhomeinterface/>
                <utilobject/>
                <entitypk/>
              </ejbdoclet>
            </tasks>
          </configuration>
        </execution>
      </executions>
    </plugin>
  </plugins>
</build>
...

Hope it helps.
Dário

-----Original Message-----
From: Vidya Mahavadi [mailto:[EMAIL PROTECTED]
Sent: quarta-feira, 24 de janeiro de 2007 10:27
To: [email protected]
Subject: Maven 2 and xdoclet 1.2 and sample


Hi everyone,

I am starting to work on Maven, xdoclet now. I am looking a for a plugin 
to work with Maven 2 and xdoclet 1.2 and sample to get me started. Can 
anyone please help me?

Thanks,

This e-mail is subject to a disclaimer, available at
http://www.rmb.co.za/web/elements.nsf/online/disclaimer-communications.html


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to