Yeah i have use them both, and others too, it depends what i'm doing..
Here is little example from some stupid test project.xml

          <dependency>
                <groupId>xdoclet</groupId>
                <artifactId>maven-xdoclet-plugin</artifactId>
                <version>1.2b4</version>
                <type>plugin</type>
          </dependency>

          <dependency>
                <groupId>xdoclet</groupId>
                <artifactId>xdoclet-web-module</artifactId>
                <version>1.2b4</version>
            </dependency>

There is no doclet for ejb, but you can add it easily. Like
xdoclet-web-module, but it's xdoclet-ejb-module. (if i remember
correctly), you can check it from www.ibiblio.com/maven/xdoclet/jars

I like that if web application project use some ejb (for persistence
example. btw. hibernate rocks.) 
those ejb parts are in own project, and i put that dependency to web
application project.xml. More like speed reasons, and usually after
those persistence/business stuff is finished, there is no need to touch
them after that.

Artsi

On Tue, 2004-03-16 at 11:57, thorsten maus wrote:
> did you include the
> ejbdoclet as well as the webdoclet in your project.xml ???
> 
> without the webdoclet maven will not create the ejb parts properly ..
> 
> 
> 
> Marco Tedone wrote:
> > Hi, I'm trying to create an ejb-jar for my project.
> > 
> > Following the documentation for the EJB plugin, I declared the following
> > properties:
> > 
> > #Sources to include in the ejb
> > maven.ejb.src=${maven.xdoclet.ejbdoclet.srcDir}/org/jemos/xmlop/ejbs/**/*.ja
> > va
> > 
> > #Includes the deployment descriptors
> > maven.ejb.includes=${maven.xdoclet.ejbdoclet.destDir}/META-INF/*.xml
> > 
> > However my jar file ends without classes or deployment descriptors in it.
> > 
> > In /src/project.xml I specified the following:
> > 
> > <project default="driver">
> > 
> > <goal name="driver">
> >   <attainGoal name="jar:install" />
> >   <attainGoal name="ejb" />
> > </goal>
> > 
> > </project>
> > 
> > If I comment out <attainGoal name="ejb" /> the jar is created with all the
> > classes.
> > 
> > I tried also to use <ejbjar> from ant, but I get an error dependency on
> > bcel, although I declared it as a dependency.
> > 
> > Thanks for any help,
> > 
> > Marco
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 


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

Reply via email to