* Speedup Build
* GitHub Action for build and test is split up:
* build: spotless, build, test, itest
* sat: build, sat (checkstyle, pmd, spotbugs)
* javadoc: build javadoc to make sure it does not break
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
* pin external action stCarolas/setup-maven to specific SHA
* set global timeout
* comments
* restore broken registration of problem matchers
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
* remove duplicate import
* add apiguardian-api, a transitive dependeny of junit, to
compile bom to avoid JavaDoc warning
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
* Upgrade plexus-compiler-eclipse from 2.12.1 to 2.15.0
https://github.com/codehaus-plexus/plexus-compiler/releases
* Require maven 3.9.6, this is enforced as required by plexus-compiler
* Upgrade ecj from 3.39.0 to 3.41.0
* Minor adaption of ThingManagerImpl to allow for ecj > 3.39
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
* 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>
The GitHub Actions build workflow includes external Actions from
3rd party repositories.
The functionality of tj-actions/verify-changed-files was used to
detect modifications of files during the build process.
The external action is removed and replaced by custom code.
This is less flexible, but does not require an external action in the
build toolchain.
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
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>
When starting openHAB, I always get the following warning:
```
14:44:47.082 [WARN ] [tplace.internal.json.JsonAddonService] - JSON Addon Service invalid URL:
```
We should avoid this warning, I don't see a problem there, and we should not confuse users with unnecessary warnings.
Signed-off-by: Florian Hotze <dev@florianhotze.com>
* use item methods if last state update/change not in persistence
* restore previous state and last state change date on startup
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
* Add `getLastChange`, `getLastUpdate`, and `getPreviousState` to GenericItem
* Rename to getLastStateChange, getLastStateUpdate, getLastState
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
* QuantityType improve group calculations
* support inverse units, extend tests
* refactoring
* javadoc and code simplification
* use streams; make sums absolute
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* Fix file based rule templates
* Add YAML Template parser
* Refactor marketplace rule template parsing
* Prevent file system access for WatchService DELETE events
Trying to check if deleted files are hidden, are readable or are directories will result in IOExceptions on many file systems, so that no action will be taken for deletions.
Signed-off-by: Arne Seime <arne.seime@gmail.com>
* make persistence sum calculations absolute
* correct units for variance and deviation quantity type calculations
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
* Revert "Fix addon name localisation before installation (#3908)"
This reverts commit 708a954081
but with some modifications
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>