Skip to content

Commit 8a7a411

Browse files
authored
Use Spotless sortpom plug-in (openhab#18318)
Similar to openhab/openhab-core#4618 Signed-off-by: Wouter Born <[email protected]>
1 parent 7224333 commit 8a7a411

File tree

498 files changed

+1235
-1265
lines changed
  • bom
  • bundles
    • org.openhab.automation.groovyscripting
    • org.openhab.automation.jrubyscripting
    • org.openhab.automation.jsscripting
    • org.openhab.automation.jsscriptingnashorn
    • org.openhab.automation.jythonscripting
    • org.openhab.automation.pidcontroller
    • org.openhab.automation.pwm
    • org.openhab.binding.adorne
    • org.openhab.binding.ahawastecollection
    • org.openhab.binding.airgradient
    • org.openhab.binding.airparif
    • org.openhab.binding.airq
    • org.openhab.binding.airquality
    • org.openhab.binding.airvisualnode
    • org.openhab.binding.alarmdecoder
    • org.openhab.binding.allplay
    • org.openhab.binding.amazondashbutton
    • org.openhab.binding.amazonechocontrol
    • org.openhab.binding.amberelectric
    • org.openhab.binding.ambientweather
    • org.openhab.binding.amplipi
    • org.openhab.binding.androiddebugbridge
    • org.openhab.binding.androidtv
    • org.openhab.binding.anel
    • org.openhab.binding.anthem
    • org.openhab.binding.argoclima
    • org.openhab.binding.astro
    • org.openhab.binding.asuswrt
    • org.openhab.binding.atlona
    • org.openhab.binding.autelis
    • org.openhab.binding.automower
    • org.openhab.binding.avmfritz
    • org.openhab.binding.awattar
    • org.openhab.binding.benqprojector
    • org.openhab.binding.bigassfan
    • org.openhab.binding.bluetooth
    • org.openhab.binding.bluetooth.airthings
    • org.openhab.binding.bluetooth.am43
    • org.openhab.binding.bluetooth.bluegiga
    • org.openhab.binding.bluetooth.bluez
    • org.openhab.binding.bluetooth.blukii
    • org.openhab.binding.bluetooth.daikinmadoka
    • org.openhab.binding.bluetooth.enoceanble
    • org.openhab.binding.bluetooth.generic
    • org.openhab.binding.bluetooth.govee
    • org.openhab.binding.bluetooth.grundfosalpha
    • org.openhab.binding.bluetooth.hdpowerview
    • org.openhab.binding.bluetooth.radoneye
    • org.openhab.binding.bluetooth.roaming
    • org.openhab.binding.bluetooth.ruuvitag
    • org.openhab.binding.bondhome
    • org.openhab.binding.boschindego
    • org.openhab.binding.boschshc
    • org.openhab.binding.bosesoundtouch
    • org.openhab.binding.broadlinkthermostat
    • org.openhab.binding.bsblan
    • org.openhab.binding.bticinosmarther
    • org.openhab.binding.buienradar
    • org.openhab.binding.caddx
    • org.openhab.binding.cbus
    • org.openhab.binding.chatgpt
    • org.openhab.binding.chromecast
    • org.openhab.binding.cm11a
    • org.openhab.binding.comfoair
    • org.openhab.binding.coolmasternet
    • org.openhab.binding.coronastats
    • org.openhab.binding.daikin
    • org.openhab.binding.dali
    • org.openhab.binding.danfossairunit
    • org.openhab.binding.dbquery
    • org.openhab.binding.deconz
    • org.openhab.binding.denonmarantz
    • org.openhab.binding.deutschebahn
    • org.openhab.binding.digiplex
    • org.openhab.binding.digitalstrom
    • org.openhab.binding.dlinksmarthome
    • org.openhab.binding.dmx
    • org.openhab.binding.dolbycp
    • org.openhab.binding.dominoswiss
    • org.openhab.binding.doorbird
    • org.openhab.binding.draytonwiser
    • org.openhab.binding.dscalarm
    • org.openhab.binding.dsmr
    • org.openhab.binding.dwdpollenflug
    • org.openhab.binding.dwdunwetter
    • org.openhab.binding.easee
    • org.openhab.binding.echonetlite
    • org.openhab.binding.ecobee
    • org.openhab.binding.ecotouch
    • org.openhab.binding.ecovacs
    • org.openhab.binding.ecowatt
    • org.openhab.binding.ekey
    • org.openhab.binding.electroluxappliance
    • org.openhab.binding.elerotransmitterstick
    • org.openhab.binding.elroconnects
    • org.openhab.binding.emotiva
    • org.openhab.binding.energenie
    • org.openhab.binding.energidataservice
    • org.openhab.binding.enigma2
    • org.openhab.binding.enocean
    • org.openhab.binding.enphase
    • org.openhab.binding.entsoe
    • org.openhab.binding.enturno
    • org.openhab.binding.ephemeris
    • org.openhab.binding.epsonprojector
    • org.openhab.binding.etherrain
    • org.openhab.binding.evcc
    • org.openhab.binding.evohome
    • org.openhab.binding.exec
    • org.openhab.binding.feed
    • org.openhab.binding.feican
    • org.openhab.binding.fenecon
    • org.openhab.binding.fineoffsetweatherstation
    • org.openhab.binding.flicbutton
    • org.openhab.binding.flume
    • org.openhab.binding.fmiweather
    • org.openhab.binding.folderwatcher
    • org.openhab.binding.folding
    • org.openhab.binding.foobot
    • org.openhab.binding.freeathome
    • org.openhab.binding.freebox
    • org.openhab.binding.freeboxos
    • org.openhab.binding.freecurrency
    • org.openhab.binding.frenchgovtenergydata
    • org.openhab.binding.fronius
    • org.openhab.binding.fsinternetradio
    • org.openhab.binding.ftpupload
    • org.openhab.binding.gardena
    • org.openhab.binding.gce
    • org.openhab.binding.globalcache
    • org.openhab.binding.goecharger
    • org.openhab.binding.govee
    • org.openhab.binding.gpio
    • org.openhab.binding.gpstracker
    • org.openhab.binding.gree
    • org.openhab.binding.gridbox
    • org.openhab.binding.groheondus
    • org.openhab.binding.groupepsa
    • org.openhab.binding.growatt
    • org.openhab.binding.guntamatic
    • org.openhab.binding.haassohnpelletstove
    • org.openhab.binding.harmonyhub
    • org.openhab.binding.haywardomnilogic
    • org.openhab.binding.hccrubbishcollection
    • org.openhab.binding.hdanywhere
    • org.openhab.binding.hdpowerview
    • org.openhab.binding.helios
    • org.openhab.binding.heliosventilation
    • org.openhab.binding.heos
    • org.openhab.binding.herzborg
    • org.openhab.binding.homeconnect
    • org.openhab.binding.homematic
    • org.openhab.binding.homewizard
    • org.openhab.binding.hpprinter
    • org.openhab.binding.http
    • org.openhab.binding.hue
    • org.openhab.binding.huesync
    • org.openhab.binding.hydrawise
    • org.openhab.binding.hyperion
    • org.openhab.binding.iammeter
    • org.openhab.binding.icalendar
    • org.openhab.binding.icloud
    • org.openhab.binding.ihc
    • org.openhab.binding.insteon
    • org.openhab.binding.intesis
    • org.openhab.binding.iotawatt
    • org.openhab.binding.ipcamera
    • org.openhab.binding.ipobserver
    • org.openhab.binding.ipp
    • org.openhab.binding.irobot
    • org.openhab.binding.irtrans
    • org.openhab.binding.ism8
    • org.openhab.binding.jablotron
    • org.openhab.binding.jellyfin
    • org.openhab.binding.kaleidescape
    • org.openhab.binding.keba
    • org.openhab.binding.km200
    • org.openhab.binding.knx
    • org.openhab.binding.kodi
    • org.openhab.binding.konnected
    • org.openhab.binding.kostalinverter
    • org.openhab.binding.kvv
    • org.openhab.binding.lametrictime
    • org.openhab.binding.lcn
    • org.openhab.binding.leapmotion
    • org.openhab.binding.lghombot
    • org.openhab.binding.lgtvserial
    • org.openhab.binding.lgwebos
    • org.openhab.binding.lifx
    • org.openhab.binding.linktap
    • org.openhab.binding.linky
    • org.openhab.binding.linuxinput
    • org.openhab.binding.liquidcheck
    • org.openhab.binding.lirc
    • org.openhab.binding.livisismarthome
    • org.openhab.binding.logreader
    • org.openhab.binding.loxone
    • org.openhab.binding.lutron
    • org.openhab.binding.luxom
    • org.openhab.binding.luxtronikheatpump
    • org.openhab.binding.magentatv
    • org.openhab.binding.mail
    • org.openhab.binding.max
    • org.openhab.binding.mcd
    • org.openhab.binding.mcp23017
    • org.openhab.binding.meater
    • org.openhab.binding.mecmeter
    • org.openhab.binding.melcloud
    • org.openhab.binding.mercedesme
    • org.openhab.binding.meteoblue
    • org.openhab.binding.meteofrance
    • org.openhab.binding.meteostick
    • org.openhab.binding.metofficedatahub
    • org.openhab.binding.mffan
    • org.openhab.binding.miele
    • org.openhab.binding.mielecloud
    • org.openhab.binding.mihome
    • org.openhab.binding.miio
    • org.openhab.binding.mikrotik
    • org.openhab.binding.milight
    • org.openhab.binding.millheat
    • org.openhab.binding.minecraft
    • org.openhab.binding.modbus
    • org.openhab.binding.modbus.e3dc
    • org.openhab.binding.modbus.helioseasycontrols
    • org.openhab.binding.modbus.kermi
    • org.openhab.binding.modbus.sbc
    • org.openhab.binding.modbus.stiebeleltron
    • org.openhab.binding.modbus.studer
    • org.openhab.binding.modbus.sungrow
    • org.openhab.binding.modbus.sunspec
    • org.openhab.binding.monopriceaudio
    • org.openhab.binding.mpd
    • org.openhab.binding.mqtt
    • org.openhab.binding.mqtt.espmilighthub
    • org.openhab.binding.mqtt.fpp
    • org.openhab.binding.mqtt.generic
    • org.openhab.binding.mqtt.homeassistant
    • org.openhab.binding.mqtt.homie
    • org.openhab.binding.mqtt.ruuvigateway
    • org.openhab.binding.mybmw
    • org.openhab.binding.mycroft
    • org.openhab.binding.mynice
    • org.openhab.binding.mystrom
    • org.openhab.binding.nanoleaf
    • org.openhab.binding.neato
    • org.openhab.binding.neeo
    • org.openhab.binding.neohub
    • org.openhab.binding.nest
    • org.openhab.binding.netatmo
    • org.openhab.binding.network
    • org.openhab.binding.networkupstools
    • org.openhab.binding.nibeheatpump
    • org.openhab.binding.nikobus
    • org.openhab.binding.nikohomecontrol
    • org.openhab.binding.nobohub
    • org.openhab.binding.novafinedust
    • org.openhab.binding.ntp
    • org.openhab.binding.nuki
    • org.openhab.binding.nuvo
    • org.openhab.binding.nzwateralerts
    • org.openhab.binding.oceanic
    • org.openhab.binding.ojelectronics
    • org.openhab.binding.omnikinverter
    • org.openhab.binding.onebusaway
    • org.openhab.binding.onewire
    • org.openhab.binding.onewiregpio
    • org.openhab.binding.onkyo
    • org.openhab.binding.opengarage
    • org.openhab.binding.opensprinkler
    • org.openhab.binding.openthermgateway
    • org.openhab.binding.openuv
    • org.openhab.binding.openweathermap
    • org.openhab.binding.openwebnet
    • org.openhab.binding.oppo
    • org.openhab.binding.orbitbhyve
    • org.openhab.binding.orvibo
    • org.openhab.binding.panasonicbdp
    • org.openhab.binding.paradoxalarm
    • org.openhab.binding.pegelonline
    • org.openhab.binding.pentair
    • org.openhab.binding.phc
    • org.openhab.binding.pihole
    • org.openhab.binding.pilight
    • org.openhab.binding.pioneeravr
    • org.openhab.binding.pixometer
    • org.openhab.binding.pjlinkdevice
    • org.openhab.binding.playstation
    • org.openhab.binding.plex
    • org.openhab.binding.plugwise
    • org.openhab.binding.plugwiseha
    • org.openhab.binding.powermax
    • org.openhab.binding.proteusecometer
    • org.openhab.binding.prowl
    • org.openhab.binding.publictransportswitzerland
    • org.openhab.binding.pulseaudio
    • org.openhab.binding.pushbullet
    • org.openhab.binding.pushover
    • org.openhab.binding.pushsafer
    • org.openhab.binding.qbus
    • org.openhab.binding.qolsysiq
    • org.openhab.binding.radiobrowser
    • org.openhab.binding.radiothermostat
    • org.openhab.binding.regoheatpump
    • org.openhab.binding.remoteopenhab
    • org.openhab.binding.renault
    • org.openhab.binding.resol
    • org.openhab.binding.revogi
    • org.openhab.binding.rfxcom
    • org.openhab.binding.rme
    • org.openhab.binding.robonect
    • org.openhab.binding.roku
    • org.openhab.binding.rotel
    • org.openhab.binding.russound
    • org.openhab.binding.sagercaster
    • org.openhab.binding.saicismart
    • org.openhab.binding.salus
    • org.openhab.binding.samsungtv
    • org.openhab.binding.satel
    • org.openhab.binding.sbus
    • org.openhab.binding.semsportal
    • org.openhab.binding.senechome
    • org.openhab.binding.seneye
    • org.openhab.binding.sensebox
    • org.openhab.binding.sensibo
    • org.openhab.binding.sensorcommunity
    • org.openhab.binding.serial
    • org.openhab.binding.serialbutton
    • org.openhab.binding.shelly
    • org.openhab.binding.siemenshvac
    • org.openhab.binding.siemensrds
    • org.openhab.binding.silvercrestwifisocket
    • org.openhab.binding.sinope
    • org.openhab.binding.sleepiq
    • org.openhab.binding.smaenergymeter
    • org.openhab.binding.smartmeter
    • org.openhab.binding.smartthings
    • org.openhab.binding.smgw
    • org.openhab.binding.smhi
    • org.openhab.binding.smsmodem
    • org.openhab.binding.sncf
    • org.openhab.binding.snmp
    • org.openhab.binding.solaredge
    • org.openhab.binding.solarforecast
    • org.openhab.binding.solarlog
    • org.openhab.binding.solarman
    • org.openhab.binding.solarmax
    • org.openhab.binding.solarwatt
    • org.openhab.binding.solax
    • org.openhab.binding.somfytahoma
    • org.openhab.binding.somneo
    • org.openhab.binding.sonnen
    • org.openhab.binding.sonos
    • org.openhab.binding.sonyaudio
    • org.openhab.binding.sonyprojector
    • org.openhab.binding.souliss
    • org.openhab.binding.speedtest
    • org.openhab.binding.spotify
    • org.openhab.binding.squeezebox
    • org.openhab.binding.sunsynk
    • org.openhab.binding.surepetcare
    • org.openhab.binding.synopanalyzer
    • org.openhab.binding.systeminfo
    • org.openhab.binding.tacmi
    • org.openhab.binding.tado
    • org.openhab.binding.tankerkoenig
    • org.openhab.binding.tapocontrol
    • org.openhab.binding.tasmotaplug
    • org.openhab.binding.telegram
    • org.openhab.binding.teleinfo
    • org.openhab.binding.tellstick
    • org.openhab.binding.tesla
    • org.openhab.binding.teslapowerwall
    • org.openhab.binding.teslascope
    • org.openhab.binding.tibber
    • org.openhab.binding.tivo
    • org.openhab.binding.touchwand
    • org.openhab.binding.tplinkrouter
    • org.openhab.binding.tplinksmarthome
    • org.openhab.binding.tr064
    • org.openhab.binding.tradfri
    • org.openhab.binding.unifi
    • org.openhab.binding.unifiedremote
    • org.openhab.binding.upb
    • org.openhab.binding.upnpcontrol
    • org.openhab.binding.urtsi
    • org.openhab.binding.valloxmv
    • org.openhab.binding.vdr
    • org.openhab.binding.vektiva
    • org.openhab.binding.velbus
    • org.openhab.binding.velux
    • org.openhab.binding.venstarthermostat
    • org.openhab.binding.ventaair
    • org.openhab.binding.verisure
    • org.openhab.binding.vesync
    • org.openhab.binding.vigicrues
    • org.openhab.binding.visualcrossing
    • org.openhab.binding.vitotronic
    • org.openhab.binding.vizio
    • org.openhab.binding.volumio
    • org.openhab.binding.volvooncall
    • org.openhab.binding.warmup
    • org.openhab.binding.weathercompany
    • org.openhab.binding.weatherunderground
    • org.openhab.binding.webexteams
    • org.openhab.binding.webthing
    • org.openhab.binding.wemo
    • org.openhab.binding.wifiled
    • org.openhab.binding.windcentrale
    • org.openhab.binding.wiz
    • org.openhab.binding.wlanthermo
    • org.openhab.binding.wled
    • org.openhab.binding.wolfsmartset
    • org.openhab.binding.wundergroundupdatereceiver
    • org.openhab.binding.x
    • org.openhab.binding.xmltv
    • org.openhab.binding.xmppclient
    • org.openhab.binding.yamahamusiccast
    • org.openhab.binding.yamahareceiver
    • org.openhab.binding.yeelight
    • org.openhab.binding.yioremote
    • org.openhab.binding.zoneminder
    • org.openhab.binding.zway
    • org.openhab.io.homekit
    • org.openhab.io.hueemulation
    • org.openhab.io.metrics
    • org.openhab.io.neeo
    • org.openhab.io.openhabcloud
    • org.openhab.persistence.dynamodb
    • org.openhab.persistence.influxdb
    • org.openhab.persistence.inmemory
    • org.openhab.persistence.jdbc
    • org.openhab.persistence.jpa
    • org.openhab.persistence.mapdb
    • org.openhab.persistence.mongodb
    • org.openhab.persistence.rrd4j
    • org.openhab.transform.basicprofiles
    • org.openhab.transform.bin2json
    • org.openhab.transform.exec
    • org.openhab.transform.jinja
    • org.openhab.transform.jsonpath
    • org.openhab.transform.map
    • org.openhab.transform.regex
    • org.openhab.transform.rollershutterposition
    • org.openhab.transform.scale
    • org.openhab.transform.vat
    • org.openhab.transform.xpath
    • org.openhab.transform.xslt
    • org.openhab.voice.googlestt
    • org.openhab.voice.googletts
    • org.openhab.voice.mactts
    • org.openhab.voice.marytts
    • org.openhab.voice.mimictts
    • org.openhab.voice.openaitts
    • org.openhab.voice.picotts
    • org.openhab.voice.pipertts
    • org.openhab.voice.pollytts
    • org.openhab.voice.rustpotterks
    • org.openhab.voice.voicerss
    • org.openhab.voice.voskstt
    • org.openhab.voice.watsonstt
    • org.openhab.voice.whisperstt
  • features
  • itests
    • org.openhab.automation.groovyscripting.tests
    • org.openhab.automation.jsscriptingnashorn.tests
    • org.openhab.binding.astro.tests
    • org.openhab.binding.avmfritz.tests
    • org.openhab.binding.feed.tests
    • org.openhab.binding.hue.tests
    • org.openhab.binding.max.tests
    • org.openhab.binding.mielecloud.tests
    • org.openhab.binding.modbus.tests
    • org.openhab.binding.mqtt.homeassistant.tests
    • org.openhab.binding.mqtt.homie.tests
    • org.openhab.binding.mqtt.ruuvigateway.tests
    • org.openhab.binding.ntp.tests
    • org.openhab.binding.systeminfo.tests
    • org.openhab.binding.tradfri.tests
    • org.openhab.binding.wemo.tests
    • org.openhab.persistence.mapdb.tests

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

498 files changed

+1235
-1265
lines changed

bom/openhab-addons/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
44

55
<modelVersion>4.0.0</modelVersion>
66

bom/openhab-core-index/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
44

55
<modelVersion>4.0.0</modelVersion>
66

bom/pom.xml

+5-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
44

55
<modelVersion>4.0.0</modelVersion>
66

@@ -39,14 +39,11 @@
3939
</goals>
4040
<configuration>
4141
<target>
42-
<copy file="${basedirRoot}/../../bundles/pom.xml" overwrite="true"
43-
tofile="${basedirRoot}/../../bom/openhab-addons/pom.xml"/>
42+
<copy file="${basedirRoot}/../../bundles/pom.xml" overwrite="true" tofile="${basedirRoot}/../../bom/openhab-addons/pom.xml"/>
4443
<!-- rewrite footer -->
45-
<replaceregexp file="${basedirRoot}/../../bom/openhab-addons/pom.xml"
46-
match="/modules[\s\S]*dependencies&gt;" replace="/dependencies&gt;"/>
44+
<replaceregexp file="${basedirRoot}/../../bom/openhab-addons/pom.xml" match="/modules[\s\S]*dependencies&gt;" replace="/dependencies&gt;"/>
4745
<!-- rewrite header -->
48-
<replaceregexp file="${basedirRoot}/../../bom/openhab-addons/pom.xml"
49-
match="\S*parent[\s\S]*modules&gt;\S*" replace="header"/>
46+
<replaceregexp file="${basedirRoot}/../../bom/openhab-addons/pom.xml" match="\S*parent[\s\S]*modules&gt;\S*" replace="header"/>
5047
<replace file="{basedirRoot}/../../bom/openhab-addons/pom.xml">
5148
<replacetoken>header</replacetoken>
5249
<replacevalue><![CDATA[<parent>

bom/runtime-index/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
44

55
<modelVersion>4.0.0</modelVersion>
66

bom/test-index/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
44

55
<modelVersion>4.0.0</modelVersion>
66

bundles/org.openhab.automation.groovyscripting/pom.xml

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
44

55
<modelVersion>4.0.0</modelVersion>
66

@@ -68,8 +68,7 @@ Require-Capability:
6868
cardinality:=multiple
6969
SPI-Provider: *
7070
SPI-Consumer: *
71-
]]>
72-
</bnd>
71+
]]></bnd>
7372
</configuration>
7473
</plugin>
7574
</plugins>

bundles/org.openhab.automation.jrubyscripting/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
44

55
<modelVersion>4.0.0</modelVersion>
66

bundles/org.openhab.automation.jsscripting/pom.xml

+39-40
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
44

55
<modelVersion>4.0.0</modelVersion>
66

@@ -15,19 +15,46 @@
1515
<name>openHAB Add-ons :: Bundles :: Automation :: JavaScript Scripting</name>
1616

1717
<properties>
18-
<bnd.importpackage>
19-
!sun.misc.*,
18+
<bnd.importpackage>!sun.misc.*,
2019
!sun.reflect.*,
2120
!com.sun.management.*,
2221
!jdk.internal.reflect.*,
23-
!jdk.vm.ci.services
24-
</bnd.importpackage>
22+
!jdk.vm.ci.services</bnd.importpackage>
2523
<!-- Remember to check if the fix https://github.com/openhab/openhab-core/pull/4437 still works when upgrading GraalJS -->
2624
<graaljs.version>24.1.2</graaljs.version>
2725
<oh.version>${project.version}</oh.version>
2826
<ohjs.version>[email protected]</ohjs.version>
2927
</properties>
3028

29+
<dependencies>
30+
<!-- Graal Polyglot Framework -->
31+
<dependency>
32+
<groupId>org.graalvm.polyglot</groupId>
33+
<artifactId>polyglot</artifactId>
34+
<version>${graaljs.version}</version>
35+
</dependency>
36+
<!-- Graal JavaScript ScriptEngine JSR 223 support -->
37+
<dependency>
38+
<groupId>org.graalvm.js</groupId>
39+
<artifactId>js-scriptengine</artifactId>
40+
<version>${graaljs.version}</version>
41+
</dependency>
42+
<!-- Graal TRegex engine (internally used by Graal JavaScript engine) -->
43+
<dependency>
44+
<groupId>org.graalvm.regex</groupId>
45+
<artifactId>regex</artifactId>
46+
<version>${graaljs.version}</version>
47+
</dependency>
48+
<!-- Graal JavaScript engine (depends on Graal TRegex engine, must be added after it) -->
49+
<dependency>
50+
<groupId>org.graalvm.polyglot</groupId>
51+
<artifactId>js-community</artifactId>
52+
<version>${graaljs.version}</version>
53+
<type>pom</type>
54+
<scope>runtime</scope>
55+
</dependency>
56+
</dependencies>
57+
3158
<build>
3259
<plugins>
3360
<!-- bundle the modular dependencies into an uber-JAR -->
@@ -37,10 +64,10 @@
3764
<version>3.6.0</version>
3865
<executions>
3966
<execution>
40-
<phase>package</phase>
4167
<goals>
4268
<goal>shade</goal>
4369
</goals>
70+
<phase>package</phase>
4471
<configuration>
4572
<artifactSet>
4673
<excludes>
@@ -59,8 +86,7 @@
5986
<createDependencyReducedPom>false</createDependencyReducedPom>
6087
<transformers>
6188
<!-- Transformer to merge module-info.class files, if needed -->
62-
<transformer
63-
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
89+
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
6490
</transformers>
6591
</configuration>
6692
</execution>
@@ -72,7 +98,8 @@
7298
<artifactId>frontend-maven-plugin</artifactId>
7399
<version>1.15.1</version>
74100
<configuration>
75-
<nodeVersion>v16.17.1</nodeVersion> <!-- DO NOT DOWNGRADE: NodeJS < 16 doesn't support Apple Silicon -->
101+
<nodeVersion>v16.17.1</nodeVersion>
102+
<!-- DO NOT DOWNGRADE: NodeJS < 16 doesn't support Apple Silicon -->
76103
<workingDirectory>target/js</workingDirectory>
77104
</configuration>
78105
<executions>
@@ -90,7 +117,8 @@
90117
</goals>
91118
<configuration>
92119
<!--suppress UnresolvedMavenProperty -->
93-
<arguments>install ${ohjs.version} webpack@^5.94.0 webpack-cli@^5.1.4</arguments> <!-- webpack & webpack-cli versions should match to the ones from openhab-js -->
120+
<arguments>install ${ohjs.version} webpack@^5.94.0 webpack-cli@^5.1.4</arguments>
121+
<!-- webpack & webpack-cli versions should match to the ones from openhab-js -->
94122
</configuration>
95123
</execution>
96124
<execution>
@@ -148,33 +176,4 @@
148176
</plugin>
149177
</plugins>
150178
</build>
151-
152-
<dependencies>
153-
<!-- Graal Polyglot Framework -->
154-
<dependency>
155-
<groupId>org.graalvm.polyglot</groupId>
156-
<artifactId>polyglot</artifactId>
157-
<version>${graaljs.version}</version>
158-
</dependency>
159-
<!-- Graal JavaScript ScriptEngine JSR 223 support -->
160-
<dependency>
161-
<groupId>org.graalvm.js</groupId>
162-
<artifactId>js-scriptengine</artifactId>
163-
<version>${graaljs.version}</version>
164-
</dependency>
165-
<!-- Graal TRegex engine (internally used by Graal JavaScript engine) -->
166-
<dependency>
167-
<groupId>org.graalvm.regex</groupId>
168-
<artifactId>regex</artifactId>
169-
<version>${graaljs.version}</version>
170-
</dependency>
171-
<!-- Graal JavaScript engine (depends on Graal TRegex engine, must be added after it) -->
172-
<dependency>
173-
<groupId>org.graalvm.polyglot</groupId>
174-
<artifactId>js-community</artifactId>
175-
<version>${graaljs.version}</version>
176-
<type>pom</type>
177-
<scope>runtime</scope>
178-
</dependency>
179-
</dependencies>
180179
</project>

bundles/org.openhab.automation.jsscriptingnashorn/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
44

55
<modelVersion>4.0.0</modelVersion>
66

bundles/org.openhab.automation.jythonscripting/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
44

55
<modelVersion>4.0.0</modelVersion>
66

bundles/org.openhab.automation.pidcontroller/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
44

55
<modelVersion>4.0.0</modelVersion>
66

bundles/org.openhab.automation.pwm/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
44

55
<modelVersion>4.0.0</modelVersion>
66

bundles/org.openhab.binding.adorne/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
44

55
<modelVersion>4.0.0</modelVersion>
66

bundles/org.openhab.binding.ahawastecollection/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
44

55
<modelVersion>4.0.0</modelVersion>
66

bundles/org.openhab.binding.airgradient/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
44

55
<modelVersion>4.0.0</modelVersion>
66

bundles/org.openhab.binding.airparif/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
44

55
<modelVersion>4.0.0</modelVersion>
66

bundles/org.openhab.binding.airq/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
44

55
<modelVersion>4.0.0</modelVersion>
66

bundles/org.openhab.binding.airquality/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
44

55
<modelVersion>4.0.0</modelVersion>
66

bundles/org.openhab.binding.airvisualnode/pom.xml

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
44

55
<modelVersion>4.0.0</modelVersion>
66

@@ -15,9 +15,7 @@
1515
<name>openHAB Add-ons :: Bundles :: AirVisual Node Air Quality Monitor Binding</name>
1616

1717
<properties>
18-
<bnd.importpackage>
19-
!jcifs
20-
</bnd.importpackage>
18+
<bnd.importpackage>!jcifs</bnd.importpackage>
2119
</properties>
2220

2321
<dependencies>

bundles/org.openhab.binding.alarmdecoder/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
44

55
<modelVersion>4.0.0</modelVersion>
66

bundles/org.openhab.binding.allplay/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
44

55
<modelVersion>4.0.0</modelVersion>
66

bundles/org.openhab.binding.amazondashbutton/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
44

55
<modelVersion>4.0.0</modelVersion>
66

bundles/org.openhab.binding.amazonechocontrol/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
44

55
<modelVersion>4.0.0</modelVersion>
66

bundles/org.openhab.binding.amberelectric/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
44

55
<modelVersion>4.0.0</modelVersion>
66

0 commit comments

Comments
 (0)