You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Pankaj Tandon <pa...@gmail.com> on 2010/04/21 14:40:08 UTC

Why do some projects in the repo contain only .pom files, no jars

Hi,
This question is regarding dependencies and how they are stored in repo1 AND
my corporate repo. There are projects that have just .pom files and no
corresponding jars. When I open up the pom file, I see a packaging a type
jar. Still.. no jar. Also there is no 'relocation' element specified.

For example, on http://repo1.maven.org/maven2/, I noticed that some versions
(of projects) contain jars and some do not. For instance:

http://repo1.maven.org/maven2/cobertura/cobertura/1.8/
has jars but

http://repo1.maven.org/maven2/cobertura/cobertura/1.9rc1/
does not.
Just a .pom file exists.

Similarly, in my corporate repo, when I built my project, antlr was
downloaded. There is no direct dependency on antlr on my project, so I
suppose it was pulled in transitively. However, the repo is missing
antlr-2.7.6.jar. All it has is a antlr-2.7.6.pom (and a sha1 file). Note
however that repo1 for antlr 2.7.6 does have the jar!
http://repo1.maven.org/maven2/antlr/antlr/2.7.6/

So what decides whether a jar is downloaded to my local repo (or corporate
repo) or just a .pom is downloaded.
Why do some projects have just .pom files and others have jars + .pom files?
And why did Antlr-2.7.6.jar not get downloaded to my corporate repo, instead
only antlr-2.7.6.pom was downloaded?


Thanks,
Pankaj

-- 
View this message in context: http://n2.nabble.com/Why-do-some-projects-in-the-repo-contain-only-pom-files-no-jars-tp4936700p4936700.html
Sent from the maven users mailing list archive at Nabble.com.

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


Re: Why do some projects in the repo contain only .pom files, no jars

Posted by Pankaj Tandon <pa...@gmail.com>.
Please ignore this post.. It's a duplicate of:
http://n2.nabble.com/Where-are-there-missing-jars-in-repo1-with-just-pom-files-instead-td4931179.html#a4931179

-- 
View this message in context: http://n2.nabble.com/Why-do-some-projects-in-the-repo-contain-only-pom-files-no-jars-tp4936700p4936874.html
Sent from the maven users mailing list archive at Nabble.com.

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