Properties Nathan Coast
PropertyOptional?DescriptionDefault
maven.ejb.src Yes Root of files to be included within the ejb-jar. The same directory structure will be followed within the assembled jar file. src/ejb
maven.ejb.manifest Yes Location of the manifest file to be used within the ejb jar file. ${maven.ejb.src}/META-INF/MANIFEST.MF
PropertyDescriptionSee
maven.build.dir where the comonent will be assembled maven.build.dir
maven.final.name The assembled component will be ${maven.build.dir}/${maven.final.name}.jar maven.final.name

You must tell Maven what jars you want included in the ejb. This is probably only needed if you are building a standalone ejb jar. This is achieved by specifying meta-information in the POM, using the following syntax:

jarid jarversion true ]]>

To access the classes within other jars (either within the same ear file or embedded within the same ejbjar), you will need to use the manifest Class-Path entry. To generate the classpath for an ejb-jar from the dependencies use this syntax.

jarid jarversion true ]]>