You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Tom Joad <tj...@gmail.com> on 2006/04/24 18:05:49 UTC

Re: How to specify a Set of Multiple dependent JARs in M2 ?

Hi,
You can choose to install all jars on your local repository an set for
each jar compile scope dependency and so they ,all , will be bundled
on your jar or war  file by packaging
or to use system scope and you must provide path like
<dependencies>
    <dependency>
      <groupId>sun.jdk</groupId>
      <artifactId>tools</artifactId>
      <version>1.5.0</version>
      <scope>system</scope>
      <systemPath>${java.home}/../lib/tools.jar</systemPath>
    </dependency>
  </dependencies>
Jars are not bundled in your jar or war  file.

Tom

2006/4/24, Sharma, Jaikumar <ja...@barco.com>:
> Dear Maven users,
>
> Is there a way in M2 to specify a set of dependent JARs which resides in
> local  filesystem and required by the project during compilation ?
> Individually, JARs can be specified using <dependency> </dependency>
> construct.
>
> Thanks!
>
> Regards, Jaikumar
> - - - - - - - DISCLAIMER- - - - - - - -
> Unless indicated otherwise, the information contained in this message is
> privileged and confidential, and is intended only for the use of the
> addressee(s) named above and others who have been specifically authorized to
> receive it. If you are not the intended recipient, you are hereby notified
> that any dissemination, distribution or copying of this message and/or
> attachments is strictly prohibited. The company accepts no liability for any
> damage caused by any virus transmitted by this email. Furthermore, the
> company does not warrant a proper and complete transmission of this
> information, nor does it accept liablility for any delays. If you have
> received this message in error, please contact the sender and delete the
> message. Thank you.
>
>

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