Commit Graph

80 Commits

Author SHA1 Message Date
Wouter Born 7c06810bfc
Upgrade Netty dependencies to 4.1.99.Final (#15694)
Signed-off-by: Wouter Born <github@maindrain.net>
2023-10-03 16:20:58 +02:00
Wouter Born 9d03ec9af5
Upgrade to Karaf 4.4.4 (#15659)
* Resolve itest runbundles
* Fix dependency issues
* Add specs features because Pax Web now depends on "asm"

Signed-off-by: Wouter Born <github@maindrain.net>
2023-09-30 07:38:19 +02:00
Wouter Born 8da6f0ad07
Upgrade Maven and plug-ins (#15525)
* Use Maven 3.9.4 with GitHub Actions CI
* Upgrade Maven plug-ins

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-30 13:28:44 +02:00
Wouter Born d1a691498a
Fix compilerArguments deprecation warnings (#15504)
This fixes the following warnings:

```
[WARNING] Parameter 'compilerArguments' is deprecated: use {@link #compilerArgs} instead.
```

Related to openhab/openhab-core#3512

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-27 13:45:36 +02:00
Wouter Born 24fa966dc3
Update Jackson to 2.15.2 (#15471)
Related to openhab/openhab-core#3768

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-21 14:03:41 +02:00
Kai Kreuzer 72607d3bee Apply spotless
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-07-24 01:20:31 +02:00
openhab-bot 809fceaff3 [unleash-maven-plugin] Preparation for next development cycle. 2023-07-23 19:19:01 +00:00
Wouter Born 0c3934f3c8
Use Eclipse formatter 4.25 with Spotless (#15264)
This version still checks test files.

See: openhab/openhab-core#3515

Signed-off-by: Wouter Born <github@maindrain.net>
2023-07-18 09:02:05 +02:00
Matthew Skinner ddffda3522
Bump Netty version to 4.1.92.Final (#14878)
Update to latest netty to ensure latest improvements and security patches are applied.

https://netty.io/news/2023/04/25/4-1-92-Final.html

* Adapt itests to new netty release

Signed-off-by: Matthew Skinner <matt@pcmus.com>
Also-by: Holger Friedrich <mail@holger-friedrich.de>
2023-06-08 15:56:27 +02:00
Kai Kreuzer 289aa0b017
Update to SAT version 0.15.0 (#15015)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-05-23 09:11:22 +02:00
Holger Friedrich 8a9ac6eccc
Upgrade SAT to 0.14 (#14981)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-05-13 19:04:36 +02:00
Wouter Born 24adc5aa12
Upgrade maven-surefire-plugin to 3.0.0 (#14842)
This fixes deprecation warnings when runnings tests with Maven 3.9.x:

`[WARNING] Parameter 'localRepository' is deprecated core expression; Avoid use of ArtifactRepository type. If you need access to local repository, switch to '${repositorySystemSession}' expression and get LRM from it instead.`

See: https://issues.apache.org/jira/browse/SUREFIRE-2154

Related to openhab/openhab-core#3512

Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-18 11:58:37 +02:00
J-N-K 8e902f6324
Bump spotless to 2.35 and Eclipse Java Formatter to 4.26 (#14645)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-21 21:03:05 +01:00
Wouter Born b2bf7256db
Upgrade to Karaf 4.4.3 (#14040)
* Rework Servlets to use Http Whiteboard annotations in favor of proprietary `org.openhab.core.io.http.servlet` classes
* Resolve itest runbundles
* Fix dependency issues
* Catch proper exception when starting hueemulation UpnpServer

Also-by: Jan N. Klug <github@klug.nrw>
Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-01 18:33:50 +01:00
Holger Friedrich 1da2694a17
[marytts] Add bnd to make serviceloader aware of marytts impl (#14064)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-02-19 15:32:01 +01:00
J-N-K 4a370863d2
Fix findbugs instanceof pattern matching (#14329)
* Fix findbugs instanceof pattern matching

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-02-04 08:26:48 +01:00
Holger Friedrich a1ef87cca9
Upgrade maven-javadoc-plugin to release 3.2.0 (#14173)
* Switch to version used by openhab-core
* Apply patch from #2359 for upgrading dependency on plexus

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-01-11 08:59:46 +01:00
Jacob Laursen 4dd6d3a8a2
Update license headers to 2023 (#14154)
* Update copyright year in configuration
* Update license headers

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-01-06 09:49:54 +01:00
Jacob Laursen ff158e2f15
Exclude 3rdparty directories from license header generation (#14165)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-01-06 09:44:20 +01:00
Wouter Born 6e6bd3701c
Update Jackson version to 2.14.1 (#14116)
This is the version used in the feature provided by openhab-core.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-30 22:48:12 +01:00
Wouter Born fbf302e553
Use HTTPS in pom.xml where possible (#14044)
Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-23 00:13:17 +01:00
J-N-K 9f3b8e1c04
Raise minimum JDK version to 17 (#13276)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-12-19 20:39:42 +01:00
J-N-K 4d6d6443ef
fix spotless after release (#14014)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-12-19 15:22:17 +01:00
openhab-bot 7993786dc9 [unleash-maven-plugin] Preparation for next development cycle. 2022-12-19 00:55:11 +00:00
J-N-K 61b5c26b58
Upgrade bnd to 6.4.0 (#13890)
* Upgrade bnd to 6.4.0

Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-12-09 21:23:53 +01:00
Wouter Born 3c936dbda9
Upgrade commons-net to 3.9.0 (#13869)
Related to openhab-core#3200

Signed-off-by: Wouter Born <github@maindrain.net>

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-08 07:09:46 +01:00
Wouter Born fdc23e07dd
Sync Jackson to 2.12.7 (#13852)
Related to openhab/openhab-core#3163

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-05 23:15:10 +01:00
Wouter Born 34200d8327
Move Eclipse m2e configuration to a profile (#13098)
This prevents the following warnings when executing: `mvn i18n:generate-default-translations`

[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 was not found in https://openhab.jfrog.io/openhab/libs-snapshot during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of openhab-snapshot has elapsed or updates are forced

Signed-off-by: Wouter Born <github@maindrain.net>
2022-07-10 15:15:26 +02:00
Wouter Born cd73b8d579
Hide compiler warnings for generated code (#13100)
Generated Swagger/OpenAPI code can be messy resulting in a lot of compiler warnings obscuring more important compiler warnings.

Fixes #12498

Signed-off-by: Wouter Born <github@maindrain.net>
2022-07-10 15:13:31 +02:00
Kai Kreuzer 440f603e88
Apply spotless and resolver (#13027)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-06-27 16:00:37 +02:00
openhab-bot ed4858ebbb [unleash-maven-plugin] Preparation for next development cycle. 2022-06-26 18:18:40 +00:00
Wouter Born e4a3a43345
Update bnd to 6.3.0 (#12864)
For release notes, see:

https://github.com/bndtools/bnd/wiki/Changes-in-6.3.0

Related to openhab/openhab-core#2991

Signed-off-by: Wouter Born <github@maindrain.net>
2022-06-02 21:44:20 +02:00
Jacob Laursen 723d09b96d
Upgrade directory-maven-plugin from 0.3.1 to 1.0 (#12774)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-05-24 14:37:46 +02:00
Wouter Born d456db656c
Upgrade SAT to 0.13.0 (#12797)
See the [0.13.0](https://github.com/openhab/static-code-analysis/milestone/20?closed=1) milestone for all changes in this release.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-05-24 14:29:42 +02:00
Wouter Born 1408899ed3
Upgrade to Karaf 4.3.7 (#12660)
* Syncs the karaf.version so the new Maven plugin is used
* Resolves itest runbundles for the new runtime dependencies

Signed-off-by: Wouter Born <github@maindrain.net>
2022-04-28 22:03:04 +02:00
J-N-K ce6ef25ac3
bump compiler tooling (#12465)
This brings the build tools to the same versions as in core.

Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-03-12 22:24:38 +01:00
Wouter Born e84e2800a4
Add Java 17 to GHA CI build matrix (#12360)
This adds Java 17 to the GitHub Actions CI build matrix so we can make sure the build keeps working with both Java 11 and Java 17.
It also updates the required Java version range used by the enforcer plugin so it is also possible to build with the supported Java versions.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-02-24 10:55:20 +01:00
Wouter Born c028deefbe
Fix Java 17 compilation and test issues (#12353)
* Adds --add-opens to the surefire-maven-plugin config required for deserialization using Gson/XStream
* Upgrades plugin dependencies to JDK 17 compatible versions
* Replaces some reflection that no longer works on JDK 17
* Fixes issues when mocking Random
* Run Nashorn dependant tests only on JDK < 15

Signed-off-by: Wouter Born <github@maindrain.net>
2022-02-23 16:13:56 +01:00
Wouter Born b0765271d3
Upgrade to Karaf 4.3.6 (#12058)
* Syncs the karaf.version so the new Maven plugin is used
* Resolves itest runbundles for the new runtime dependencies

Signed-off-by: Wouter Born <github@maindrain.net>
2022-01-16 14:25:19 +01:00
Hilbrand Bouwkamp da59cdd255
Update license headers to 2022 (#11973)
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2022-01-06 18:14:47 +01:00
Matthew Skinner 8d15e0ae7b
Bump netty to 4.1.72.Final for log4j2 fix TELSTICK FIXED (#11863)
Signed-off-by: Matthew Skinner <matt@pcmus.com>
2021-12-28 09:45:24 +01:00
Kai Kreuzer e087bac902
Revert "Bump netty to 4.1.72.Final for log4j2 2.15.0 fix (#11826)" (#11861)
This reverts commit d778bb92bb.
2021-12-26 22:41:53 +01:00
Marcel cc47ef7f3e
pom update from http to https reference (#11833)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-12-23 19:40:44 +01:00
Matthew Skinner d778bb92bb
Bump netty to 4.1.72.Final for log4j2 2.15.0 fix (#11826)
Signed-off-by: Matthew Skinner <matt@pcmus.com>
2021-12-22 20:28:23 +01:00
Kai Kreuzer 48746f5e3f Apply spotless
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-12-20 09:07:55 +01:00
openhab-bot 6dc031e6cf [unleash-maven-plugin] Preparation for next development cycle. 2021-12-20 00:30:46 +00:00
Wouter Born a490f0626c
Upgrade to Karaf 4.3.4 (#11750)
* Syncs the karaf.version so the new Maven plugin is used
* Resolves itest runbundles for the new runtime dependencies

Signed-off-by: Wouter Born <github@maindrain.net>
2021-12-18 13:01:38 +01:00
Wouter Born 2f035b53b6
Add i18n-maven-plugin dependency (#11648)
When the plugin dependency is managed you can also use the plugin without adding GAV parameters to commands.

E.g. it allows for using it with:

```
mvn i18n:generate-default-translations
```

Signed-off-by: Wouter Born <github@maindrain.net>
2021-12-01 18:53:01 +01:00
Wouter Born a45b40d6c3
Update bnd to 6.1.0 (#11650)
For release notes, see:

https://github.com/bndtools/bnd/wiki/Changes-in-6.1.0

Related to openhab/openhab-core#2583

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-28 21:58:08 +01:00
Wouter Born e6fd01d2ab
Update Jackson version to 2.12.5 (#11609)
This is the version used in the feature provided by openhab-core.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-21 10:22:28 +01:00