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 M. Karr" <da...@gmail.com> on 2016/05/25 16:31:57 UTC

Explain why bundle artifact can't be found in repo?

I'm trying to fully understand the difference between a "bundle" 
artifact and a "jar" artifact.  I understand the basic idea, but there 
must be something subtle I'm missing, or there is something else wrong 
in my environment that I'm missing.

I have the following dependency in a small Maven project:
----------------------
     <dependency>
<groupId>org.opendaylight.mdsal.model</groupId>
         <artifactId>ietf-yang-types</artifactId>
<version>2010.09.24.8.1-Beryllium-SR1</version>
         <type>bundle</type>
     </dependency>
-------------------

This build (mvn -U install) fails with the following:
--------------------
[ERROR] Failed to execute goal on project yangproject2: Could not 
resolve dependencies for project 
com.att.yang:yangproject2:jar:0.0.1-SNAPSHOT: Could not find artifact 
org.opendaylight.mdsal.model:ietf-yang-types:bundle:2010.09.24.8.1-Beryllium-SR1 
in opendaylight-mirror 
(https://nexus.opendaylight.org/content/repositories/opendaylight.release/) 
-> [Help 1]
--------------------

I've looked in 
https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/mdsal/model/ietf-yang-types/2010.09.24.8.1-Beryllium-SR1/ 
, and it has both a jar and a pom, along with many other associated 
artifacts.  I've inspected both the jar and the pom, and I don't see 
anything wrong with them.

What is going on here that I'm missing?

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