-
-
Notifications
You must be signed in to change notification settings - Fork 302
Changes in 3.3.0
BJ Hargrave edited this page Aug 25, 2016
·
15 revisions
For Bndtools 3.3.0 changes, see https://github.com/bndtools/bndtools/wiki/Changes-in-3.3.0.
A new repository plugin, aQute.bnd.repository.osgi.OSGiRepository
, has been added to replace FixedIndexRepo
. It serves the same role as FixedIndexRepo
but uses the new HttpClient support introduced in Bnd 3.2. Please migrate your use of FixedIndexRepo
to aQute.bnd.repository.osgi.OSGiRepository
.
A new repository plugin, aQute.bnd.repository.maven.pom.provider.BndPomRepository
, has been added which creates a repository around a POM file and its transitive dependencies. For example:
-plugin.enroute-distro: aQute.bnd.repository.maven.pom.provider.BndPomRepository; \
snapshotUrls=https://oss.sonatype.org/content/repositories/osgi/; \
releaseUrls=https://repo1.maven.org/maven2/; \
pom=org.osgi:osgi.enroute.distro.pom:2.0.0-SNAPSHOT; \
name="enRoute Distro"
A new repository plugin, aQute.bnd.repository.p2.provider.P2Repository
, has been added so that Eclipse p2 repositories can be used. For example:
-plugin.orbit-neon: aQute.bnd.repository.p2.provider.P2Repository; \
name = "Orbit (Neon)"; \
url = "http://download.eclipse.org/tools/orbit/downloads/drops/R20160520211859/repository/"
- A download progress plugin has been added to log
Download
messages when downloading files from repositories. -
-testpath
will now use Strategy.LOWEST which is what-buildpath
uses to find the lowest version of a bundle to satisfy the dependency. - Exception reporting was improved to provide more information when an exception occurs. The exception will be logged to SLF4J at the DEBUG level, the exception type will be added to the Processor in addition to the exception message and InvocationTargetExceptions will be unwrapped before being added to the Processor.
- Bnd 4.0, planned for Spring 2017, will move to Java 8 as the base runtime.
- The Bnd DS, metatype and versioning annotations are deprecated and support for them will be removed in Bnd 4.0. Please make plans to migrate to the OSGi Release 6 specified annotations which now offer more features than the bnd annotations.
- The
OSGiRepository
replaces theaQute.bnd.deployer.repository.FixedIndexRepo
repository plugin which will be deprecated in the future. Please migrate to theOSGiRepository
repository plugin. - The
MavenBndRepository
replaces theaQute.bnd.deployer.repository.aether.AetherRepository
repository plugin which is now deprecated. Please migrate to theMavenBndRepository
repository plugin. - The
biz.aQute.junit
bundle has updated to use Java 6 as the compile target. It was Java 5 in the Bnd 3.2 release.
- None at this time.