Add POM and feature dependencies for commons-net (#9940)

Signed-off-by: Wouter Born <github@maindrain.net>
pull/9967/head
Wouter Born 2021-01-25 13:45:12 +01:00 committed by GitHub
parent 239e33af26
commit f926cd8080
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
23 changed files with 155 additions and 4 deletions

View File

@ -14,4 +14,17 @@
<name>openHAB Add-ons :: Bundles :: DSCAlarm Binding</name>
<properties>
<dep.noembedding>commons-net</dep.noembedding>
</properties>
<dependencies>
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>${commons.net.version}</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>

View File

@ -14,4 +14,17 @@
<name>openHAB Add-ons :: Bundles :: HEOS Binding</name>
<properties>
<dep.noembedding>commons-net</dep.noembedding>
</properties>
<dependencies>
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>${commons.net.version}</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>

View File

@ -5,6 +5,7 @@
<feature name="openhab-binding-heos" description="HEOS Binding" version="${project.version}">
<feature>openhab-runtime-base</feature>
<feature>openhab-transport-upnp</feature>
<feature dependency="true">openhab.tp-commons-net</feature>
<bundle start-level="80">mvn:org.openhab.addons.bundles/org.openhab.binding.heos/${project.version}</bundle>
</feature>
</features>

View File

@ -14,4 +14,17 @@
<name>openHAB Add-ons :: Bundles :: Kaleidescape Binding</name>
<properties>
<dep.noembedding>commons-net</dep.noembedding>
</properties>
<dependencies>
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>${commons.net.version}</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>

View File

@ -14,4 +14,17 @@
<name>openHAB Add-ons :: Bundles :: Lutron Binding</name>
<properties>
<dep.noembedding>commons-net</dep.noembedding>
</properties>
<dependencies>
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>${commons.net.version}</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>

View File

@ -14,4 +14,17 @@
<name>openHAB Add-ons :: Bundles :: MagentaTV Binding</name>
<properties>
<dep.noembedding>commons-net</dep.noembedding>
</properties>
<dependencies>
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>${commons.net.version}</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>

View File

@ -6,6 +6,7 @@
<feature name="openhab-binding-magentatv" description="MagentaTV Binding" version="${project.version}">
<feature>openhab-runtime-base</feature>
<feature>openhab-transport-upnp</feature>
<feature dependency="true">openhab.tp-commons-net</feature>
<bundle start-level="80">mvn:org.openhab.addons.bundles/org.openhab.binding.magentatv/${project.version}</bundle>
</feature>
</features>

View File

@ -34,7 +34,7 @@
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>3.7.2</version>
<version>${commons.net.version}</version>
<scope>compile</scope>
</dependency>
</dependencies>

View File

@ -5,6 +5,7 @@
<feature name="openhab-binding-network" description="Network Binding" version="${project.version}">
<feature>openhab-runtime-base</feature>
<feature>openhab-core-model-script</feature>
<feature dependency="true">openhab.tp-commons-net</feature>
<bundle start-level="80">mvn:org.openhab.addons.bundles/org.openhab.binding.network/${project.version}</bundle>
</feature>
</features>

View File

@ -14,4 +14,17 @@
<name>openHAB Add-ons :: Bundles :: NTP Binding</name>
<properties>
<dep.noembedding>commons-net</dep.noembedding>
</properties>
<dependencies>
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>${commons.net.version}</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>

View File

@ -4,6 +4,7 @@
<feature name="openhab-binding-ntp" description="NTP Binding" version="${project.version}">
<feature>openhab-runtime-base</feature>
<feature dependency="true">openhab.tp-commons-net</feature>
<bundle start-level="80">mvn:org.openhab.addons.bundles/org.openhab.binding.ntp/${project.version}</bundle>
</feature>
</features>

View File

@ -13,4 +13,18 @@
<artifactId>org.openhab.binding.opensprinkler</artifactId>
<name>openHAB Add-ons :: Bundles :: OpenSprinkler Binding</name>
<properties>
<dep.noembedding>commons-net</dep.noembedding>
</properties>
<dependencies>
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>${commons.net.version}</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>

View File

@ -4,6 +4,7 @@
<feature name="openhab-binding-opensprinkler" description="OpenSprinkler Binding" version="${project.version}">
<feature>openhab-runtime-base</feature>
<feature dependency="true">openhab.tp-commons-net</feature>
<bundle start-level="80">mvn:org.openhab.addons.bundles/org.openhab.binding.opensprinkler/${project.version}</bundle>
</feature>
</features>

View File

@ -13,4 +13,18 @@
<artifactId>org.openhab.binding.pjlinkdevice</artifactId>
<name>openHAB Add-ons :: Bundles :: PJLink Binding</name>
<properties>
<dep.noembedding>commons-net</dep.noembedding>
</properties>
<dependencies>
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>${commons.net.version}</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>

View File

@ -4,6 +4,7 @@
<feature name="openhab-binding-pjlinkdevice" description="PJLinkDevice Binding" version="${project.version}">
<feature>openhab-runtime-base</feature>
<feature dependency="true">openhab.tp-commons-net</feature>
<bundle start-level="80">mvn:org.openhab.addons.bundles/org.openhab.binding.pjlinkdevice/${project.version}</bundle>
</feature>
</features>

View File

@ -14,7 +14,17 @@
<name>openHAB Add-ons :: Bundles :: PLCLogo Binding</name>
<properties>
<dep.noembedding>commons-net</dep.noembedding>
</properties>
<dependencies>
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>${commons.net.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.openhab.binding.plclogo</groupId>
<artifactId>Moka7</artifactId>

View File

@ -4,6 +4,7 @@
<feature name="openhab-binding-plclogo" description="PLCLogo Binding" version="${project.version}">
<feature>openhab-runtime-base</feature>
<feature dependency="true">openhab.tp-commons-net</feature>
<bundle start-level="80">mvn:org.openhab.addons.bundles/org.openhab.binding.plclogo/${project.version}</bundle>
</feature>
</features>

View File

@ -14,4 +14,17 @@
<name>openHAB Add-ons :: Bundles :: Russound Binding</name>
<properties>
<dep.noembedding>commons-net</dep.noembedding>
</properties>
<dependencies>
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>${commons.net.version}</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>

View File

@ -4,6 +4,7 @@
<feature name="openhab-binding-russound" description="Russound Binding" version="${project.version}">
<feature>openhab-runtime-base</feature>
<feature dependency="true">openhab.tp-commons-net</feature>
<bundle start-level="80">mvn:org.openhab.addons.bundles/org.openhab.binding.russound/${project.version}</bundle>
</feature>
</features>

View File

@ -15,10 +15,16 @@
<name>openHAB Add-ons :: Bundles :: ZWay Binding</name>
<properties>
<dep.noembedding>commons-lang3</dep.noembedding>
<dep.noembedding>commons-lang3,commons-net</dep.noembedding>
</properties>
<dependencies>
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>${commons.net.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>

View File

@ -4,6 +4,7 @@
<feature name="openhab-binding-zway" description="Z-Way Binding" version="${project.version}">
<feature>openhab-runtime-base</feature>
<feature dependency="true">openhab.tp-commons-net</feature>
<bundle dependency="true">mvn:org.apache.commons/commons-lang3/3.4</bundle>
<bundle start-level="80">mvn:org.openhab.addons.bundles/org.openhab.binding.zway/${project.version}</bundle>
</feature>

View File

@ -366,6 +366,12 @@
<artifactId>org.openhab.core.bom.openhab-core</artifactId>
<type>pom</type>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.openhab.core.bom</groupId>

View File

@ -70,9 +70,12 @@
<ohc.version>3.1.0-SNAPSHOT</ohc.version>
<bnd.version>5.2.0</bnd.version>
<commons.net.version>3.7.2</commons.net.version>
<eea.version>2.2.1</eea.version>
<karaf.version>4.2.7</karaf.version>
<sat.version>0.10.0</sat.version>
<slf4j.version>1.7.21</slf4j.version>
<spotless.version>2.0.3</spotless.version>
<bnd.importpackage/>
<bnd.exportpackage/>
@ -80,8 +83,6 @@
<bnd.includeresource>-${.}/NOTICE, -${.}/*.xsd</bnd.includeresource>
<feature.directory>src/main/feature/feature.xml</feature.directory>
<spotless.version>2.0.3</spotless.version>
<eea.version>2.2.1</eea.version>
</properties>
<dependencyManagement>