Repository navigation
Changes in 7.5.0
Release date: 2026-11-12 (see GitHub Release)
- Installation: See the Release section of the README and the Installation page for where to find Bnd/Bndtools.
- Preview of commits (PRs)
- Bnd/Bndtools 7.5.0, built from the approved RC3 source.
- Final build and publication.
- Available from Maven Central and the stable P2 update site.
-
7.5.0 RC3, prepared on 2026-11-09 with all master changes through
2e441833ebb12540166d8086e8b9420b83a76269. - RC3 build and publication; changes since RC2.
-
7.5.0 RC2, prepared on 2026-11-08 with all master changes through
39db5b597dc50acdf294f3c465dc0f6d44953bb3. - RC2 build and publication; changes since RC1.
-
7.5.0 RC1, prepared on 2026-10-25 from master commit
a2d77cf313fb50eb801f5e2e52379dc8424898a1. - RC1 build and publication.
- Release fixes are maintained on next; new development continues as 7.6.0 on master.
This release introduces significant improvements to Eclipse feature support on build paths, enhanced property conflict reporting, improved HTTP caching for 404 responses, and multiple quality-of-life enhancements.
- Added support for referencing Eclipse features in
-buildpath,-testpath,-runpath, and-runbundles - Features are identified by the canonical clause syntax:
org.eclipse.e4.rcp;version='4.40.0';type=org.eclipse.update.feature - Features expand to their member bundles from
<plugin>and<includes>references -
<requires>references are treated as dependencies, not members - Platform filtering respects
osgi.os,osgi.ws,osgi.archfrom-runproperties - Nested typed resources are supported with cycle detection
- New
Container.TYPE.TYPED_RESOURCEfor generic typed resource support
- New
-propertyconflictsproperty to control duplicate property reporting - Supported values:
off,warning,error - Detects duplicate property definitions and shadowed merged properties
- Detailed diagnostics with file locations and occurrence tracking
- Mergeable conflicts can use unique suffixed keys (e.g.,
-runvm.local,-runvm.extra) - Integration with
-includeresolution to catch shadowing from includes
- Added support for
resolution:=conditionalon Import-Package - Conditional imports from OSGi bundles are treated as normal imports
- Conditional imports from non-OSGi jars are embedded rather than imported
- Packages not found on classpath are treated as optional
- Negative caching for 404 responses (HTTP_NOT_FOUND) of bnd's HTTPClient
- Cache entries include
.jsonmetadata for 404 responses - Respects cache TTL for negative cache entries
- Reduces unnecessary network requests for missing artifacts
- New
javac.releaseproperty for usingjavac --releaseflag - Automatically selects
--releasewhen source and target versions match - Prevents accidental use of newer platform APIs
- Incompatible with
javac.profileand bootclasspath options - Validates javac version compatibility
In addition to checksumPolicy=strict introduced strict-only-jar which focuses just on the actual .jar file of the dependency without other classifiers (like sources, javadoc).
Note: This was done because the strict policy feature set is currently incomplete in this regard. The strict-policy currently can causes errors in Eclipse when bndtools tries to lookup the .sources for a dependency which also runs through the TrustedChecksum machinery. But the generator for the .checksums file, does not generate the checksums for such artifacts if they exist and also the lookup cannot handle classifiers for artifacts. This is a feature we plan to deliver in 7.6.0 and it was the main reason we introduced a "less" strict mode strict-jar-only which focuses only on the jar.
Rule of thumb: strict-jar-only is a good middle-ground between strict and lenient. strict is currently incomplete.
The new Rebuild Trigger Policy with its option Optimized can make bndtools build faster. It prevents unnecessary cascading rebuilds in Bndtools Eclipse by preserving JAR timestamps when a rebuild produces an identical artifact or an unchanged exported API. This reduces build times by avoiding redundant rebuilds of downstream projects after changes that do not affect them. It is implemented via the JAR Lifecycle Listeners below.
See https://bnd.bndtools.org/plugins/bndtools-rebuild-policy-plugin.html#rebuild-trigger-policy-bndtools-eclipse-plugin for more details.
- New
JarLifecycleListenerplugin interface -
beforeWrite()phase for pre-write metadata computation (digests, signatures) -
afterWrite()phase for post-write actions (sidecar files, validation) - Shared context map between phases for data exchange
- Useful for artifact signing, metadata generation, and validation
Behavioral impact by setup
| Existing setup | Before branch | After branch |
|---|---|---|
No location configured |
Creates cnf/cache/p2-<name>/index.xml.gz
|
Same, because new default ends in /
|
Explicit path ending in / or \
|
Directory mode | Same |
| Explicit path without separator, directory already exists | Directory mode | Same |
| Explicit path without separator, directory does not exist yet | Directory mode | Explicit index-file mode; behavior changes |
| Explicit path pointing to an existing file | Fails because it was treated as a directory | Works as explicit index file |
| Explicit custom index filename in a new parent directory | Not supported | Supported; bundles go beside the index |
# reference a p2 repository with a given index file name
eclipse.p2.repository.4.40: \
aQute.bnd.repository.p2.provider.P2Repository; \
name = 'Eclipse P2 Platform 4.40'; \
url = 'https://download.eclipse.org/eclipse/updates/4.40'; \
location = '${.}/eclipse_4.40_platform_p2.index.xml.gz'
# re-use (and checkin) the created index from above to avoid future parsing time
eclipse.osgi.repository.4.40: \
aQute.bnd.repository.osgi.OSGiRepository; \
name = 'Eclipse Platform 4.40'; \
locations = '${fileuri;${.}/eclipse_4.40_platform_p2.index.xml.gz/index.xml.gz}'
- Cache link collision prevention - feature links use
.feature.jarsuffix - Index enrichment with provenance attributes (bnd.relation, id, version, os/ws/arch)
- Self-healing stale cache detection and re-indexing
- Multi-namespace upload support for Sonatype Central Portal
- Improved negative namespace detection
- Support for Eclipse features in Build Path and Run Bundles panes
- Canonical clause generation via drag-and-drop
- Feature icon display in versioned clause label provider
- Addition of archived template fragment support
- Improved cleanup in test execution
- ProjectLauncher cleanup on test preparation errors
- Exception handling for test preparation failures
- Proper resource cleanup in error scenarios
- Updated GitHub Actions to latest versions
- Updated step-security/harden-runner
- Updated gradle/actions/setup-gradle
- Updated actions/upload-artifact and actions/download-artifact
- Updated ruby/setup-ruby
- CodeQL actions to v4.38.3
- Fixed CDI analysis closing shared inner JAR from -make recipe
- Fixed duplicate directive removal in Jar.writeManifest() with warning
- Fixed Require-Capability and Provide-Capability diff detection with different attribute orders
- Fixed manifest content handling for multi-release builds
- Fixed nested made JAR handling in Bundle-ClassPath
- Fixed symbol/method compilation errors with BundleActivator
- Fixed GPG signing script variable handling
- Fixed sonatype-upload.sh multiple namespace handling
- Fixed cleanup_jfrog_p2_repos workflow for comprehensive repository cleanup
- Improved CI workflow split (canonical vs. other builds)
- Fixed P2 repo upload for pull requests and branches
- Added proper workspace directory cleanup in testing
- Fixed symlink handling on non-Windows systems
-
aQute.bnd.service.JarLifecycleListener- JAR artifact lifecycle hooks
-
aQute.bnd.build4.7.1 → 4.8.0- Added
Container.TYPE.TYPED_RESOURCE - Added
Container.getMembers(Set<String>)
- Added
-
aQute.bnd.osgi.resource5.1.0 → 5.2.0- Added
CapReqBuilder.createIdentityRequirement(String, String, String)
- Added
-
aQute.bnd.service4.10.0 → 4.11.0- Added
RepositoryPlugin.getTypedResourceMembers(Container, Set<String>)
- Added
-
aQute.bnd.service.repository1.7.0 → 1.8.0- Inherited
getTypedResourceMembersfrom extendedRepositoryPlugin
- Inherited
-
aQute.bnd.repository.p2.provider1.6.0 → 1.7.0 -
aQute.p2.provider1.0.0 → 1.1.0 -
aQute.lib.utf8properties4.2.0 → 4.3.0 -
aQute.bnd.http2.1.0 → 2.2.0 -
aQute.bnd.osgi7.7.0 → 7.9.0 -
aQute.bnd.build.model4.5.0 → 4.6.0 -
aQute.bnd.wstemplates1.2.0 → 1.4.0
- Eclipse Features on -buildpath specification
- Property Conflict tracking and reporting
- JarLifecycleListener plugin interface
- Conditional Import-Package support
-
FeatureBuildpathTest- Generic typed resource expansion -
ProjectJavacTest- Javac release option handling -
AnalyzerTest- Conditional and dynamic imports -
FeatureBuildPathWizardSwtbotTest- UI feature selection -
FeatureBuildPathDndSwtbotTest- Drag-and-drop feature support -
DiffRequireCapabilityOrderTest- Capability order independence -
ProcessorTest- Property conflict scenarios -
MakeTest- Nested made JAR handling
- Wildcard clauses (bsn*) do not support the
typeattribute -
version=hashlookups are not type-aware - Only
P2Repositoryimplements typed resource expansion for Eclipse features - Feature JAR itself never appears on paths (only member bundles)
- Platform derivation does not use
-runsystemcapabilitiesor-runblacklist -
filterattribute on feature.xml elements is not modeled
-
Eclipse Features: If using features, update clauses to canonical syntax:
- Old (unsupported):
org.eclipse.e4.rcp:version=4.40.0 - New (canonical):
org.eclipse.e4.rcp;version='4.40.0';type=org.eclipse.update.feature
- Old (unsupported):
-
Property Conflicts: Review and fix duplicate property definitions
- Use
-propertyconflicts: errorto catch issues during build - Use unique suffixes for merged headers
- Use
-
Conditional Imports: Verify intended behavior for packages with
resolution:=conditional- OSGi bundle packages remain as imports
- Non-OSGi jar packages are embedded
todo
Dev Meetings Agenda/Protocol
Latest Releases
all versions
- 7.4.0
- 7.3.0
- 7.2.3 | 7.2.2 | 7.2.1 | 7.2.0
- 7.1.0 | 7.0.0
- 6.4.1 | 6.4.0 | 6.3.1 | 6.3.0
- 6.2.0 | 6.1.0 | 6.0.0
- 5.3.0 | 5.2.0 | 5.1.2 | 5.1.1
- 5.1.0 | 5.0.1 | 5.0.0
- 4.3.1 | 4.3.0 | 4.2.1 | 4.2.0
- 4.1.0 | 4.0.0
- 3.5.0 | 3.4.0 | 3.3.0 | 3.2.0
- 2.2.0
Release
Gradle
- Plugin
- Build Customizations
- Builder & java-library
- Non-Workspace builds
- PluginManagement
- Using Kotlin
- Kotlin DSL jar config
- AntTasks
- Baselining [beta]
- Blurry Form Text on High-Resolution Displays
- Bnd toolchain parity table
- bnddistribute
- Buildpath Versions
- Conflict with M2E PDE Connector
- Eclipse Logging with Logback
- Hackathon June 2012
- Install bnd on the command line
- Is there a mailing list for bnd
- Launching Framework
- Multi-project build order
- Multi-release JAR support design discussion
- Plans wrt to enRoute
- Reading Eclipse project preferences in bnd
- Requirements for New Repository API
- Windows Locked Files
- WIP ideas ‐ bnd 8.0.0 breaking changes
- XML Attributes on Annotations
- [ant] Loading and Expanding Shared Headers or Properties