You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by John Coleman <jo...@eurobase.com> on 2008/11/27 10:04:31 UTC

Dynamic dependencies

Is it possible to have a dependency that is dynamic, for example we
first look for a project specific version of a dependenyc, and if this
is not found, then the global version of the dependency is taken.

The use case is where a dependency project has been specialised for a
client, and a dependent project for a client needs to automatically
obtain any of their client specific versions of dependencies, but if
such doesn't exist, then the global version will be used instead.

TIA,
John

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


Re: Dynamic dependencies

Posted by Jeff MAURY <je...@jeffmaury.com>.
You should use Maven profiles to get a specialized build for your
specialized customer case.

Regards
Jeff


On Thu, Nov 27, 2008 at 10:04 AM, John Coleman <jo...@eurobase.com>wrote:

> Is it possible to have a dependency that is dynamic, for example we
> first look for a project specific version of a dependenyc, and if this
> is not found, then the global version of the dependency is taken.
>
> The use case is where a dependency project has been specialised for a
> client, and a dependent project for a client needs to automatically
> obtain any of their client specific versions of dependencies, but if
> such doesn't exist, then the global version will be used instead.
>
> TIA,
> John
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
La mélancolie c'est communiste
Tout le monde y a droit de temps en temps
La mélancolie n'est pas capitaliste
C'est même gratuit pour les perdants
La mélancolie c'est pacifiste
On ne lui rentre jamais dedans
La mélancolie oh tu sais ça existe
Elle se prend même avec des gants
La mélancolie c'est pour les syndicalistes
Il faut juste sa carte de permanent

Miossec (2006)

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.lastfm.fr/listen/user/jeffmaury/personal
Mes CDs à récupérer:
http://spreadsheets.google.com/ccc?key=pNeg4Doa_oCsh7CepKPaPTA&hl=en