Wouter Born
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 Friedrich
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 Friedrich
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 Friedrich
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 Friedrich
e17577c7c5
Reduce SAT warnings ( #4860 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-06-21 07:10:58 +02:00
Holger Friedrich
6eb7d0c9a6
Clean up POM dependencies ( #4855 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-06-18 20:23:10 +02:00
Jimmy Tanagra
ff2cafa690
refactor directory handling
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-05-18 19:10:37 +02:00
Jimmy Tanagra
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 Tanagra
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 Tanagra
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 Tanagra
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 Tanagra
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 Tanagra
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 Friedrich
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 Friedrich
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 Born
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 Friedrich
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 Born
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 Friedrich
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 Born
979e4a7409
Update license headers to 2025 ( #4532 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2025-01-01 16:40:04 +01:00
Holger Friedrich
8d837f9823
Prepare for OH 5.0.0 ( #4496 )
...
* Prepare for OH 5.0.0
* Switch to 5.0.0-SNAPSHOT
* Fix spotless after unleash
* resolve itest runbundles
* Fix linux-specific pom
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-12-15 18:49:23 +01:00
openhab-bot
0f2e56f39d
[unleash-maven-plugin] Preparation for next development cycle.
2024-12-15 11:41:19 +00:00
Kai Kreuzer
21e605d212
Apply spotless after release, resolve bundles ( #4301 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2024-07-07 23:22:27 +02:00
openhab-bot
07e23eac3c
[unleash-maven-plugin] Preparation for next development cycle.
2024-07-07 16:05:56 +00:00
Holger Friedrich
873bb53cbc
Upgrade Karaf from 4.4.5 to 4.4.6 ( #4181 )
...
* Upgrade Karaf from 4.4.5 to 4.4.6
* Sync runtime dependencies with Karaf 4.4.6, most notably:
* Jetty 9.4.54.v20240208, addresses CVE-2024-22201
* Pax Logging 2.2.7
* Pax Web 8.0.27
* ASM 9.7
* BouncyCastle 1.77
* Upgrade xtext to 2.35.0.M1
* Resolve itest runbundles
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-05-20 17:42:04 +02:00
Holger Friedrich
593681a681
Harmonize library versions ( #4228 )
...
* Use jdt.annotation 2.2.100 (i18n tool)
* Use gson 2.10.1 (i18n tool, upgrade tool)
* Use logback 1.3.14 (test)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-05-14 20:56:00 +02:00
Holger Friedrich
c316b07c47
Update plugins ( #4197 )
...
* set minimum Maven version to 3.6.3
* build-helper-maven-plugin, 3.4.0 to 3.5.0, see
https://github.com/mojohaus/build-helper-maven-plugin/releases/tag/3.5.0
* jvnet maven-jaxb2-plugin, 0.15.2 to 0.15.3
* license-maven-plugin, 4.2 to 4.3
* maven-archetype-plugin, 3.0.1 to 3.2.1
* maven-assembly-plugin, 3.4.2 to 3.7.1, see https://github.com/apache/maven-assembly-plugin/releases
* maven-clean-plugin, 3.3.1 to 3.3.2, see https://github.com/apache/maven-clean-plugin/releases
* maven-dependency-plugin, 3.6.0/3.3.0/3.1.1 to 3.6.1, see
https://github.com/apache/maven-dependency-plugin/releases/tag/maven-dependency-plugin-3.6.1
* maven-jar-plugin, 3.3.0 to 3.4.1, see https://github.com/apache/maven-jar-plugin/releases
* maven-javadoc-plugin, 3.6.2 to 3.6.3, see https://github.com/apache/maven-javadoc-plugin/releases
* maven-plugin-plugin, 3.11.0 to 3.12.0, see
https://github.com/apache/maven-plugin-tools/releases/tag/maven-plugin-tools-3.12.0
* maven-shade-pluginm 3.5.2 to 3.5.3
* maven-source-plugin, 3.3.0 to 3.3.1
* maven-surefire-plugin, 3.1.2 to 3.2.5, see https://github.com/apache/maven-surefire/releases
* sortpom-maven-plugin, 3.3.0 to 3.4.1, see https://github.com/Ekryd/sortpom/releases
* spotless-maven-plugin, 2.38.0 to 2.43.0, see
https://github.com/diffplug/spotless/blob/main/plugin-maven/CHANGES.md
* openhab 18n-maven-plugin, 4.0.2 to 4.1.2
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-04-27 09:34:39 +02:00
jimtng
fc2d5375b7
Upgrade Tool: Fix NPE ( #4128 )
2024-03-04 07:19:51 +01:00
Florian Hotze
45f8bff876
Upgrade tool: Add upgrade task for script profile changes ( #4117 )
...
* Upgrade tool: Add upgrade task for script profile changes
Refs #4058 .
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-02 10:41:34 +01:00
Wouter Born
2babea4c9a
Update license headers to 2024 ( #4011 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2024-01-03 21:20:34 +01:00
Wouter Born
f376606e92
Simplify boolean expressions ( #3971 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2023-12-28 13:19:01 +01:00
Holger Friedrich
839ba1ab4c
Apply spotless after release, resolve bundles ( #3953 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-12-22 23:14:28 +01:00
openhab-bot
3b279587b1
[unleash-maven-plugin] Preparation for next development cycle.
2023-12-22 11:48:43 +00:00
Wouter Born
3624682c1e
Add JavaDoc build badge and reconfigure plugin to indicate JavaDoc warnings/errors ( #3886 )
...
* Add JavaDoc build badge
* Add dependency to upgradetool to fix remaining JavaDoc error
* Fail JavaDoc build on JavaDoc warnings/errors
* Upgrade maven-javadoc-plugin to fix it failures even if there are no warnings/errors
* Enable legacyMode to workaround JPMS issues in newer maven-javadoc-plugin versions
Signed-off-by: Wouter Born <github@maindrain.net>
2023-11-26 21:26:19 +01:00
Wouter Born
d4a433a4ce
Upgrade to Karaf 4.4.4 ( #3814 )
...
* Sync runtime dependencies with Karaf 4.4.4, most notably:
* Jetty 9.4.52.v20230823
* JNA 5.13.0
* SLF4J 2.0.6
* Pax Logging 2.2.3
* Pax Web 8.0.22
* Resolve itest runbundles
* Use new Pax Web features to simplify dependency management
* Add specs features because Pax Web now depends on "asm"
Signed-off-by: Wouter Born <github@maindrain.net>
2023-09-29 20:23:31 +02:00
J-N-K
04eb32185c
Bump UoM libraries to 2.2 ( #3758 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-08-18 21:38:43 +02:00
Kai Kreuzer
5692232e2b
Apply spotless
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-07-24 01:11:37 +02:00
openhab-bot
fd93f0a766
[unleash-maven-plugin] Preparation for next development cycle.
2023-07-23 17:14:35 +00:00
J-N-K
545ecfee21
Also adjust system channel types for unit ( #3649 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-06-11 21:25:16 +02:00
J-N-K
a8a5e86fb9
Fix NPE in UpgradeTool when no pattern present ( #3630 )
...
Reported on the forum. State descriptions do no necessarily contain a pattern and thus `.get("pattern")` can return null.
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-25 19:19:06 +02:00
J-N-K
3eca30f2c1
Fix Upgradetool does not remember last executed step ( #3621 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-20 09:38:28 +02:00
J-N-K
6eb49577fe
Fix UpgradeTool execution log ( #3614 )
...
It seems that in some cases GSON is not able to correctly serialize/deserialize ZonedDateTime. Since we do not depend on the value in any case (it's just informational), we can store a String instead.
A missing metadata database also failed the check when upgrading items. This has been fixed, too.
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-14 18:43:43 +02:00
J-N-K
fbd7f9cbff
Fix UpgradeTool and enable default=all policy ( #3607 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-12 22:22:38 +02:00
J-N-K
9ef076dc6a
[uom] Add `unit` metadata for NumberItem ( #3481 )
...
* Add defaultUnit metadata for NumberItem
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-09 22:42:25 +02:00
Kai Kreuzer
9c59071038
Make --dir param optional for upgradetool ( #3591 )
...
* Make --dir param optional for upgradetool
Almost all openHAB installations should have the $OPENHAB_USERDATA env variable set.
If this is the case, the user does not have to provide a directory, so this parameter can be made optional.
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-05-04 09:08:26 +02:00
J-N-K
c40dd73d77
Initial contribution of an CLI upgrade-tool ( #3268 )
...
* Initial contribution of an upgrade-tool
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-01 21:58:11 +02:00