Re: Where are there missing jars in repo1, with just .pom files instead

2010-04-21 Thread Pankaj Tandon

Thanks for the response Wayne.
I missed the relocation element there.





-- 
View this message in context: 
http://n2.nabble.com/Where-are-there-missing-jars-in-repo1-with-just-pom-files-instead-tp4931179p4937074.html
Sent from the maven users mailing list archive at Nabble.com.

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



Re: Where are there missing jars in repo1, with just .pom files instead

2010-04-20 Thread Wayne Fay
> http://mirrors.ibiblio.org/pub/mirrors/maven2/cobertura/cobertura/1.9rc1/
> Just a .pom file exists.

Did you look at the pom file? It is a relocation from cobertura:cobertura to

  net.sourceforge.cobertura


> project, so I suppose it was pulled in transitively. However, my local repo
> is missing antlr-2.7.6.jar. All it has is a antlr-2.7.6.pom (and a sha1

I have no idea why the antlr jar was not pulled down. There may be a
perfectly reasonable explanation. Are your builds breaking due to this
missing jar -- and if not, why do you care what is in your local repo
cache?

FYI antlr:antlr:3.0ea8 is also a relocation pom:
http://mirrors.ibiblio.org/pub/mirrors/maven2/antlr/antlr/3.0ea8/antlr-3.0ea8.pom

> So what decides whether a jar is downloaded to my local repo or not.
> Why do some projects have just .pom files and others have jars + .pom files?

Some are simply bad uploads by the responsible project and missing jar files.
Some are relocation poms telling you to change your dependency tag.
There are others telling you where to download something and install
it manually (eg JTA and other Sun BCL-licensed jars).

> And why did Antlr's .jar not get downloaded to my local repo, instead only
> antlr-2.7.6.pom was only downloaded?

Absolutely no clue. You should not be worried about it either.

Wayne

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