Openhab bindings build error on windows (works fine on Linux)

Tags: #<Tag:0x00007efeda309370>

Hi
once I update to the latest openhab-addon I get build error on all the bindings (not just the one I develop)
I tried install new clean build environment , still get the error (details below highlighted)
Any idea what could be wrong ?

C:\gitroot\openhab-2-5-x\git\openhab-addons>mvn clean install -pl :org.openhab.binding.astro
[INFO] Scanning for projects…
[INFO]
[INFO] --------< org.openhab.addons.bundles:org.openhab.binding.astro >--------
[INFO] Building openHAB Add-ons :: Bundles :: Astro Binding 2.5.10-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] — maven-clean-plugin:3.0.0:clean (default-clean) @ org.openhab.binding.astro —
[INFO] Deleting C:\gitroot\openhab-2-5-x\git\openhab-addons\bundles\org.openhab.binding.astro\target
[INFO]
[INFO] — maven-enforcer-plugin:3.0.0-M2:enforce (enforce-java) @ org.openhab.binding.astro —
[INFO]
[INFO] — directory-maven-plugin:0.3.1:directory-of (directories) @ org.openhab.binding.astro —
[INFO] Directory of org.openhab.addons:org.openhab.addons.reactor set to: C:\gitroot\openhab-2-5-x\git\openhab-addons
[INFO]
[INFO] — spotless-maven-plugin:2.0.3:check (codestyle_check) @ org.openhab.binding.astro —
Sep 27, 2020 11:05:29 AM com.diffplug.spotless.FormatExceptionPolicyLegacy error
SEVERE: Step ‘eclipse wtp formatters - XML’ found problem in ‘src\main\resources\ESH-INF\binding\binding.xml’:
null
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.diffplug.spotless.extra.wtp.EclipseWtpFormatterStep.applyWithFile(EclipseWtpFormatterStep.java:75)
at com.diffplug.spotless.extra.wtp.EclipseWtpFormatterStep.lambda$createBuilder$0(EclipseWtpFormatterStep.java:51)
at com.diffplug.spotless.FormatterStepImpl$Standard.format(FormatterStepImpl.java:76)
at com.diffplug.spotless.FormatterStep$Strict.format(FormatterStep.java:76)
at com.diffplug.spotless.Formatter.compute(Formatter.java:230)
at com.diffplug.spotless.PaddedCell.calculateDirtyState(PaddedCell.java:201)
at com.diffplug.spotless.PaddedCell.calculateDirtyState(PaddedCell.java:188)
at com.diffplug.spotless.maven.SpotlessCheckMojo.process(SpotlessCheckMojo.java:52)
at com.diffplug.spotless.maven.AbstractSpotlessMojo.execute(AbstractSpotlessMojo.java:142)
at com.diffplug.spotless.maven.AbstractSpotlessMojo.execute(AbstractSpotlessMojo.java:127)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:193)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
Caused by: org.osgi.framework.BundleException: Failed do start org.eclipse.core.resources.ResourcesPlugin.
at com.diffplug.spotless.extra.eclipse.base.osgi.BundleController.addBundle(BundleController.java:97)
at com.diffplug.spotless.extra.eclipse.base.SpotlessEclipseFramework.addPlugin(SpotlessEclipseFramework.java:260)
at com.diffplug.spotless.extra.eclipse.base.SpotlessEclipseFramework.setup(SpotlessEclipseFramework.java:233)
at com.diffplug.spotless.extra.eclipse.wtp.EclipseXmlFormatterStepImpl.(EclipseXmlFormatterStepImpl.java:59)
… 36 more
Caused by: java.lang.IllegalStateException: The platform metadata area could not be written: C:\Users\Roie%20Geron\AppData\Local\Temp\com_diffplug_spotless_extra_eclipse8851245387776003081.metadata. By default the platform writes its content
under the current working directory when the platform is launched. Use the -data parameter to
specify a different content area for the platform.
at org.eclipse.core.internal.runtime.DataArea.assertLocationInitialized(DataArea.java:73)
at org.eclipse.core.internal.runtime.DataArea.getStateLocation(DataArea.java:136)
at org.eclipse.core.internal.runtime.InternalPlatform.getStateLocation(InternalPlatform.java:490)
at org.eclipse.core.runtime.Plugin.getStateLocation(Plugin.java:259)
at org.eclipse.core.internal.resources.LocalMetaArea.(LocalMetaArea.java:63)
at org.eclipse.core.resources.ResourcesPlugin.start(ResourcesPlugin.java:481)
at com.diffplug.spotless.extra.eclipse.base.osgi.BundleController.addBundle(BundleController.java:95)
… 39 more

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.099 s
[INFO] Finished at: 2020-09-27T11:05:29+03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.diffplug.spotless:spotless-maven-plugin:2.0.3:check (codestyle_check) on project org.openhab.binding.astro: Execution codestyle_check of goal com.diffplug.spotless:spotless-maven-plugin:2.0.3:check failed: java.lang.reflect.InvocationTargetException: Failed do start org.eclipse.core.resources.ResourcesPlugin. The platform metadata area could not be written: C:\Users\Roie%20Geron\AppData\Local\Temp\com_diffplug_spotless_extra_eclipse8851245387776003081.metadata. By default the platform writes its content
[ERROR] under the current working directory when the platform is launched. Use the -data parameter to
[ERROR] specify a different content area for the platform.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException