Hi, On 7/6/06, Graham Leggett <[EMAIL PROTECTED]> wrote:
Reading the docs for the ear:ear goal doesn't specify any minumum required configuration for the ear plugin to work.
The doc is up-to-date, provided that your pom.xml has a dependency on the ejb (either by explicitelty declaring it or by getting it through transitive dependencies) is enough. You can just check that by yourself and see that your ejb module is bundled in the EAR file and defined in the application.xml correctly (?!)
Reading "Better builds with maven" it suggests that each jar and ejb file needs to be explicitly defined within the <plugin> tag for maven-ear-plugin, over and above the dependancy mechanism.
Read this section again. The book does not suggest that at all. If you want to *customize* the way the EAR plugin works, just configure the modules within the configuration/modules element of your plugin's config (see the doc again for pom samples)
Can anyone point at any docs that explain clearly and concisely what needs to be done to build an ear file?
I would suggest to read the doc again and if does not help, investigate why JBoss does not find your class. IMO it has nothing to do with the EAR and/or maven Cheers, Stéphane
Regards, Graham -- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- .::You're welcome ::. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]