diff --git a/Dockerfile b/Dockerfile index fd47fc0..f1f76d2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,5 +14,5 @@ # limitations under the License. # -FROM thingsboard/tb-node:4.3.0.1 +FROM thingsboard/tb-node:4.4.0-SNAPSHOT COPY target/rule-engine-1.0.0-custom-nodes.jar /usr/share/thingsboard/extensions/ diff --git a/README.md b/README.md index 81d91c7..4a20627 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,10 @@ # rule-node-examples Examples of custom Rule Nodes for ThingsBoard contribution guide +Requires JDK 25+ + Unit tests examples for custom rule nodes added as well To build the project run `mvn clean install` -To build a custom Docker image run `DOCKER_BUILDKIT=0 docker build . -t your_repo/tb-node:4.3.0.1-custom-1` +To build a custom Docker image run `DOCKER_BUILDKIT=0 docker build . -t your_repo/tb-node:4.4.0-SNAPSHOT-custom-1` diff --git a/pom.xml b/pom.xml index 99e9c71..336486c 100644 --- a/pom.xml +++ b/pom.xml @@ -32,8 +32,10 @@ UTF-8 ${basedir} - 4.3.0.1 - 1.18.38 + 4.4.0-SNAPSHOT + 1.18.40 + 25 + 25 33.1.0-jre 3.4.10 2.16.1 @@ -177,9 +179,9 @@ org.apache.maven.plugins maven-compiler-plugin - 3.11.0 + 3.13.0 - 17 + 25 -Xlint:deprecation -Xlint:removal @@ -198,6 +200,12 @@ org.apache.maven.plugins maven-surefire-plugin ${surefire.version} + + + -XX:+EnableDynamicAgentLoading + --add-opens=java.base/java.lang.reflect=ALL-UNNAMED + +