[prev in list] [next in list] [prev in thread] [next in thread]
List: maven-user
Subject: Explain why bundle artifact can't be found in repo?
From: "David M. Karr" <davidmichaelkarr () gmail ! com>
Date: 2016-05-25 16:31:57
Message-ID: 5745D37D.7010808 () gmail ! com
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic