Hi,

On 1/2/07, Petar Tahchiev <[EMAIL PROTECTED]> wrote:
On 02/01/07, Bryan Loofbourrow <[EMAIL PROTECTED]> wrote:
>
> A second point, one you may already know but it's not clear from your
> example. In general, I am pretty sure that the xxxModule configurations
> are only necessary when you want to configure something about that
> module's inclusion.  The main way you tell the ear pom what you want in
> the ear is by including dependencies on the artifacts you want packaged
> up, and, yes, those dependencies are pulled from the repository.

Exactly. I'll add this in the FAQ because lots of users are confused
with the 'modules' configuration. It should only be used if you want
to alter the default settings (such as bundle file name, exclusion,
context root, etc).

I was looking at this page [1], and maybe that's why I have confused myself.
It may be a bug in the documantation, or just the documentation is about
version 2.4-SNAPSHOT.

I tried just including my desired modules as a dependencies and it worked as
expected.

Again, thanks a lot.


[1]
http://maven.apache.org/plugins/maven-ear-plugin/examples/excluding-a-module.html

It is indeed a bug in the documentation. We'll fix it.

Thanks,

Stéphane

--
Regards, Petar!
Karlovo, Bulgaria.



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

Reply via email to