Sorry, I think I didn't understand you properly.

I use ejbdoclet in ${basedir}/maven.xml to create the EJBs interfaces.

Marco
----- Original Message ----- 
From: "thorsten maus" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, March 16, 2004 9:57 AM
Subject: Re: Problems creating ejb jar


>
> 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]
> >
>
>
> -- 
> Thorsten Maus ( IT Architect )
> [EMAIL PROTECTED]
> mobile: +49-173-644-1988
> www.pirack.com
> it's teamwork
>
>
> ---------------------------------------------------------------------
> 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