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>
 <groupId>com.sun.xml.bind</groupId>
 <artifactId>jaxb-libs</artifactId>
 <version>1.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]

Reply via email to