Hi,

I am starting with M2, and am trying to use XDoclet to generate EJB stuff.

I followed instructions found on this mailing list, and declare this:

<build>
  <plugins>
    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-ejb-plugin</artifactId>
      <configuration>
         <generateClient>true</generateClient>
      </configuration>
    </plugin>

    <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
destDir="${project.build.directory}/generated-sources/xdoclet"
                excludedtags="@version,@author"
                force="true"
                verbose="true">
<fileset dir="${basedir}/src/main/java" includes="**/*Bean.java"/>
                <remoteinterface/>
                <homeinterface/>
                <localinterface/>
                <localhomeinterface/>
              </ejbdoclet>
            </tasks>
          </configuration>
        </execution>
      </executions>
    </plugin>
  </plugins>
</build>


I have a TestServiceBean.java declaring ejb.bean and one ejb.interface-method.

Unfortunately, when invoking mvn package, no code is generated.

Any help is welcome, as for me, everything has been configured correctly.

Cheers,

J-F

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

Reply via email to