See the EAR doc which explains how to change the bundle name of a dependency.

Now, this sounds interesting, you can open an improvement in Jira if you like.

Cheers,
Stéphane

On 3/6/06, Gautham Pamu <[EMAIL PROTECTED]> wrote:
> Hi Everyone,
>
> Currently when I package my ear, it is include the ejb jars and wars files
> in the ear but the jars names include the version number. I would
> have package the jars in the ear without the version numbers.
>
> For example:
>
>    in my ear..  i have following dependency so it is packaging the
> compAWeb-1.0.war in the ear, I want to have compAEJBClient.jar in the ear
> instead.
>    Is it possible to change names of the jars while packaging the ear using
> ear pluging or do I have to package the jar using a custom anttask
>
>        <dependency>
>             <groupId>companyName</groupId>
>             <artifactId>compAWeb</artifactId>
>             <version>1.0</version>
>             <type>war</type>
>         </dependency>
>
>
> I tried changing the finalName for the war project to artifactname so it
> packaged two war files in the ear file. One with version
> compAWeb-1.0.warand another without version
> compAWeb.war
>
> Any suggestions on how package this kind of ear file.
>
> --
> -Gautham Pamu
>
>


--
.::You're welcome ::.

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

Reply via email to