Confirmed users
4,378
edits
Line 285: | Line 285: | ||
(Taken from : https://github.com/eclipse/smarthome/issues/639 ) | (Taken from : https://github.com/eclipse/smarthome/issues/639 ) | ||
===== Building OpenHAB distributions ===== | ===== Building OpenHAB distributions ===== | ||
* As stated before you can pull and compile all of them by compiling in this order "openhab2-addons | * As stated before you can pull and compile all of them by compiling in this order "smarthome", "openhab2-addons", "openhab-core", "openhab", "openhab-distro", and running: mvn install in each directory; it's better to setup the IDE. The openhab-distro is where the distributions will compile; you can run mvn install clean to clean and install and with the <i>-DskipTests=true</i> to skip tests. | ||
* The distributions will be moved to ~/.m2/repository/org/openhab/distro/ by default. | * The distributions will be moved to ~/.m2/repository/org/openhab/distro/ by default. | ||
NOTE: sometimes running <i>mvn clean install -U</i> may help; -U forces an update on all cached files. If it still has issues, sometime deleting the .m2 cache may help ( https://github.com/openhab/openhab/issues/3879#issuecomment-174836411 ). | NOTE: sometimes running <i>mvn clean install -U</i> may help; -U forces an update on all cached files. If it still has issues, sometime deleting the .m2 cache may help ( https://github.com/openhab/openhab/issues/3879#issuecomment-174836411 ). |