Building a skeleton for a new binding fails!

Hi, I just tried to build a skeleton for a new binding, started of with a fresh install of the IDE as well a fresh download of the openhab2-addons.
Using the file “create_openhab_binding_skeleton.cmd” on my windows machine gave the following Errors:

[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building openHAB Bindings 2.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-archetype-plugin:3.0.1:generate (default-cli) > generate-sources @ pom >>>
[INFO]
[INFO] <<< maven-archetype-plugin:3.0.1:generate (default-cli) < generate-sources @ pom <<<
[INFO]
[INFO] --- maven-archetype-plugin:3.0.1:generate (default-cli) @ pom ---
[INFO] Generating project in Interactive mode
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.922 s
[INFO] Finished at: 2017-04-14T18:28:56+02:00
[INFO] Final Memory: 25M/174M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate (default-cli) on project pom: archetypeCatalog ''file://../archetype-catalog.xml'' is not supported anymore. Please read the plugin documentation for details. -> [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/MojoFailureException

Did I do something wrong or is there a problem with the script?

Hi,

I get the same error and have no glue what to do :frowning:

Hi,

same for me. We should open an issue in the GitHub Repo.

Here is a temporarily workaround for this problem:

  1. Edit the create_openhab_binding_skeleton.cmd or the create_openhab_binding_skeleton.sh file
  2. Remove the mvn flag -DarchetypeCatalog='file://../archetype-catalog.xml'

I can confirm, without this flag it works and I did file an Issue

FTR this is resolved