Place them in the repository and make a dependency in project.xml:
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>2.0.14-bin</version>
<type>jar</type>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
The property <war.bundle>true</war.bundle> will tell maven to copy the file
from the maven repository to your webapp/WEB-INF/lib dir.
-Stijn
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Jetspeed Developers List" <[EMAIL PROTECTED]>
Sent: Monday, August 09, 2004 8:16 AM
Subject: Where to drop external jar files
>
>
> where should we drop other external jar files (like jdbc drivers) so that
when
> we 'maven war' they will be included in the war file? i tried dropping
them in
> the following locations but to no avail...
> {jetspeedhome}/lib
> /build/lib
>
> i figured this out when i tried to use oracle db and i keep on getting
errors
> when importing psml files to my db and i get 'no suitable driver' errors
just
> because the war file didn't include my jdbc drivers. is there a way on
how to
> avoid adding external files into the exploded directory everytime we
deploy?
> or am i missing some things here?
>
> thanks in advance.
>
> --jaq
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> ---------------------------------------------------------------------
> 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]