Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[skeleton script] Newly created addon will throw a maven-related exception #9528

Closed
Jochen1980 opened this issue Dec 26, 2020 · 0 comments · Fixed by openhab/openhab-core#2011
Labels
bug An unexpected problem or unintended behavior of an add-on

Comments

@Jochen1980
Copy link

I tried to create a new binding and used the create_openhab_binding_skeleton.sh to do that. All went fine and after trying to run maven for the first time to create the build, I got an exception, see

Caused by: org.apache.maven.plugin.MojoExecutionException: The following files had format violations:
src/main/resources/OH-INF/thing/thing-types.xml

There was a solution offered as well, here
Run ‘mvn spotless:apply’ to fix these violations.

See community link here: https://community.openhab.org/t/oh-3-skeleton-script-generates-an-error-under-linux/111301

@Jochen1980 Jochen1980 added the bug An unexpected problem or unintended behavior of an add-on label Dec 26, 2020
t2000 added a commit to t2000/openhab-core that referenced this issue Dec 26, 2020
Fixes openhab/openhab-addons#9528

Signed-off-by: Stefan Triller <github@stefantriller.de>
t2000 added a commit to t2000/openhab-core that referenced this issue Dec 26, 2020
Fixes openhab/openhab-addons#9528

Signed-off-by: Stefan Triller <github@stefantriller.de>
kaikreuzer pushed a commit to openhab/openhab-core that referenced this issue Dec 27, 2020
Fixes openhab/openhab-addons#9528

Signed-off-by: Stefan Triller <github@stefantriller.de>
kaikreuzer pushed a commit to kaikreuzer/openhab-core that referenced this issue Dec 27, 2020
Fixes openhab/openhab-addons#9528

Signed-off-by: Stefan Triller <github@stefantriller.de>
kaikreuzer pushed a commit to openhab/openhab-core that referenced this issue Dec 28, 2020
Fixes openhab/openhab-addons#9528

Signed-off-by: Stefan Triller <github@stefantriller.de>
splatch pushed a commit to ConnectorIO/copybara-hab-core that referenced this issue Jul 11, 2023
Fixes openhab/openhab-addons#9528

Signed-off-by: Stefan Triller <github@stefantriller.de>
GitOrigin-RevId: f1276c5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant