]> git.basschouten.com Git - openhab-addons.git/commitdiff
Ignore spotless errors on binding creation (#10696)
authorPatrick Fink <mail@pfink.de>
Mon, 17 May 2021 20:07:41 +0000 (22:07 +0200)
committerGitHub <noreply@github.com>
Mon, 17 May 2021 20:07:41 +0000 (22:07 +0200)
Signed-off-by: Patrick Fink <mail@pfink.de>
bundles/create_openhab_binding_skeleton.cmd
bundles/create_openhab_binding_skeleton.sh

index b4070074d624f74f3b36891bdd2e35696d162718..3f4271460775521bd78258582648e0669990cc3b 100644 (file)
@@ -19,7 +19,7 @@ SET GithubUser=%~3
 \r
 call :LoCase BindingIdInLowerCase\r
 \r
-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%"\r
+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%"\r
 \r
 COPY ..\src\etc\NOTICE org.openhab.binding.%BindingIdInLowerCase%\\r
 \r
index b8ef656199f52bcbac308e8f05e9572ce5a53997..ca93c59828020a95f0c8d26d83cee75c266e095a 100755 (executable)
@@ -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 \