diff --git a/.github/workflows/ci-build-42.yml b/.github/workflows/ci-build-42.yml
new file mode 100644
index 0000000000..e9f9b188a5
--- /dev/null
+++ b/.github/workflows/ci-build-42.yml
@@ -0,0 +1,95 @@
+name: CI 4.2.x
+
+on:
+ push:
+ branches:
+ - '4.2.x'
+ paths-ignore:
+ - '.github/**/*.md'
+ pull_request:
+ branches:
+ - '4.2.x'
+ paths-ignore:
+ - '.github/**/*.md'
+ workflow_dispatch:
+
+jobs:
+ build:
+ strategy:
+ fail-fast: false
+ matrix:
+ java: [ '17' ]
+ maven: [ '3.8.6']
+ os: [ 'ubuntu-22.04' ]
+ name: Build (Java ${{ matrix.java }}, ${{ matrix.os }})
+ runs-on: ${{ matrix.os }}
+ steps:
+ - name: Checkout
+ if: github.head_ref == ''
+ uses: actions/checkout@v3
+
+ - name: Checkout merge
+ if: github.head_ref != ''
+ uses: actions/checkout@v3
+ with:
+ ref: refs/pull/${{github.event.pull_request.number}}/merge
+
+ - name: Set up Cache
+ uses: actions/cache@v3
+ with:
+ path: |
+ ~/.m2/repository
+ !~/.m2/repository/org/openhab
+ !~/.m2/repository/org/smarthomej
+ key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
+ restore-keys: |
+ ${{ runner.os }}-maven-
+
+ - name: Set up Java ${{ matrix.java }}
+ uses: actions/setup-java@v3
+ with:
+ distribution: 'temurin'
+ java-version: ${{ matrix.java }}
+
+ - name: Set up Maven ${{ matrix.maven }}
+ uses: stCarolas/setup-maven@v4.5
+ with:
+ maven-version: ${{ matrix.maven }}
+
+ - name: Register Problem Matchers
+ if: ${{ matrix.java == '17' }}
+ id: problem_matchers
+ run: |
+ echo "::add-matcher::.github/smarthomej-compile-problems.json"
+
+ - name: Build
+ id: build
+ run: './.github/scripts/maven-build'
+ env:
+ MAVEN_OPTS: >-
+ -Xmx2g
+ -Dmaven.wagon.http.retryHandler.count=5
+ -Dmaven.wagon.httpconnectionManager.ttlSeconds=25
+ -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
+
+ - name: Upload Build Log
+ if: ${{ always() && ((steps.build.outcome == 'success') || (steps.build.outcome == 'failure')) }}
+ uses: actions/upload-artifact@v2
+ with:
+ name: build-log-java-${{ matrix.java }}-${{ matrix.os }}
+ path: build.log
+
+ - name: Upload SAT Summary Report
+ if: ${{ always() && ((steps.build.outcome == 'success') || (steps.build.outcome == 'failure')) }}
+ uses: actions/upload-artifact@v2
+ with:
+ name: sat-summary-report
+ path: target/summary_report.html
+
+ - name: Report SAT Errors as Annotations
+ if: ${{ matrix.java == '17' && always() && ((steps.build.outcome == 'success') || (steps.build.outcome == 'failure')) }}
+ uses: ghys/checkstyle-github-action@main
+ with:
+ title: CheckStyle Violations
+ path: '**/checkstyle-result.xml'
+ mode: inline
diff --git a/bom/openhab-core-index/pom.xml b/bom/openhab-core-index/pom.xml
index b1b7c65ae6..83b54f2c37 100644
--- a/bom/openhab-core-index/pom.xml
+++ b/bom/openhab-core-index/pom.xml
@@ -7,7 +7,7 @@
org.smarthomej.addons.bom
org.smarthomej.addons.reactor.bom
- 4.1.0-SNAPSHOT
+ 4.2.0-SNAPSHOT
org.smarthomej.addons.bom.openhab-core-index
diff --git a/bom/pom.xml b/bom/pom.xml
index f6e11eab4c..6dc2c0e958 100644
--- a/bom/pom.xml
+++ b/bom/pom.xml
@@ -7,7 +7,7 @@
org.smarthomej.addons
org.smarthomej.addons.reactor
- 4.1.0-SNAPSHOT
+ 4.2.0-SNAPSHOT
org.smarthomej.addons.bom
diff --git a/bom/runtime-index/pom.xml b/bom/runtime-index/pom.xml
index aaf9932d08..ed798cf0ab 100644
--- a/bom/runtime-index/pom.xml
+++ b/bom/runtime-index/pom.xml
@@ -7,7 +7,7 @@
org.smarthomej.addons.bom
org.smarthomej.addons.reactor.bom
- 4.1.0-SNAPSHOT
+ 4.2.0-SNAPSHOT
org.smarthomej.addons.bom.runtime-index
diff --git a/bom/smarthomej-addons/pom.xml b/bom/smarthomej-addons/pom.xml
index 5238aa061d..e837e64c32 100644
--- a/bom/smarthomej-addons/pom.xml
+++ b/bom/smarthomej-addons/pom.xml
@@ -7,7 +7,7 @@
org.smarthomej.addons.bom
org.smarthomej.addons.reactor.bom
- 4.1.0-SNAPSHOT
+ 4.2.0-SNAPSHOT
org.smarthomej.addons.bom.smarthomej-addons
diff --git a/bom/test-index/pom.xml b/bom/test-index/pom.xml
index e55fc06f74..6547b96f7b 100644
--- a/bom/test-index/pom.xml
+++ b/bom/test-index/pom.xml
@@ -7,7 +7,7 @@
org.smarthomej.addons.bom
org.smarthomej.addons.reactor.bom
- 4.1.0-SNAPSHOT
+ 4.2.0-SNAPSHOT
org.smarthomej.addons.bom.test-index
diff --git a/bundles/org.smarthomej.automation.javarule/pom.xml b/bundles/org.smarthomej.automation.javarule/pom.xml
index 1e8ed84dca..dfc0ee9e17 100644
--- a/bundles/org.smarthomej.automation.javarule/pom.xml
+++ b/bundles/org.smarthomej.automation.javarule/pom.xml
@@ -6,7 +6,7 @@
org.smarthomej.addons.bundles
org.smarthomej.addons.reactor.bundles
- 4.1.0-SNAPSHOT
+ 4.2.0-SNAPSHOT
org.smarthomej.automation.javarule
diff --git a/bundles/org.smarthomej.binding.amazonechocontrol/pom.xml b/bundles/org.smarthomej.binding.amazonechocontrol/pom.xml
index 625578171f..02c7b30fdb 100644
--- a/bundles/org.smarthomej.binding.amazonechocontrol/pom.xml
+++ b/bundles/org.smarthomej.binding.amazonechocontrol/pom.xml
@@ -7,7 +7,7 @@
org.smarthomej.addons.bundles
org.smarthomej.addons.reactor.bundles
- 4.1.0-SNAPSHOT
+ 4.2.0-SNAPSHOT
org.smarthomej.binding.amazonechocontrol
diff --git a/bundles/org.smarthomej.binding.androiddebugbridge/pom.xml b/bundles/org.smarthomej.binding.androiddebugbridge/pom.xml
index e924321f4e..b864b68377 100644
--- a/bundles/org.smarthomej.binding.androiddebugbridge/pom.xml
+++ b/bundles/org.smarthomej.binding.androiddebugbridge/pom.xml
@@ -7,7 +7,7 @@
org.smarthomej.addons.bundles
org.smarthomej.addons.reactor.bundles
- 4.1.0-SNAPSHOT
+ 4.2.0-SNAPSHOT
org.smarthomej.binding.androiddebugbridge
diff --git a/bundles/org.smarthomej.binding.http/pom.xml b/bundles/org.smarthomej.binding.http/pom.xml
index 56f5e051be..0f342c5845 100644
--- a/bundles/org.smarthomej.binding.http/pom.xml
+++ b/bundles/org.smarthomej.binding.http/pom.xml
@@ -7,7 +7,7 @@
org.smarthomej.addons.bundles
org.smarthomej.addons.reactor.bundles
- 4.1.0-SNAPSHOT
+ 4.2.0-SNAPSHOT
org.smarthomej.binding.http
diff --git a/bundles/org.smarthomej.binding.notificationsforfiretv/pom.xml b/bundles/org.smarthomej.binding.notificationsforfiretv/pom.xml
index a55db0f2ae..4c42bdacc4 100644
--- a/bundles/org.smarthomej.binding.notificationsforfiretv/pom.xml
+++ b/bundles/org.smarthomej.binding.notificationsforfiretv/pom.xml
@@ -7,7 +7,7 @@
org.smarthomej.addons.bundles
org.smarthomej.addons.reactor.bundles
- 4.1.0-SNAPSHOT
+ 4.2.0-SNAPSHOT
org.smarthomej.binding.notificationsforfiretv
diff --git a/bundles/org.smarthomej.binding.tcpudp/pom.xml b/bundles/org.smarthomej.binding.tcpudp/pom.xml
index d435507c69..a76d132dc5 100644
--- a/bundles/org.smarthomej.binding.tcpudp/pom.xml
+++ b/bundles/org.smarthomej.binding.tcpudp/pom.xml
@@ -7,7 +7,7 @@
org.smarthomej.addons.bundles
org.smarthomej.addons.reactor.bundles
- 4.1.0-SNAPSHOT
+ 4.2.0-SNAPSHOT
org.smarthomej.binding.tcpudp
diff --git a/bundles/org.smarthomej.binding.telenot/pom.xml b/bundles/org.smarthomej.binding.telenot/pom.xml
index 624b89bcf9..4a54332f89 100644
--- a/bundles/org.smarthomej.binding.telenot/pom.xml
+++ b/bundles/org.smarthomej.binding.telenot/pom.xml
@@ -7,7 +7,7 @@
org.smarthomej.addons.bundles
org.smarthomej.addons.reactor.bundles
- 4.1.0-SNAPSHOT
+ 4.2.0-SNAPSHOT
org.smarthomej.binding.telenot
diff --git a/bundles/org.smarthomej.binding.tuya/pom.xml b/bundles/org.smarthomej.binding.tuya/pom.xml
index 3853abd037..e91941b0e8 100644
--- a/bundles/org.smarthomej.binding.tuya/pom.xml
+++ b/bundles/org.smarthomej.binding.tuya/pom.xml
@@ -7,7 +7,7 @@
org.smarthomej.addons.bundles
org.smarthomej.addons.reactor.bundles
- 4.1.0-SNAPSHOT
+ 4.2.0-SNAPSHOT
org.smarthomej.binding.tuya
diff --git a/bundles/org.smarthomej.binding.viessmann/pom.xml b/bundles/org.smarthomej.binding.viessmann/pom.xml
index cfd46b5a6d..6a6a074b2f 100644
--- a/bundles/org.smarthomej.binding.viessmann/pom.xml
+++ b/bundles/org.smarthomej.binding.viessmann/pom.xml
@@ -7,7 +7,7 @@
org.smarthomej.addons.bundles
org.smarthomej.addons.reactor.bundles
- 4.1.0-SNAPSHOT
+ 4.2.0-SNAPSHOT
org.smarthomej.binding.viessmann
diff --git a/bundles/org.smarthomej.commons/pom.xml b/bundles/org.smarthomej.commons/pom.xml
index 7de8a905b2..3408350f54 100644
--- a/bundles/org.smarthomej.commons/pom.xml
+++ b/bundles/org.smarthomej.commons/pom.xml
@@ -7,7 +7,7 @@
org.smarthomej.addons.bundles
org.smarthomej.addons.reactor.bundles
- 4.1.0-SNAPSHOT
+ 4.2.0-SNAPSHOT
org.smarthomej.commons
diff --git a/bundles/org.smarthomej.transform.basicprofiles/pom.xml b/bundles/org.smarthomej.transform.basicprofiles/pom.xml
index c9e3140e54..77b929b07b 100644
--- a/bundles/org.smarthomej.transform.basicprofiles/pom.xml
+++ b/bundles/org.smarthomej.transform.basicprofiles/pom.xml
@@ -7,7 +7,7 @@
org.smarthomej.addons.bundles
org.smarthomej.addons.reactor.bundles
- 4.1.0-SNAPSHOT
+ 4.2.0-SNAPSHOT
org.smarthomej.transform.basicprofiles
diff --git a/bundles/org.smarthomej.transform.chain/pom.xml b/bundles/org.smarthomej.transform.chain/pom.xml
index 9e63253732..b335b2a98f 100644
--- a/bundles/org.smarthomej.transform.chain/pom.xml
+++ b/bundles/org.smarthomej.transform.chain/pom.xml
@@ -7,7 +7,7 @@
org.smarthomej.addons.bundles
org.smarthomej.addons.reactor.bundles
- 4.1.0-SNAPSHOT
+ 4.2.0-SNAPSHOT
org.smarthomej.transform.chain
diff --git a/bundles/org.smarthomej.transform.format/pom.xml b/bundles/org.smarthomej.transform.format/pom.xml
index 5e6bf435a5..4cc3a2d34b 100644
--- a/bundles/org.smarthomej.transform.format/pom.xml
+++ b/bundles/org.smarthomej.transform.format/pom.xml
@@ -7,7 +7,7 @@
org.smarthomej.addons.bundles
org.smarthomej.addons.reactor.bundles
- 4.1.0-SNAPSHOT
+ 4.2.0-SNAPSHOT
org.smarthomej.transform.format
diff --git a/bundles/org.smarthomej.transform.math/pom.xml b/bundles/org.smarthomej.transform.math/pom.xml
index 034677dece..2ff1e1522d 100644
--- a/bundles/org.smarthomej.transform.math/pom.xml
+++ b/bundles/org.smarthomej.transform.math/pom.xml
@@ -7,7 +7,7 @@
org.smarthomej.addons.bundles
org.smarthomej.addons.reactor.bundles
- 4.1.0-SNAPSHOT
+ 4.2.0-SNAPSHOT
org.smarthomej.transform.math
diff --git a/bundles/pom.xml b/bundles/pom.xml
index be57c8c33c..00c033c0c8 100644
--- a/bundles/pom.xml
+++ b/bundles/pom.xml
@@ -7,7 +7,7 @@
org.smarthomej.addons
org.smarthomej.addons.reactor
- 4.1.0-SNAPSHOT
+ 4.2.0-SNAPSHOT
org.smarthomej.addons.bundles
diff --git a/features/pom.xml b/features/pom.xml
index ee2e51f281..6d111f6c64 100644
--- a/features/pom.xml
+++ b/features/pom.xml
@@ -7,7 +7,7 @@
org.smarthomej.addons
org.smarthomej.addons.reactor
- 4.1.0-SNAPSHOT
+ 4.2.0-SNAPSHOT
org.smarthomej.addons.features.karaf
diff --git a/features/smarthomej-addons-external/pom.xml b/features/smarthomej-addons-external/pom.xml
index 171c68014f..84aa144745 100644
--- a/features/smarthomej-addons-external/pom.xml
+++ b/features/smarthomej-addons-external/pom.xml
@@ -7,7 +7,7 @@
org.smarthomej.addons.features.karaf
org.smarthomej.addons.reactor.features.karaf
- 4.1.0-SNAPSHOT
+ 4.2.0-SNAPSHOT
org.smarthomej.addons.features.karaf.smarthomej-addons-external
diff --git a/features/smarthomej-addons/pom.xml b/features/smarthomej-addons/pom.xml
index 12afee12d7..9d4aa07006 100644
--- a/features/smarthomej-addons/pom.xml
+++ b/features/smarthomej-addons/pom.xml
@@ -7,7 +7,7 @@
org.smarthomej.addons.features.karaf
org.smarthomej.addons.reactor.features.karaf
- 4.1.0-SNAPSHOT
+ 4.2.0-SNAPSHOT
org.smarthomej.addons.features.karaf.smarthomej-addons
diff --git a/pom.xml b/pom.xml
index cac65adb2b..cc2596c395 100644
--- a/pom.xml
+++ b/pom.xml
@@ -11,7 +11,7 @@
org.smarthomej.addons
org.smarthomej.addons.reactor
- 4.1.0-SNAPSHOT
+ 4.2.0-SNAPSHOT
pom
@@ -78,7 +78,7 @@
${oh.java.version}
${oh.java.version}
- 4.1.0-SNAPSHOT
+ 4.2.0-SNAPSHOT
7.0.0
3.7.2
2.4.0
diff --git a/site/pom.xml b/site/pom.xml
index 6075115647..6dc1e23727 100644
--- a/site/pom.xml
+++ b/site/pom.xml
@@ -7,7 +7,7 @@
org.smarthomej.addons
org.smarthomej.addons.reactor
- 4.1.0-SNAPSHOT
+ 4.2.0-SNAPSHOT
org.smarthomej.addons.site