You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Manos Batsis <ma...@geekologue.com> on 2011/10/18 17:50:51 UTC
EAR as WAR dependency?
Hello,
I've got an EAR application for which I'm building a specific extension
as an additional WAR. My question is, what is the best way to do this
without the original EAR's POM knowing anything about the extra WAR? Any
examples would be appreciated.
Many thanks,
Manos
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: EAR as WAR dependency?
Posted by Stephen Connolly <st...@gmail.com>.
Sounds like you want to unpack the EAR, add the WAR and repack it again...
that would be a 2nd EAR module that depends on the first EAR and the
WAR... might need some massaging, or perhaps a
m-d-p:unpack-dependencies
On 18 October 2011 16:59, Brian Topping <to...@codehaus.org> wrote:
> How would you solve this problem without Maven? What kind of EAR could load a WAR it doesn't know about?
>
> I don't doubt that this is possible with some magic, but that magic is separate from Maven.
>
> Once you have the magic well-defined, Maven can help you build it and package it.
>
> Brian
>
> On Oct 18, 2011, at 11:50 AM, Manos Batsis wrote:
>
>>
>> Hello,
>>
>> I've got an EAR application for which I'm building a specific extension as an additional WAR. My question is, what is the best way to do this without the original EAR's POM knowing anything about the extra WAR? Any examples would be appreciated.
>>
>>
>> Many thanks,
>>
>> Manos
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: EAR as WAR dependency?
Posted by Manos Batsis <ma...@geekologue.com>.
Hello Brian,
Thanks for the reply. I was thinking about using the unpack goal of
maven-dependency-plugin, then change the target dir for the WAR to place
it in there along with some enhanced EAR descriptors. Just looking for
better ideas and/or examples to save time.
Manos
On 10/18/2011 06:59 PM, Brian Topping wrote:
> How would you solve this problem without Maven? What kind of EAR could load a WAR it doesn't know about?
>
> I don't doubt that this is possible with some magic, but that magic is separate from Maven.
>
> Once you have the magic well-defined, Maven can help you build it and package it.
>
> Brian
>
> On Oct 18, 2011, at 11:50 AM, Manos Batsis wrote:
>
>>
>> Hello,
>>
>> I've got an EAR application for which I'm building a specific extension as an additional WAR. My question is, what is the best way to do this without the original EAR's POM knowing anything about the extra WAR? Any examples would be appreciated.
>>
>>
>> Many thanks,
>>
>> Manos
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: EAR as WAR dependency?
Posted by Brian Topping <to...@codehaus.org>.
How would you solve this problem without Maven? What kind of EAR could load a WAR it doesn't know about?
I don't doubt that this is possible with some magic, but that magic is separate from Maven.
Once you have the magic well-defined, Maven can help you build it and package it.
Brian
On Oct 18, 2011, at 11:50 AM, Manos Batsis wrote:
>
> Hello,
>
> I've got an EAR application for which I'm building a specific extension as an additional WAR. My question is, what is the best way to do this without the original EAR's POM knowing anything about the extra WAR? Any examples would be appreciated.
>
>
> Many thanks,
>
> Manos
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org