Package de.mnl.osgi.bnd.maven
This package mixes classes from bnd's maven repository libraries
with the standard maven libraries, which is far from an ideal
situation. However, the bnd
MavenBackingRepository
class provides
an easy access to remote repositories. The standard
maven repository provider is much harder to use and pulls in a
ridiculous number of dependencies. In addition, the bnd classes
Program
and Archive
add some type safety not provided by the maven libraries (though
the latter is a misnomer, because an Archive
can also represent a POM).
However, the evaluation of the information in the POM by bnd isn't perfect and therefore done using the maven libraries, which results in the afore mentioned mixture. The goal for further development of this package is to depend less on bnd's classes and use maven standard libraries whereever possible.
-
Interface Summary Interface Description MavenResource A resource that is backed by a maven archive.RepositoryUtils.ThrowingRunnable A runnable that may throw an exception. -
Class Summary Class Description BndModelResolver Resolves (raw) model requests using a bndMavenRepository
as backend.BndModelResolver.FileModelSource The Class FileModelSource.BoundArchive AnArchive
with a reference to the maven repository in which it was found.BoundRevision A revision with a reference to the maven repository in which it was found.CompositeMavenRepository Provides a compositeIMavenRepo
view on severalMavenBackingRepository
instances.MavenResourceRepository Wraps the artifacts from a maven repository asResource
s.MavenVersion Provides a model of an artifact version which can be used as a maven version.MavenVersionRange Provides a representation of a maven version range.MavenVersionSpecification The common base class ofMavenVersion
andMavenVersionRange
.RepositoryUtils The Class Utils. -
Enum Summary Enum Description CompositeMavenRepository.BinaryLocation Use local or remote URL in index. -
Exception Summary Exception Description MavenResourceException Indicates a problem when lazily loading properties of aMavenResource
.