Good point... I've been packaging EARs for too long, and forgot that
WAR normally bundles its dependencies too. ;-)

Dependencies with scope compile should be included in your WAR
package. Those with scope test and provided will not be included.

Wayne

On 4/19/07, Nick Stolwijk <[EMAIL PROTECTED]> wrote:
When building a war module (packaging=war) all the dependencies are
included in the war file. WEB-INF/lib. What do you mean by making available?

Nick S.

Marouane Amraoui wrote:
> Thx
>
> If i use my application server is only a servlet engine(like tomcat) , so
it does'n support ear. In this case I must use a war file. So what are all
possible way to make these jar file (declared in my pom files) available on
my application server ?
>
> Thx in advance
>
>
>
> -----Message d'origine-----
> De : Wayne Fay [mailto:[EMAIL PROTECTED]
> Envoyé : jeudi 19 avril 2007 14:14
> À : Maven Users List
> Objet : Re: Maven : deploy strategy
>
> If you bundle the war up into an ear, and assuming you have
> dependencies properly declared in pom.xml files etc, then all the
> supporting libraries will be included in the ear.
>
> Then you deploy the ear into your app server.
>
> Wayne
>
> On 4/19/07, Marouane Amraoui <[EMAIL PROTECTED]> wrote:
>
>> I have to deploy a war application. My web application has some
dependencies
>> (jar files). I deploy my war on production machine , what are all
possible
>> way to make these jar file (declared in my pom files) available on my
>> application server ?
>>
>>
>>
>> ---------------------------------------------------------------
>>
>> Merouane AMRAOUI
>> Consultant Expert
>> Division Développement
>> Email.: [EMAIL PROTECTED]
>>
>> Gsm  .: 065 19 60 99
>> Tél. | Tel.: 022 98 70 70Téléc | Fax: 022 98 70 70
>> OMNIDATA , 74 Bv AbdelMoumen
>>
>>
>>
>>
>>
>
> ---------------------------------------------------------------------
> 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]
>
>
>


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