You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ciaran Treanor <ci...@capetechnologies.com> on 2002/12/11 13:24:51 UTC

Single dependency - multiple jars

Hi,
I've got a JDBC driver (MS) that is comprised of three jar files.
Is it legal to have a dependency that looks like:

<dependency>
   <id>mssqlserver</id>
   <version/>
   <jar>msbase.jar</jar>
   <jar>mssqlserver.jar</jar>
   <jar>msutil.jar</jar>
</dependency>

If not, should I resort to manually creating a single jar file from
the contents of the three and referencing that single file or is
there a more elegant way?

Thanks,
ct



Re: Single dependency - multiple jars

Posted by Siegfried Göschl <si...@it20one.at>.
Hi Ciaran,

I never tried that but ...:-)

You can also rename the stuff to e.g. mssql-mssqlserver-1.0b, mssql-
msbase and so on and

<dependency>
	<id>mssql+mssqlserver</id>
	<version>1.0b</version>
</dependency>

<dependency>
	<id>mssql+msbase</id>
	<version>1.0b</version>
</dependency>

The "+" is a sort of undocumented feature use for ant-optional and 
similar stuff.


Siegfried Goeschl
CTO
=================================
IT20one GmbH
mail: siegfried.goeschl@it20one.at
www.it20one.at

On 11 Dec 2002 at 12:24, Ciaran Treanor wrote:

> Hi,
> I've got a JDBC driver (MS) that is comprised of three jar files. Is
> it legal to have a dependency that looks like:
> 
> <dependency>
>    <id>mssqlserver</id>
>    <version/>
>    <jar>msbase.jar</jar>
>    <jar>mssqlserver.jar</jar>
>    <jar>msutil.jar</jar>
> </dependency>
> 
> If not, should I resort to manually creating a single jar file from
> the contents of the three and referencing that single file or is there
> a more elegant way?
> 
> Thanks,
> ct
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> <ma...@jakarta.apache.org> For
> additional commands, e-mail:
> <ma...@jakarta.apache.org>
>