How to check version and upgrade, see discussion https://github.com/Pi4J/pi4j-v2/discussions/64#discussioncomment-370995