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]
