-
-
Notifications
You must be signed in to change notification settings - Fork 304
Changes in 6.2.0
See the Release section of the README for where to find Bnd/Bndtools.
- Updated classpath container to detect changes in file last modified time of elements.
- The Repository view now lists all project (such as test and other classifier) artifacts rather than just main artifact.
- Connection Settings will now match simple names, like host names, for server authentication credentials.
- Improved error message for processing Declarative Services
Referenceannotation on methods. Some build-time weaving actions seem to relocate the constructor to a generated method before Bnd processes the annotations. - New
writemethods onResourceto support writing directly to files. - Fixed handling when using pom-packaging poms as resources for the maven repositories.
- Improve SPI generator warnings of the type
osgi.serviceloader capability found with no 'register:' directive...:- make it more informative by specifying the descriptor file in question.
- only report the warning when both
register:directive and the descriptor file are missing.
- Build reproducibility improvements were made by consistently cross-platform sorting files processed from directories.
- Updated locking to use a central ReentrantReadWriteLock in the Workspace object. The lock is now used by Bndtools replacing its ReentrantLock.
- Added
DropWhileandTakeWhilesupport for Java Streams on Java 8. -
-jpms-moduleinfoinstruction now supports multipleaccessvalues. -
-exportinstruction learns newtargetDirandtemplateattributes. - Bnd now supports "external" plugins.
- The
-reproducibleinstruction now accepts values for the timestamp of jar entries. It accepts the same values as the Mavenproject.build.outputTimestampproperty.
- New
buildtoolcommand.
- Fixed documentation for
-includeinstruction to properly state the overwrite behavior as implemented in the code.
- New support in
bnd-maven-pluginto allow it to replace executions ofmaven-jar-pluginto perform thejarpackaging in projects while handling the Bnd instructions. - The new
jarpackaging goals ofbnd-maven-pluginsupport the Mavenproject.build.outputTimestampproperty for reproducible builds. - Defined new properties to configure
diffignoresanddiffpackagesforbnd-baseline-maven-plugin. -
bnd-baseline-maven-pluginoutput for baseline issues has been updated.
-
Baselinetask output for baseline issues has been updated.
- Bndtools is built to run on Eclipse 2020-06 (4.16) or later. So Bndtools may not run on older versions of Eclipse.
- Bndtools m2e is built to run on Eclipse m2e 1.16.0 or later. So Bndtools m2e may not run on older versions of Eclipse m2e.
- The Bnd Maven plugins require a minimum of Maven 3.3.9.
- The Bnd Gradle plugins require a minimum of Gradle 6.7 for Java 8 to Java 15, Gradle 7.0 for Java 16, and Gradle 7.3 for Java 17.
- The Bnd Gradle plugins and tasks underwent a large update in 6.0 to modernize their implementations and prepare for Gradle 7 and newer Gradle idioms. All Bnd Gradle task properties are now Gradle Properties and should generally be set using an assignment in your build script. A number of previously deprecated task properties have been removed. The conventions are now deprecated and replaced by extensions. See above for more details.
-
Bndtools m2e does not decorate packages when using the new
jarandtest-jargoals of thebnd-maven-plugin. This is fixed for the next release by https://github.com/bndtools/bnd/pull/5161/commits/d3ca757bcb3339c60b73eadeaa056ee9bc29f85f. -
Eclipse m2e has a bug which can result in build looping. If you experience this, update Eclipse m2e to 1.18.2 or later which seems to have fixed the issue.
-
Windows 10 users: Windows 10 Defender significantly slows down Eclipse, reason being Windows 10 Defender scanning the JAR files. The problem has been reported to Microsoft here. Until then, a workaround to this problem is to add Eclipse root directory to Windows 10 Defender’s exclusion list, detailed steps are shared here.
Note: This is not just an Eclipse issue on Windows 10.
See also Bnd Tips for Windows users.
Latest Releases
all versions
- 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
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
- Release Process
- 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