Commit Graph

59 Commits

Author SHA1 Message Date
Markus Rathgeb
b7b5dfc9fa POM Code Convention (#790)
There is a recommended ordering for all Maven POM files.
See: https://maven.apache.org/developers/conventions/code.html

The POM files has been "fixed" by using the "sortpom-maven-plugin".
The blank lines has been kept to keep the element separation for
readability.
The plugin also fixes indentation etc.
Have a look at: https://github.com/Ekryd/sortpom/wiki

The profile has been set to "recommended_2008_06" that states:
The POM Code Convention that was chosen by Maven developers in 2008

Command that has been executed:

    mvn \
      com.github.ekryd.sortpom:sortpom-maven-plugin:sort \
      -Dsort.keepBlankLines=true \
      -Dsort.predefinedSortOrder=recommended_2008_06

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-05-05 17:47:41 +02:00
Christoph Weitkamp
31760bf3a7 Updated xml schema locations to openhab (#769)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-04-29 19:15:24 +02:00
Markus Rathgeb
32845ef36d differ between min. karaf version (OSGi) und karaf compilation tooling (#740)
Related to: https://github.com/openhab/openhab-core/pull/723#issuecomment-483595667

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-04-16 22:41:27 +02:00
Wouter Born
cbb96945f0 Ignore and remove Eclipse project specific settings (#677)
Signed-off-by: Wouter Born <github@maindrain.net>
2019-03-26 13:04:09 +01:00
Markus Rathgeb
2913d75e56 remove PDE left overs from core.karaf project (#639)
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-03-08 23:22:00 +01:00
Markus Rathgeb
fbca7e806f remove project specific JDT settings (#481)
Done per request by @wborn.
Related to: https://github.com/openhab/openhab-core/pull/476#discussion_r251566034

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-01-29 10:24:39 +01:00
Markus Rathgeb
a37cceab67 mavenize openHAB and integrate mavenized ESH repository (#467)
* mavenize openHAB and integrate mavenized ESH repository

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-01-28 13:07:31 +01:00
Kai Kreuzer
10acf5cf46 Changed license from EPL v1 to EPL v2 (#466)
* updated license headers
* added NOTICE files
* moved about.html to NOTICE files
* changed main project license
* updated build.properties
* added files to check to prevent error about missing about.html
* removed license info on p2 feature

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-01-16 22:59:49 +01:00
Kai Kreuzer
eb8abdc894 updated to 2019 (#464)
* updated to 2019
* updated checkstyle check to 2019

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-01-07 22:53:19 +01:00
Wouter Born
b1aeb17ee6 Log failed feature installation on error (#459)
Signed-off-by: Wouter Born <eclipse@maindrain.net>
2018-12-31 11:46:09 +01:00
openhab-bot
61e21d4866 [unleash-maven-plugin] Preparation for next development cycle. 2018-12-16 21:49:16 +00:00
Kai Kreuzer
1a8dc2618e fixes potential NPE in async execution (#398)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2018-09-12 23:42:46 +02:00
Wouter Born
8091914a4b Apply POM Code Convention (#392)
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>
2018-09-10 13:45:11 +02:00
Wouter Born
dbed3db57d Remove Eclipse project specific settings and some Groovy leftovers (#391)
Signed-off-by: Wouter Born <eclipse@maindrain.net>
2018-09-08 17:38:56 +02:00
Wouter Born
fe1a0b9f40 Remove unused bundle properties (#385)
Signed-off-by: Wouter Born <eclipse@maindrain.net>
2018-08-17 21:51:26 +02:00
CloudBees DEV@Cloud
cabe7c4528 [unleash-maven-plugin] Preparation for next development cycle. 2018-05-28 01:54:21 +02:00
Kai Kreuzer
75c1796d92
adapted links to documentation to new website layout (#347)
* adapted links to documentation to new website layout

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2018-05-24 22:36:07 +02:00
Tanya Georgieva
8a3b3d1074 Changed the indentation for some XML files from spaces to tabs (#310)
Signed-off-by: Tanya D. Georgieva <tanya.dancheva.georgieva@gmail.com>
2018-03-12 18:17:58 +01:00
Martin van Wingerden
5a21ca6b02 Updated copyrights to 2018 (#271)
Signed-off-by: Martin van Wingerden <martinvw@mtin.nl>
2018-01-03 09:26:13 +01:00
CloudBees DEV@Cloud
5c6bfba450 [unleash-maven-plugin] Preparation for next development cycle. 2017-12-17 23:40:22 +01:00
Kai Kreuzer
50c01f2098 Improved the feature installation logic (#256)
- wait for config update when online status has changed
- removed static methods and logger
- proper handling of "minimal" feature
- introduced a sync job that checks if everything is installed as expected (which serves as a retry mechanism in case of failed downloads)

fixes https://github.com/openhab/openhab-distro/issues/602

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-12-12 09:04:25 +01:00
Kai Kreuzer
3f1af862bc
improved feature installer logic (#238)
- upgraded to Java 8
- reduced calls to listInstalledFeatures, which is very expensive
- properly do the calculation of current/target/diff list of addons, when the config changes
- don't log errors when uninstallation fails as this can happen if it is a dependent feature that must not be uninstalled

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-11-28 09:30:58 +01:00
Markus Rathgeb
e57044e13c Rework / formatted manifest (#211)
* reworked and formatted manifest
* added missing jdt.annotation

Related to: https://github.com/eclipse/smarthome/pull/4308

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2017-09-21 08:16:38 +02:00
Kai Kreuzer
f4d2c1ac6b updated m2e ignore settings to avoid errors in the IDE (#201) 2017-08-29 09:52:15 +02:00
Martin van Wingerden
6bb1ba1057 Updated outdated copyrights (#197)
Signed-off-by: Martin van Wingerden <martinvw@mtin.nl>
2017-08-20 09:56:41 +02:00
Svilen
4005121e6c Fix errors found by the static analysis tool (#182)
Signed-off-by: Svilen Valkanov <svilen.valkanov@musala.com>
2017-08-10 12:46:30 +02:00
Martin van Wingerden
6fcb85b311 Version bump to version 2.2.0-SNAPSHOT (#160)
Signed-off-by: Martin van Wingerden <martinvw@mtin.nl>
2017-06-29 08:45:25 +02:00
Kai Kreuzer
14e503736c code cleanup to match expectations of static analysis tool (#151)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-06-02 16:40:55 +02:00
Kai Kreuzer
465b237d0b implemented new method of ExtensionService interface (#145)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-04-29 20:51:46 +02:00
Kai Kreuzer
f089cd912f
added about files
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-04-07 16:26:59 +02:00
Kai Kreuzer
485a65e739 applied code formatter (#132)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-04-07 03:42:37 -07:00
Kai Kreuzer
3be8099728 switched to Java8 (#130)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-04-05 01:06:43 -07:00
Kai Kreuzer
dcc48f1219 added further links to documentation pages (#116)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-02-17 18:10:49 +01:00
Kai Kreuzer
ceef9a9fe0
moved on to 2.1.0-SNAPSHOT
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-01-20 10:48:55 +01:00
Kai Kreuzer
25375e6dc4 adapted feature installer to new remote repo locations, moved package definitions to distro and improved setup page (#110)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-01-09 11:09:38 +01:00
Kai Kreuzer
f3750ec48c only send installed events for new addons (#100)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-12-22 15:41:37 +01:00
Kai Kreuzer
138d73533e Feature installation improvements (#99)
- switched to Karaf 4.0.8
- used bulk feature installation
- synchronised methods to avoid concurrent operations
- fixed issue where dashboard bundle might bind the addons configuration

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-12-22 00:05:12 +01:00
Kai Kreuzer
a72b1c9af2 adapted to changed ESH API and added links to binding documentation (#96)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-12-17 14:04:48 +01:00
Kai Kreuzer
d3a81fe8c7 allow spaces in the list of add-ons in addons.cfg (#85)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-11-26 12:17:48 +01:00
Kai Kreuzer
053c073d9e Refactoring of package handling (#81)
* adapted FeatureInstaller to adapt addons info in ConfigAdmin, so that this info is stored in a file
* removed experimental features
* removed package selection from UI as it is meant to be only set once
* introduced new packages: minimal, simple and expert
* introduced a setup page on the dashboard, if no package is set (and thus openHAB is uninitialized)
* added auto-refresh of dashboard to have new entries appear automatically

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-11-24 20:09:52 +01:00
Kai Kreuzer
c55513a8c0 switched to snapshot
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-05-21 14:00:58 +02:00
Kai Kreuzer
8bd77e32c5 Releasing 2.0.0.b3
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-05-21 13:51:10 +02:00
Kai Kreuzer
01c44a5223 renamed tts addons to voice (#42)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-04-26 21:14:30 +02:00
Kai Kreuzer
235c82b023 added esh repos for online mode (#41)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-04-25 20:57:18 +02:00
Kai Kreuzer
07e75b7e96 enhanced feature installer to also handle remote repos for legacy and experimental features (#39)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-04-25 18:16:14 +02:00
Kai Kreuzer
8209e72ba6 fixes https://github.com/openhab/openhab-distro/issues/176
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-04-16 09:20:38 +02:00
Kai Kreuzer
667df5ceca improved robustness of feature/package installer
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-04-15 21:36:24 +02:00
Kai Kreuzer
c9650f149f Merge pull request #34 from kaikreuzer/packagemgr
registered feature installer as a service so that it appears in the P…
2016-04-15 17:57:49 +02:00
Kai Kreuzer
a1bda50055 registered feature installer as a service so that it appears in the Paper UI
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-04-14 18:03:36 +02:00
Markus Rathgeb
7b0651ccde drop multiple karaf version declarations
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2016-04-13 18:31:57 +02:00