From: Patrick Fink Date: Mon, 17 May 2021 20:07:41 +0000 (+0200) Subject: Ignore spotless errors on binding creation (#10696) X-Git-Url: https://git.basschouten.com/?a=commitdiff_plain;h=80c0915b80a57e11f20dc88f1533e7e933293eaa;p=openhab-addons.git Ignore spotless errors on binding creation (#10696) Signed-off-by: Patrick Fink --- diff --git a/bundles/create_openhab_binding_skeleton.cmd b/bundles/create_openhab_binding_skeleton.cmd index b4070074d6..3f42714607 100644 --- a/bundles/create_openhab_binding_skeleton.cmd +++ b/bundles/create_openhab_binding_skeleton.cmd @@ -19,7 +19,7 @@ SET GithubUser=%~3 call :LoCase BindingIdInLowerCase -call mvn -s archetype-settings.xml archetype:generate -N -DarchetypeGroupId=org.openhab.core.tools.archetypes -DarchetypeArtifactId=org.openhab.core.tools.archetypes.binding -DarchetypeVersion=%OpenhabVersion% -DgroupId=org.openhab.binding -DartifactId=org.openhab.binding.%BindingIdInLowerCase% -Dpackage=org.openhab.binding.%BindingIdInLowerCase% -Dversion=%OpenhabVersion% -DbindingId=%BindingIdInLowerCase% -DbindingIdCamelCase=%BindingIdInCamelCase% -DvendorName=openHAB -Dnamespace=org.openhab -Dauthor="%Author%" -DgithubUser="%GithubUser%" +call mvn -s archetype-settings.xml archetype:generate -N -Dspotless.check.skip=true -DarchetypeGroupId=org.openhab.core.tools.archetypes -DarchetypeArtifactId=org.openhab.core.tools.archetypes.binding -DarchetypeVersion=%OpenhabVersion% -DgroupId=org.openhab.binding -DartifactId=org.openhab.binding.%BindingIdInLowerCase% -Dpackage=org.openhab.binding.%BindingIdInLowerCase% -Dversion=%OpenhabVersion% -DbindingId=%BindingIdInLowerCase% -DbindingIdCamelCase=%BindingIdInCamelCase% -DvendorName=openHAB -Dnamespace=org.openhab -Dauthor="%Author%" -DgithubUser="%GithubUser%" COPY ..\src\etc\NOTICE org.openhab.binding.%BindingIdInLowerCase%\ diff --git a/bundles/create_openhab_binding_skeleton.sh b/bundles/create_openhab_binding_skeleton.sh index b8ef656199..ca93c59828 100755 --- a/bundles/create_openhab_binding_skeleton.sh +++ b/bundles/create_openhab_binding_skeleton.sh @@ -11,6 +11,7 @@ author=$2 githubUser=$3 mvn -s archetype-settings.xml archetype:generate -N \ + -Dspotless.check.skip=true \ -DarchetypeGroupId=org.openhab.core.tools.archetypes \ -DarchetypeArtifactId=org.openhab.core.tools.archetypes.binding \ -DarchetypeVersion=$openHABVersion \