maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Joad" <tjo...@gmail.com>
Subject Re: How to specify a Set of Multiple dependent JARs in M2 ?
Date Mon, 24 Apr 2006 16:05:49 GMT
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 <jaikumar.sharma@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


Mime
View raw message