Maven repositories: metadata vs pom files?

2006-11-21 Thread Victor Okunev

Hello,

Does Maven2 need a pom file in repository to download a jar from
there? After examining the repositories' contents it seems that some
jars are provided with both pom and metadata files while others only
contain metadata files. Specifically, if I have this dependency in my
project:

dependency
 groupIdcom.sun.xml.bind/groupId
 artifactIdjaxb-libs/artifactId
 version1.0.6/version
/dependency

mvn compile generates the following message:

Downloading: 
http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-libs/1.0.6/jaxb-libs-1.0.6.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)

When I visit the url I can see the jar and metadata files but no pom.
Why is that? Do I need to manually install such a jar in my local
repository in order to use it?

Thanks,

Victor

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



Re: Maven repositories: metadata vs pom files?

2006-11-21 Thread Wendy Smoak

On 11/20/06, Wayne Fay [EMAIL PROTECTED] wrote:

This isn't a case of repo has pom but no jar, instead its the
opposite, jar with no pom. So I don't think its an artifact which
cannot be redistributed. ;-)


Oops.  Not quite paying enough attention there. :)

--
Wendy

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