You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Mordo, Aviran (EXP N-NANNATEK)" <av...@lmco.com> on 2005/11/29 20:19:00 UTC

[m2] Include all jar files as dependencies during compilation

I have a web app, which has all the dependant jar files under
src\webapp\WEB-INF\lib (i.e jboss files, logging and other jar files
that are needed to compile and deploy)

Is there a way to tell maven to use this lib folder to find all the jar
files it needs during compilation, or do I need to copy each and every
one to the repository (also creating a pom file describing each one),
and put a <dependency> element for each jar file in the webapp pom ?

Thanks,
Aviran

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m2] Include all jar files as dependencies during compilation

Posted by Allan Ramirez <ar...@exist.com>.
Hi,

you can refer to this page for your reference,

http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html

regards,
-allan

Mordo, Aviran (EXP N-NANNATEK) wrote:

>I have a web app, which has all the dependant jar files under
>src\webapp\WEB-INF\lib (i.e jboss files, logging and other jar files
>that are needed to compile and deploy)
>
>Is there a way to tell maven to use this lib folder to find all the jar
>files it needs during compilation, or do I need to copy each and every
>one to the repository (also creating a pom file describing each one),
>and put a <dependency> element for each jar file in the webapp pom ?
>
>Thanks,
>Aviran
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
>
>  
>