Commit Graph
170 Commits
Author SHA1 Message Date
Holger FriedrichandGitHub 4084fec56b Prepare for OH 5.2.0 (#5220)
* Fix spotless after unleash
* Resolve itest runbundles

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-12-22 22:01:01 +01:00
openhab-bot f6c7ea6490 [unleash-maven-plugin] Preparation for next development cycle. 2025-12-22 15:00:02 +00:00
Florian HotzeandGitHub 05ba25e5ee Persistence upgrader: Fix unmanaged config not respected (#5213)
* Persistence upgrader: Fix unmanaged config not respected

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-12-20 14:15:28 +01:00
a221c4fa41 Persistence upgrader: Create default persistence settings if no configuration so far (#5212)
* fix persistence upgrade

Signed-off-by: Florian Hotze <dev@florianhotze.com>
Co-authored-by: Mark Herwege <mark.herwege@telenet.be>
2025-12-19 21:06:37 +01:00
Mark HerwegeandGitHub 3e494bb0f4 fix upgrade error message if no managed persistence config exists (#5202)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2025-12-17 00:42:51 +01:00
Kai KreuzerandGitHub 9c3907da2c Add PersistenceUpgrader (#5190)
This accidentially got lost in https://github.com/openhab/openhab-core/commit/cea82896242c290941a62c519c618d4b702b260f

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2025-12-14 18:23:49 +01:00
Mark HerwegeandGitHub 361d71433d Persistence no default strategies and persistence configuration health check (#4682)
* no default strategy and persistence health
* upgradetool

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2025-12-14 17:28:26 +01:00
Cody CutrerandGitHub 839581898b Add HomieAddonUpgrader to upgradetool (#5180)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
2025-12-13 14:48:01 +01:00
Cody CutrerandGitHub 7b80c1e9f5 Add HomeAssistantAddonUpgrader to upgradetool (#5178)
Automatically marks Home Assistant addon for installation if the
MQTT binding is marked for installation, and Home Assistant things
exist

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2025-12-09 22:15:06 +01:00
dependabot[bot]andGitHub 07c703fe7a Bump org.apache.maven.plugins:maven-assembly-plugin from 3.7.1 to 3.8.0 (#5159)
Bumps [org.apache.maven.plugins:maven-assembly-plugin](https://github.com/apache/maven-assembly-plugin) from 3.7.1 to 3.8.0.
- [Release notes](https://github.com/apache/maven-assembly-plugin/releases)
- [Commits](https://github.com/apache/maven-assembly-plugin/compare/maven-assembly-plugin-3.7.1...v3.8.0)

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-30 19:03:18 +01:00
dependabot[bot]andGitHub 801b1fad4f Bump org.apache.maven.plugins:maven-resources-plugin from 3.3.1 to 3.4.0 (#5160)
Bumps [org.apache.maven.plugins:maven-resources-plugin](https://github.com/apache/maven-resources-plugin) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/apache/maven-resources-plugin/releases)
- [Commits](https://github.com/apache/maven-resources-plugin/compare/maven-resources-plugin-3.3.1...v3.4.0)

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-30 19:02:06 +01:00
dependabot[bot]andGitHub 8e1aea5c1f Bump org.apache.maven.plugins:maven-plugin-plugin from 3.15.1 to 3.15.2 (#5097)
Bumps [org.apache.maven.plugins:maven-plugin-plugin](https://github.com/apache/maven-plugin-tools) from 3.15.1 to 3.15.2.
- [Release notes](https://github.com/apache/maven-plugin-tools/releases)
- [Commits](https://github.com/apache/maven-plugin-tools/compare/maven-plugin-tools-3.15.1...maven-plugin-tools-3.15.2)

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-24 22:45:27 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2c6fdb3ee4 Bump org.apache.maven.plugins:maven-archetype-plugin from 3.4.0 to 3.4.1 (#5071)
Bumps [org.apache.maven.plugins:maven-archetype-plugin](https://github.com/apache/maven-archetype) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/apache/maven-archetype/releases)
- [Commits](https://github.com/apache/maven-archetype/compare/maven-archetype-3.4.0...maven-archetype-3.4.1)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-archetype-plugin
  dependency-version: 3.4.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-11 11:15:09 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
21335699e6 Bump org.apache.maven.archetype:archetype-packaging from 3.4.0 to 3.4.1 (#5070)
Bumps [org.apache.maven.archetype:archetype-packaging](https://github.com/apache/maven-archetype) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/apache/maven-archetype/releases)
- [Commits](https://github.com/apache/maven-archetype/compare/maven-archetype-3.4.0...maven-archetype-3.4.1)

---
updated-dependencies:
- dependency-name: org.apache.maven.archetype:archetype-packaging
  dependency-version: 3.4.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-11 11:14:43 +02:00
dependabot[bot]andGitHub 3ed9b08744 Bump org.apache.maven.plugins:maven-dependency-plugin (#5052)
Bumps [org.apache.maven.plugins:maven-dependency-plugin](https://github.com/apache/maven-dependency-plugin) from 3.8.1 to 3.9.0.
- [Release notes](https://github.com/apache/maven-dependency-plugin/releases)
- [Commits](https://github.com/apache/maven-dependency-plugin/compare/maven-dependency-plugin-3.8.1...maven-dependency-plugin-3.9.0)

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-03 16:45:06 +02:00
Holger FriedrichandGitHub 7d8aca474b Upgrade Xtext/Xtend to 2.40 (#4981)
* Upgrade Xtext/Xtend to 2.40

* Upgrade Xtext/Xtend from 2.39 to 2.40
* Upgrade gson from 2.11.0 to 2.13.1
* Upgrade classgraph 4.8.176 to 4.8.180
* Change repo from org.eclipse.xtend to org.eclipse.xtext

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>

* Add error_prone_annotations as dependency for gson

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>

---------

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-08-30 16:00:22 +02:00
Holger FriedrichandGitHub 3d0ec786d0 Upgrade Units of Measurement dependencies (#4979)
Upgrades UoM dependencies to:

* si-units 2.2.3
* use osgiified si-quantity 2.2.3
* indriya 2.2.3

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-08-30 15:59:00 +02:00
Wouter BornandGitHub 1167a9a0ad Update Jackson to 2.19.2 (#4942)
Updates Jackson from 2.18.2 to 2.19.2

For release notes, see:

- https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.18
- https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.19

Signed-off-by: Wouter Born <github@maindrain.net>
2025-08-03 06:37:47 +02:00
Holger FriedrichandGitHub cc340bdd4c Fix upgradetool dependencies, regression of #4855 (#4924)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-07-24 11:43:17 +02:00
Holger FriedrichandGitHub ddf04e2419 Prepare for OH 5.1.0 (#4918)
* Prepare for OH 5.1.0

* Fix spotless after unleash
* Resolve itest runbundles

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-07-21 21:10:15 +02:00
openhab-bot 36e9e60f14 [unleash-maven-plugin] Preparation for next development cycle. 2025-07-21 07:17:39 +00:00
Holger FriedrichandGitHub a625d848a4 SAT: Reduce warnings, add suppressions (#4863)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-07-10 19:13:49 +02:00
Holger FriedrichandGitHub f26c542429 Fix upgradetool dependencies, regression of #4855 (#4871)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-06-25 22:38:19 +02:00
Holger FriedrichandGitHub e17577c7c5 Reduce SAT warnings (#4860)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-06-21 07:10:58 +02:00
Holger FriedrichandGitHub 6eb7d0c9a6 Clean up POM dependencies (#4855)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-06-18 20:23:10 +02:00
Wouter BornandGitHub fcd3a38fd4 Fix binding skeleton pom.xml indentation (#4851)
Newly created bindings should pass the Spotless checks.

Fixes #4811

Signed-off-by: Wouter Born <github@maindrain.net>
2025-06-16 12:00:32 +02:00
Matthew SkinnerandGitHub 2079497ace Update README.md in skeleton (#4841)
Add an extra line so new bindings do not create as many errors when you compile for the first time with a fresh created binding to help new devs get started quicker.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
2025-06-08 08:19:01 +02:00
Matthew SkinnerandGitHub 4b81cb4078 Fix copyright message format error in skeleton (#4842)
Signed-off-by: Matthew Skinner <matt@pcmus.com>
2025-06-08 08:17:20 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6b49739830 Bump org.apache.maven.plugins:maven-archetype-plugin from 3.3.1 to 3.4.0 (#4822)
Bumps [org.apache.maven.plugins:maven-archetype-plugin](https://github.com/apache/maven-archetype) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/apache/maven-archetype/releases)
- [Commits](https://github.com/apache/maven-archetype/compare/maven-archetype-3.3.1...maven-archetype-3.4.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-archetype-plugin
  dependency-version: 3.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-02 08:46:56 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4c57f917cf Bump org.apache.maven.archetype:archetype-packaging from 3.0.1 to 3.4.0 (#4821)
Bumps [org.apache.maven.archetype:archetype-packaging](https://github.com/apache/maven-archetype) from 3.0.1 to 3.4.0.
- [Release notes](https://github.com/apache/maven-archetype/releases)
- [Commits](https://github.com/apache/maven-archetype/compare/maven-archetype-3.0.1...maven-archetype-3.4.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.archetype:archetype-packaging
  dependency-version: 3.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-02 08:46:20 +02:00
Jimmy TanagraandKai Kreuzer ff2cafa690 refactor directory handling
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-05-18 19:10:37 +02:00
Jimmy TanagraandKai Kreuzer d8c07d5601 inform about quoting paths, fix missing userdata dir
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-05-18 19:10:37 +02:00
Jimmy TanagraandKai Kreuzer b55b486360 print the userdata and conf directories
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-05-18 19:10:37 +02:00
Jimmy TanagraandKai Kreuzer 860eaae975 allow unspecified userdata dir when --command is given
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-05-18 19:10:37 +02:00
Jimmy TanagraandKai Kreuzer 482848117e Log the exception message instead of class name
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-05-18 19:10:37 +02:00
Jimmy TanagraandKai Kreuzer 3e0d14fed4 Add Yaml configuration tags list to map upgrader
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-05-18 19:10:37 +02:00
Jimmy TanagraandKai Kreuzer 2515b05ee3 Upgrade Tool: Split upgrade commands into individual classes
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-05-18 19:10:37 +02:00
Holger FriedrichandGitHub 1c33c03cd4 Upgrade plugins (#4641)
* maven-clean-plugin to 3.4.1
https://github.com/apache/maven-clean-plugin/releases/tag/maven-clean-plugin-3.4.1
* maven-compiler-plugin to 3.14.0
https://github.com/apache/maven-compiler-plugin/releases/tag/maven-compiler-plugin-3.14.0
* maven-deploy-plugin to 3.1.4
https://github.com/apache/maven-deploy-plugin/releases/tag/maven-deploy-plugin-3.1.4
* maven-intstall-plugin to 3.1.4
https://github.com/apache/maven-install-plugin/releases/tag/maven-install-plugin-3.1.4
* i18n-plugin:
  * upgrade maven-plugin-api to 3.9.6
  * upgrade maven-plugin-annotations to 3.15.1
* remove unused property

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-04-03 17:46:30 +02:00
jimtngandGitHub a670ddf2ef Fix i18n:generate-default-translations on add-on config other than bindings (#4650)
* Fix i18n:generate-default-translations on add-on config other than bindings
* translate all xml config descriptions

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-04-02 20:03:37 +02:00
Holger FriedrichandGitHub 72cf4c1109 Upgrade dependencies (#4663)
* Upgrade jose4j for 0.9.5 to 0.9.6
  https://bitbucket.org/b_c/jose4j/wiki/Release%20Notes
* Upgrade commons-io from 2.17.0 to 2.18.0
  https://commons.apache.org/proper/commons-io/changes-report.html#a2.18.0
* Upgrade commons-net from 3.9.0 to 3.11.1
  https://commons.apache.org/proper/commons-net/changes-report.html#a3.11.1
* upgradetool: Upgrade commons-cli from 1.5.0 to 1.9.0

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-03-23 17:05:58 +01:00
Holger FriedrichandGitHub f972e95c6b Upgrade glassfish hk2 to 3.1.1, upgrade units (#4658)
* Upgrade glassfish hk2 from 2.4.0-b34 to 3.1.1
* Upgrade jakarta.inject-api from 2.0.0 to 2.0.1
  https://github.com/jakartaee/inject/releases/tag/2.0.1
* Upgrade jakarta.annotation-api from 2.0.0 to 2.1.1
* Upgrade si.uom:si-units and si-quantity from 2.1 to 2.2, including
  transition from jakarta.annotation-api 1.3.4 to 2.0.0
* Upgrade tech.units.indriya from 2.2 to 2.2.2
* Adapt test to inriya >2.2 (year, yr)
* Resolve bundles
* Upgrade glassfish hk2 osgi-resource-locator to 3.0.0
* Upgrade osgi-resource-locator from 1.0.3 to 3.0.0

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-03-23 17:03:31 +01:00
Wouter BornandGitHub 6bf59605bd Use Spotless sortpom plug-in (#4618)
This simplifies the sortpom configuration and also allows for checking and reformatting them using the spotless:check and spotless:apply Maven goals.

Signed-off-by: Wouter Born <github@maindrain.net>
2025-02-23 19:04:47 +01:00
Holger FriedrichandGitHub ab870d73df Reduce SAT warnings (#4567)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-02-15 16:23:24 +01:00
Holger FriedrichandWouter Born 6764b6d94c Upgrade Xtext/Xtend to 2.37.0
* Upgrade Xtext/Xtend from 2.36.0 to 2.37.0, see release notes:
  https://eclipse.dev/Xtext/releasenotes.html#/releasenotes/2024/11/19/version-2-37-0
  https://eclipse.dev/Xtext/xtend/releasenotes.html#/releasenotes/2024/11/19/version-2-37-0
* Upgrade dependencies
  * ecj from 3.36.0 to 3.39.0
  * gson from 2.10.1 to 2.11.0
  * classgraph to 4.8.176
  * guava from 3.33.0 to 3.33.1

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-01-26 15:15:29 +01:00
Wouter BornandGitHub f00c7700cb Start license headers with /* instead of /** (#4544)
Prevents JavaDoc tooling issues because these tools check comments starting with `/**`.

Signed-off-by: Wouter Born <github@maindrain.net>
2025-01-07 21:48:56 +01:00
Holger FriedrichandGitHub 98552a4d88 Upgrade plugins (#4537)
* exec-maven-plugin to 3.5.0
https://github.com/mojohaus/exec-maven-plugin/releases
* maven-dependency-plugin to 3.8.1
* maven-plugin-plugin to 3.15.1

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-01-07 18:22:30 +01:00
Holger FriedrichandGitHub 40d079ae80 Java 21 language features (#4535)
* Java 21 language features

* use getFirst and getLast methods
* replace new Locale by Locale.of
* replace Paths.get by Path.of
* use ThreadLocalRandom.current().nextDouble()
* add @Serial annotations

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-01-06 23:22:43 +01:00
Holger FriedrichandGitHub 1e0b3c2410 Upgrade plugins (#4536)
* sortpom-maven-plugin to 4.0.0 (breaking change)
https://github.com/Ekryd/sortpom?tab=readme-ov-file#news
* maven-clean-plugin to 3.4.0
https://github.com/apache/maven-clean-plugin/releases/tag/maven-clean-plugin-3.4.0
* maven-deploy-plugin to 3.1.3
https://github.com/apache/maven-deploy-plugin/releases/tag/maven-deploy-plugin-3.1.3
* maven-enforcer-plugin to 3.5.0
https://github.com/apache/maven-enforcer/releases
* maven-install-plugin to 3.1.3
https://github.com/apache/maven-install-plugin/releases
* maven-plugin-plugin to 3.15.1
* license-maven-plugin to 4.6
https://github.com/mathieucarbou/license-maven-plugin/releases
* maven-jar-plugin to 3.4.2
https://github.com/apache/maven-jar-plugin/releases/tag/maven-jar-plugin-3.4.2
* maven-archetype-plugin to 3.3.1
* maven-dependency-plugin to 3.8.1
* maven-javadoc-plugin to 3.11.2
* maven-release-plugin to 3.1.1
* maven-shade-plugin to 3.6.0
* maven-site-plugin to 3.21.0
* maven-surefire-plugin to 3.5.2
* build-helper-maven-plugin
https://github.com/mojohaus/build-helper-maven-plugin/releases/tag/3.6.0
* i18n-maven-plugin to latest OH release 4.3.1

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-01-04 09:48:42 +01:00
Wouter BornandGitHub 979e4a7409 Update license headers to 2025 (#4532)
Signed-off-by: Wouter Born <github@maindrain.net>
2025-01-01 16:40:04 +01:00
Wouter BornandGitHub db72021460 Update Eclipse files (#4514)
Signed-off-by: Wouter Born <github@maindrain.net>
2024-12-24 07:02:47 +01:00