You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Sharma, Jaikumar" <ja...@barco.com> on 2006/04/24 08:28:21 UTC

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

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.

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

Posted by "Henry S. Isidro" <hi...@exist.com>.
On Monday 24 April 2006 2:28 pm, Sharma, Jaikumar wrote:
> 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

None that I know of. You have declare the dependencies one by one.

- Henry

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


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

Posted by Tom Joad <tj...@gmail.com>.
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