You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by David Delbecq <de...@oma.be> on 2008/03/11 10:28:54 UTC

problems downloading "variants" of an artifact

Hello,

If you look at
http://repo1.maven.org/maven2/fop/fop/0.93/
 
You will see 2 jars for fop 0.93, one build on jdk15 et one on jdk14. 
How do i tell maven that there is such variation?

Using:

    <dependency>
      <groupId>fop</groupId>
      <artifactId>fop</artifactId>
      <version>0.93-jdk14</version>
    </dependency>
brings "Downloading: 
http://repo1.maven.org/maven2/fop/fop/0.93-jdk14/fop-0.93-jdk14.jar" 
which does not work

Using
    <dependency>
      <groupId>fop</groupId>
      <artifactId>fop</artifactId>
      <version>0.93</version>
    </dependency>

brings "Downloading: 
http://repo1.maven.org/maven2/fop/fop/0.93/fop-0.93.jar" which also fails.

Since it's in the "official" maven repository, i suppose there i a way 
to get it, but how?

thanks for help, this is blocking me!

-- 
David Delbecq
Institut Royal Météorologique
Ext:557


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


Re: problems downloading "variants" of an artifact

Posted by David Delbecq <de...@oma.be>.
En l'instant précis du 11/03/08 10:43, simon.kitching@chello.at 
s'exprimait en ces termes:
> David Delbecq schrieb:
>   
>> Hello,
>>
>> If you look at
>> http://repo1.maven.org/maven2/fop/fop/0.93/
>>
>> You will see 2 jars for fop 0.93, one build on jdk15 et one on jdk14.
>> How do i tell maven that there is such variation?
>>     
>
> use
>   <classifier>jdk15</classifier>
> in the dependency declaration.
>
> Regards, Simon
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>   
Thank you. May i suggest this feature be documented in de <dependency> 
description of pom.xml? It's hard to guess that alone :)
http://maven.apache.org/pom.html#Dependencies

-- 
David Delbecq
Institut Royal Météorologique
Ext:557


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


Re: problems downloading "variants" of an artifact

Posted by "simon.kitching@chello.at" <si...@chello.at>.
David Delbecq schrieb:
> Hello,
>
> If you look at
> http://repo1.maven.org/maven2/fop/fop/0.93/
>
> You will see 2 jars for fop 0.93, one build on jdk15 et one on jdk14.
> How do i tell maven that there is such variation?

use
  <classifier>jdk15</classifier>
in the dependency declaration.

Regards, Simon



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


Re: problems downloading "variants" of an artifact

Posted by Jeff MAURY <je...@jeffmaury.com>.
You must specify the classifier in your dependency (jdk14 or jdk15).

Jeff MAURY

On Tue, Mar 11, 2008 at 10:28 AM, David Delbecq <de...@oma.be> wrote:

> Hello,
>
> If you look at
> http://repo1.maven.org/maven2/fop/fop/0.93/
>
> You will see 2 jars for fop 0.93, one build on jdk15 et one on jdk14.
> How do i tell maven that there is such variation?
>
> Using:
>
>    <dependency>
>      <groupId>fop</groupId>
>      <artifactId>fop</artifactId>
>      <version>0.93-jdk14</version>
>    </dependency>
> brings "Downloading:
> http://repo1.maven.org/maven2/fop/fop/0.93-jdk14/fop-0.93-jdk14.jar"
> which does not work
>
> Using
>    <dependency>
>      <groupId>fop</groupId>
>      <artifactId>fop</artifactId>
>      <version>0.93</version>
>    </dependency>
>
> brings "Downloading:
> http://repo1.maven.org/maven2/fop/fop/0.93/fop-0.93.jar" which also fails.
>
> Since it's in the "official" maven repository, i suppose there i a way
> to get it, but how?
>
> thanks for help, this is blocking me!
>
> --
> David Delbecq
> Institut Royal Météorologique
> Ext:557
>
>
> ---------------------------------------------------------------------
> 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