Fixes:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:3.0.0-M1:install (default-install) on project openhab2-addons: NoFileAssignedException: The packaging plugin for this project did not assign a main file to the project but it has attachments. Change packaging to 'pom'. -> [Help 1]
Signed-off-by: Wouter Born <eclipse@maindrain.net>
The maven-resources-plugin is used to copy back the generated XML to the OSGI-INF directory so it is on the classpath in tests.
The outputDirectory configuration parameter of the maven-scr-plugin is not used because when it is set to ${project.basedir} it empties the OSGI-INF dir and would remove non-generated SCR XML files.
Fixes#318
Signed-off-by: Wouter Born <eclipse@maindrain.net>
Applies the POM Code Covention as used in OH2/ESH projects.
See also: https://maven.apache.org/developers/conventions/code.html
The executed command is:
mvn \
com.github.ekryd.sortpom:sortpom-maven-plugin:sort \
-Dsort.keepBlankLines=true \
-Dsort.predefinedSortOrder=recommended_2008_06
Signed-off-by: Wouter Born <eclipse@maindrain.net>
The constructors of DecimalType in ESH use BigDecimal.valueOf instead of new BigDecimal. Using valueOf is better because the new constuctors causes undesired rounding. For example the value 0.32 becomes: 0.320000000000000006661338147750939242541790008544921875. With valueOf this doesn't happen.
This change will make it work the same as the ESH DecimalType
Closes#371
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
* New translations dashboard.properties (Czech)
* New translations en-UK.json (Czech)
* New translations dashboard.properties (Hungarian)
* New translations en-UK.json (Hungarian)
* New translations dashboard.properties (Hebrew)
* New translations dashboard.properties (Hebrew)
* New translations en-UK.json (Hebrew)
* New translations en-UK.json (Hebrew)
* New translations dashboard.properties (Hebrew)
* New translations en-UK.json (Hebrew)
* New translations dashboard.properties (Hebrew)
* New translations dashboard.properties (Russian)
* New translations dashboard.properties (Polish)
* New translations dashboard.properties (Tagalog)
* New translations dashboard.properties (Turkish)
* New translations dashboard.properties (Czech)
* New translations dashboard.properties (Hungarian)
* New translations dashboard.properties (Hebrew)
* New translations dashboard.properties (Dutch)
* New translations dashboard.properties (French)
* New translations dashboard.properties (German)
* replace ESH p2 update site dependency by plain Maven dependencies
* added special dependencies for core bundles
* added dependencies to feature projects as well
Signed-off-by: Kai Kreuzer <kai@openhab.org>