Binding skeleton breaks build

I tried to create a new project with the binding skeleton but maven refuses to build it.


  • Linux
  • OpenJDK Runtime Environment (build 1.8.0_222-b05)
  • Apache Maven 3.6.1

Steps to reproduce:

  • git clone
  • cd bundles
  • ./ HelloWorld foo foo
  • cd org.openhab.binding.helloworld
  • mvn clean install -DskipTests -DskipChecks

Failed to execute goal org.commonjava.maven.plugins:directory-maven-plugin:0.3.1:directory-of (directories) on project org.openhab.binding.helloworld: Cannot find directory for project: org.openhab.addons:org.openhab.addons.reactor

If I try to build an existing binding the Astro binding I get the same error.

Ok I cleaned my maven cache to ensure that there is no old version of the archetype present but now the skeleton won’t work at all.
I created an issue:

Hi Tim,

Thanks for looking into this. It looks like the (linux???) script puts the new binding id twice into the modules section of the POM file located in bundles/pom.xml. To resolve the build issues remove the inserted one at the end.

//CC @hilbrand Do you have any idea why this does happen?

Yes I know why (That is I don’t know why it broke, I guess the maven achetype plugin got updated?) I’ve created a fix:

Great. Thank you for the quick fix.