I can't tell if you're running M2 or M1...

But in M2, to exclude a dependency from being included in a package,
we use the <scope>provided</scope> tag to override the default
"compile" scope. Provided tells the packager that this
dependency/artifact/library will be provided by the app server etc,
and so it does not need to be included in the archive/package.

Wayne

On 5/30/06, Carsten Karkola <[EMAIL PROTECTED]> wrote:
Hallo,

I have some subprojects with <packaging>rar</packaging> specified. There
are some dependencies specified, that need to be included in the ear. I'd
like to include these dependencies (like axis) only once in the ear and not in
every rar archive.
This way works fine with ejb archives. But with rar archives I get these
depend jars always included in the rar itself. <includeJar>false</includeJar>
doesn't help.

regards, carsten


---------------------------------------------------------------------
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