You can create a project.xml that contains all dependencies without os
specifics, and os specifics project.xml that extends to first project.

- base-project.xml
- project-solaris.xml extends base-project.xml and contains
swt-solaris-motif
- project-win32.xml extends base-project.xml and contains swt-win32

Emmanuel

----- Original Message ----- 
From: "Damian ONeill [AePONA]" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 04, 2003 1:16 PM
Subject: OS specific dependencies


> Could you please clarify how I could in a single project.xml file define
> OS specific dependencies?
>
> I wish to download swt for windows when maven is run on a win32 box and
> swt for solaris on a solaris box.
>
>     <dependency>
>       <id>swt</id>
>       <version>2.1.0</version>
>       <jar>swt-win32-2.1.0.jar</jar>
>     </dependency>
>
> or
>
>     <dependency>
>       <id>swt</id>
>       <version>2.1.0</version>
>       <jar>swt-solaris-motif-2.1.0.jar</jar>
>     </dependency>
>
>
>
>
>
> Thanks,
> Damian.
>
>
> -- 
> [EMAIL PROTECTED]
>
> Damian O'Neill
> Software Engineer
> AePONA Ltd,
> Interpoint Building,
> 20-24 York Street,
> Belfast,
> BT15 1AQ
>
> +44 (0) 2890 275246
>
> http://www.aepona.com
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> _____________________________________________________________________
> Envie de discuter en "live" avec vos amis ? T�l�charger MSN Messenger
> http://www.ifrance.com/_reloc/m la 1�re messagerie instantan�e de France

_____________________________________________________________________
Envie de discuter en "live" avec vos amis ? T�l�charger MSN Messenger
http://www.ifrance.com/_reloc/m la 1�re messagerie instantan�e de France


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to