From 13a58b94585121ce430b78a780b7b9e6bf35268c Mon Sep 17 00:00:00 2001 From: Hilbrand Bouwkamp Date: Thu, 8 Apr 2021 22:55:29 +0200 Subject: [PATCH] Adds exceptions for KarafAddonFeatureCheck (#8613) * Adds exceptions for KarafAddonFeatureCheck Signed-off-by: Hilbrand Bouwkamp --- .../src/main/feature/feature.xml | 3 +-- bundles/org.openhab.binding.velux/src/main/feature/feature.xml | 2 +- tools/static-code-analysis/checkstyle/ruleset.properties | 2 ++ 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/bundles/org.openhab.binding.remoteopenhab/src/main/feature/feature.xml b/bundles/org.openhab.binding.remoteopenhab/src/main/feature/feature.xml index 61bb75b03..88c5d8ca0 100644 --- a/bundles/org.openhab.binding.remoteopenhab/src/main/feature/feature.xml +++ b/bundles/org.openhab.binding.remoteopenhab/src/main/feature/feature.xml @@ -5,7 +5,6 @@ openhab-runtime-base - mvn:org.openhab.addons.bundles/org.openhab.binding.remoteopenhab/${project.version} - + mvn:org.openhab.addons.bundles/org.openhab.binding.remoteopenhab/${project.version} diff --git a/bundles/org.openhab.binding.velux/src/main/feature/feature.xml b/bundles/org.openhab.binding.velux/src/main/feature/feature.xml index a810424ef..d25e0a09b 100644 --- a/bundles/org.openhab.binding.velux/src/main/feature/feature.xml +++ b/bundles/org.openhab.binding.velux/src/main/feature/feature.xml @@ -1,5 +1,5 @@ - + mvn:org.openhab.core.features.karaf/org.openhab.core.features.karaf.openhab-core/${ohc.version}/xml/features diff --git a/tools/static-code-analysis/checkstyle/ruleset.properties b/tools/static-code-analysis/checkstyle/ruleset.properties index 317bf831f..3cc2adf54 100644 --- a/tools/static-code-analysis/checkstyle/ruleset.properties +++ b/tools/static-code-analysis/checkstyle/ruleset.properties @@ -3,3 +3,5 @@ checkstyle.headerCheck.values=2010,2021 checkstyle.forbiddenPackageUsageCheck.forbiddenPackages=com.google.common,gnu.io,javax.comm,org.apache.commons,org.joda.time,tec.uom.se checkstyle.forbiddenPackageUsageCheck.exceptions= checkstyle.requiredFilesCheck.files=pom.xml +checkstyle.karafAddonFeatureCheck.featureNameMappings=-transform-:-transformation-,-io-:-misc- +checkstyle.karafAddonFeatureCheck.excludeAddonPatterns=org.openhab.persistence.jdbc.*,org.openhab.binding.modbus.*