thanks a lot remy,

how could you do this for a lot of projects without adding it to every pom?

-solo.

On 10/19/06, Rémy Sanlaville <[EMAIL PROTECTED]> wrote:
I do it with XDoclet like this and it works well :

        <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"
ejbSpec="2.1" verbose="true" force="true">
                  <fileset dir="${project.build.sourceDirectory}">
                    <include name="**/*Bean.java"></include>
                    <include name="**/*MDB.java"></include>
                  </fileset>
                 ...

HTH,

Rémy



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

Reply via email to