[Solved] Maven compile (openHAB 1 bindings) failed

Building openHAB 1 from last sources, I got this error:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:30 min
[INFO] Finished at: 2016-01-24T19:42:02+01:00
[INFO] Final Memory: 118M/446M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.24.0:co
mpile (default-compile) on project org.openhab.binding.knx: Compilation failure:
 Compilation failure:
[ERROR] C:\Data\Dev\openHAB2\openhab2-master\git\openhab\bundles\binding\org.ope
nhab.binding.knx\src\main\java\org\openhab\binding\knx\internal\dpt\KNXCoreTypeM
apper.java:[434]
[ERROR] value = new SimpleDateFormat(DateTimeType.DATE_PATTERN).format(cal.getTi
me());
[ERROR] ^^^^^^^^^^^^
[ERROR] DATE_PATTERN cannot be resolved or is not a field
[ERROR] C:\Data\Dev\openHAB2\openhab2-master\git\openhab\bundles\binding\org.ope
nhab.binding.knx\src\main\java\org\openhab\binding\knx\internal\dpt\KNXCoreTypeM
apper.java:[443]
[ERROR] value = new SimpleDateFormat(DateTimeType.DATE_PATTERN).format(cal.getTi
me());
[ERROR] ^^^^^^^^^^^^
[ERROR] DATE_PATTERN cannot be resolved or is not a field
[ERROR] C:\Data\Dev\openHAB2\openhab2-master\git\openhab\bundles\binding\org.ope
nhab.binding.knx\src\main\java\org\openhab\binding\knx\internal\dpt\KNXCoreTypeM
apper.java:[449]
[ERROR] value = new SimpleDateFormat(DateTimeType.DATE_PATTERN).format(cal.getTi
me());
[ERROR] ^^^^^^^^^^^^
[ERROR] DATE_PATTERN cannot be resolved or is not a field
[ERROR] C:\Data\Dev\openHAB2\openhab2-master\git\openhab\bundles\binding\org.ope
nhab.binding.knx\src\main\java\org\openhab\binding\knx\internal\dpt\KNXCoreTypeM
apper.java:[560]
[ERROR] return date != null ? new SimpleDateFormat(DateTimeType.DATE_PATTERN).fo
rmat(date) : "";
[ERROR] ^^^^^^^^^^^^
[ERROR] DATE_PATTERN cannot be resolved or is not a field
[ERROR] 4 problems (4 errors)
[ERROR] -> [Help 1]

Any idea ? Still have the issue.

mvn -v
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; sup
port was removed in 8.0
Apache Maven 3.3.1 (cab6659f9874fa96462afef40fcf6bc033d58c1c; 2015-03-13T21:10:2
7+01:00)
Maven home: C:\Program Files\Apache Software Foundation\apache-maven-3.3.1\bin\.
.
Java version: 1.8.0_66, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_66\jre
Default locale: fr_FR, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos"

Could it be my Java that is 64 bit version ?

Is it required to use a Java 32 bit to compile/build openHAB ?

Using the -fae option, I was able to run a full build.

Here is my result:

INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] openHAB ............................................ SUCCESS [  0.109 s]
[INFO] openHAB Bundles .................................... SUCCESS [  0.016 s]
[INFO] openHAB Actions .................................... SUCCESS [  0.000 s]
[INFO] openHAB Mail Action ................................ SUCCESS [  2.948 s]
[INFO] openHAB Prowl Action ............................... SUCCESS [  0.422 s]
[INFO] openHAB Pushover Action ............................ SUCCESS [  0.561 s]
[INFO] openHAB I/O Components ............................. SUCCESS [  0.000 s]
[INFO] openHAB Squeeze Server ............................. SUCCESS [  0.843 s]
[INFO] openHAB Squeezebox Action .......................... SUCCESS [  0.624 s]
[INFO] openHAB Twitter Action ............................. SUCCESS [  0.483 s]
[INFO] openHAB XBMC Action ................................ SUCCESS [  0.328 s]
[INFO] openHAB XMPP Action ................................ SUCCESS [  0.764 s]
[INFO] openHAB xPL Transport .............................. SUCCESS [  0.531 s]
[INFO] openHAB xPL Action ................................. SUCCESS [  0.421 s]
[INFO] openHAB NotifyMyAndroid Action ..................... SUCCESS [  0.437 s]
[INFO] openHAB Bindings ................................... SUCCESS [  0.000 s]
[INFO] openHAB Homematic Binding .......................... SUCCESS [  4.648 s]
[INFO] openHAB Homematic Action ........................... SUCCESS [  0.546 s]
[INFO] openHAB OpenWebIf Action ........................... SUCCESS [  0.702 s]
[INFO] openHAB Weather Binding ............................ SUCCESS [  2.138 s]
[INFO] openHAB Weather Action ............................. SUCCESS [  0.312 s]
[INFO] openHAB MiOS Binding ............................... SUCCESS [  1.404 s]
[INFO] openHAB MiOS Action ................................ SUCCESS [  0.499 s]
[INFO] openHAB Astro Binding .............................. SUCCESS [  1.388 s]
[INFO] openHAB Astro Action ............................... SUCCESS [  0.343 s]
[INFO] openHAB Tinkerforge Binding ........................ SUCCESS [ 13.104 s]
[INFO] openHAB TinkerForge Action ......................... SUCCESS [  0.297 s]
[INFO] openHAB Harmony Client IO .......................... SUCCESS [  1.170 s]
[INFO] openHAB HarmonyHub Action .......................... SUCCESS [  0.624 s]
[INFO] openHAB Ecobee Binding ............................. SUCCESS [  2.215 s]
[INFO] openHAB Ecobee Action .............................. SUCCESS [  0.390 s]
[INFO] openHAB MQTT Transport ............................. SUCCESS [  1.014 s]
[INFO] openHAB MQTT Action ................................ SUCCESS [  0.343 s]
[INFO] openHAB DSC Alarm Binding .......................... SUCCESS [  1.513 s]
[INFO] openHAB DSC Alarm Action ........................... SUCCESS [  0.266 s]
[INFO] openHAB Telegram Action ............................ SUCCESS [  0.405 s]
[INFO] openHAB Lgtv Binding ............................... SUCCESS [  0.858 s]
[INFO] openHAB Bluetooth Binding .......................... SUCCESS [  0.484 s]
[INFO] openHAB KNX Binding ................................ FAILURE [  0.717 s]
[INFO] openHAB KNX Binding Tests .......................... SKIPPED
[INFO] openHAB Serial Binding ............................. SUCCESS [  0.562 s]
[INFO] openHAB 1-Wire Binding ............................. SUCCESS [  1.092 s]
[INFO] openHAB Wake-on-LAN binding ........................ SUCCESS [  0.359 s]
[INFO] openHAB NetworkHealth Binding ...................... FAILURE [  0.312 s]
[INFO] openHAB Exec Binding ............................... FAILURE [  0.265 s]
[INFO] openHAB Exec Binding Tests ......................... SKIPPED
[INFO] openHAB HTTP Binding ............................... FAILURE [  0.359 s]
[INFO] openHAB HTTP Binding Tests ......................... SKIPPED
[INFO] openHAB Hue Binding ................................ SUCCESS [  0.811 s]
[INFO] openHAB Fritzbox Binding ........................... SUCCESS [  0.640 s]
[INFO] openHAB NTP Binding ................................ SUCCESS [  0.592 s]
[INFO] openHAB MPD Binding ................................ SUCCESS [  0.702 s]
[INFO] openHAB MyStromEcoPower Binding .................... SUCCESS [  0.515 s]
[INFO] openHAB VDR Binding ................................ SUCCESS [  0.484 s]
[INFO] openHAB Asterisk Binding ........................... SUCCESS [  0.561 s]
[INFO] openHAB SNMP Binding ............................... SUCCESS [  0.578 s]
[INFO] openHAB Sonos Binding .............................. SUCCESS [  1.918 s]
[INFO] openHAB ConfigAdmin Binding ........................ SUCCESS [  0.359 s]
[INFO] openHAB Novelan Heatpump Binding ................... SUCCESS [  1.014 s]
[INFO] openHAB Cups Binding ............................... SUCCESS [  0.531 s]
[INFO] openHAB IHC / ELKO LS Binding ...................... SUCCESS [  2.761 s]
[INFO] openHAB TCP/UDP Binding ............................ SUCCESS [  0.967 s]
[INFO] openHAB Plugwise Binding ........................... SUCCESS [  1.373 s]
[INFO] openHAB Modbus Binding ............................. SUCCESS [  3.026 s]
[INFO] openHAB PLCBus Binding ............................. SUCCESS [  1.123 s]
[INFO] openHAB DMX Binding ................................ SUCCESS [  1.030 s]
[INFO] openHAB OLA inteface for DMX Binding ............... SUCCESS [  0.577 s]
[INFO] openHAB lib485 interface for DMX Binding ........... SUCCESS [  0.343 s]
[INFO] openHAB artnet interface for DMX Binding ........... SUCCESS [  0.422 s]
[INFO] openHAB DMX Binding Tests .......................... SUCCESS [  0.499 s]
[INFO] openHAB DSMR Binding ............................... SUCCESS [  1.107 s]
[INFO] openHAB RFXCOM Binding ............................. SUCCESS [  2.247 s]
[INFO] openHAB Samsung Air Conditioner Binding ............ SUCCESS [  0.905 s]
[INFO] openHAB Samsung AC Binding Tests ................... SUCCESS [  0.280 s]
[INFO] openHAB Samsung TV Binding ......................... SUCCESS [  0.749 s]
[INFO] openHAB Pulseaudio Binding ......................... SUCCESS [  0.640 s]
[INFO] openHAB Homematic Binding Tests .................... SUCCESS [  0.327 s]
[INFO] openHAB Koubachi Binding ........................... SUCCESS [  0.718 s]
[INFO] openHAB Onkyo Binding .............................. SUCCESS [  0.733 s]
[INFO] openHAB OpenPaths Binding .......................... SUCCESS [  0.515 s]
[INFO] openHAB Somfy URTSI II Binding ..................... SUCCESS [  0.468 s]
[INFO] openHAB OpenSprinkler Binding ...................... SUCCESS [  0.468 s]
[INFO] openHAB Epson projector Binding .................... SUCCESS [  0.858 s]
[INFO] openHAB ComfoAir Binding ........................... SUCCESS [  0.998 s]
[INFO] openHAB OWServer Binding ........................... SUCCESS [  0.437 s]
[INFO] openHAB DigitalSTROM Binding ....................... SUCCESS [  1.825 s]
[INFO] openHAB Squeezebox Binding ......................... SUCCESS [  0.406 s]
[INFO] openHAB MQTT Binding ............................... SUCCESS [  1.045 s]
[INFO] openHAB Mqttitude Binding .......................... SUCCESS [  0.484 s]
[INFO] openHAB Milight Binding ............................ SUCCESS [  0.515 s]
[INFO] openHAB Systeminfo Binding ......................... SUCCESS [  0.639 s]
[INFO] openHAB Piface Binding ............................. SUCCESS [  0.640 s]
[INFO] openHAB pilight Binding ............................ SUCCESS [  0.749 s]
[INFO] openHAB pilight Binding Tests ...................... SUCCESS [  0.327 s]
[INFO] openHAB Nibe heat pump Binding ..................... SUCCESS [  0.702 s]
[INFO] openHAB ZWave Binding .............................. SUCCESS [  8.955 s]
[INFO] openHAB Nikobus Binding ............................ SUCCESS [  0.592 s]
[INFO] openHAB Nikobus Binding Tests ...................... SUCCESS [  1.108 s]
[INFO] openHAB EnOcean Binding ............................ SUCCESS [  0.718 s]
[INFO] openHAB enocean Binding Tests ...................... SUCCESS [  0.546 s]
[INFO] openHAB CUL Transport .............................. SUCCESS [  0.421 s]
[INFO] openHAB EM Binding ................................. SUCCESS [  0.343 s]
[INFO] openHAB S300TH Binding ............................. SUCCESS [  0.328 s]
[INFO] openHAB Heatmiser Binding .......................... SUCCESS [  0.592 s]
[INFO] openHAB HMS Binding ................................ SUCCESS [  0.281 s]
[INFO] openHAB Swegon ventilation Binding ................. SUCCESS [  0.421 s]
[INFO] openHAB MaxCube Binding ............................ SUCCESS [  0.749 s]
[INFO] openHAB MAX!Cube Binding Tests ..................... SUCCESS [  0.250 s]
[INFO] openHAB TiVo Binding ............................... SUCCESS [  0.281 s]
[INFO] openHAB Tellstick Binding .......................... SUCCESS [  1.528 s]
[INFO] openHAB InsteonHub Binding ......................... SUCCESS [  1.046 s]
[INFO] openHAB Insteon PLM Binding ........................ SUCCESS [  3.323 s]
[INFO] openHAB Pioneer AVR Binding ........................ SUCCESS [  0.670 s]
[INFO] openHAB EM Binding Tests ........................... SUCCESS [  0.203 s]
[INFO] openHAB S300TH Binding Tests ....................... SUCCESS [  0.187 s]
[INFO] openHAB FHT Binding ................................ SUCCESS [  0.687 s]
[INFO] openHAB FS20 Binding ............................... SUCCESS [  0.468 s]
[INFO] openHAB CULIntertechno Binding ..................... SUCCESS [  0.483 s]
[INFO] openHAB Open Energy Monitor Binding ................ SUCCESS [  0.687 s]
[INFO] openHAB Netatmo Binding ............................ SUCCESS [  1.466 s]
[INFO] openHAB Netatmo Binding Tests ...................... SUCCESS [  0.484 s]
[INFO] openHAB HDanywhere Binding ......................... SUCCESS [  3.822 s]
[INFO] openHAB OmniLink Binding ........................... SUCCESS [  0.827 s]
[INFO] openHAB Freeswitch Binding ......................... SUCCESS [  0.577 s]
[INFO] openHAB neohub Binding ............................. SUCCESS [  0.530 s]
[INFO] openHAB GPIO IO Module ............................. SUCCESS [  0.499 s]
[INFO] openHAB GPIO Binding ............................... SUCCESS [  0.312 s]
[INFO] openHAB IrTrans Binding ............................ SUCCESS [  0.422 s]
[INFO] openHAB k8055 Binding .............................. SUCCESS [  0.405 s]
[INFO] openHAB Withings Binding ........................... SUCCESS [  0.499 s]
[INFO] openHAB RME Binding ................................ SUCCESS [  0.297 s]
[INFO] openHAB IEC 62056-21 Meter Binding ................. SUCCESS [  0.359 s]
[INFO] openHAB Freebox Binding ............................ SUCCESS [  0.717 s]
[INFO] openHAB XBMC Binding ............................... SUCCESS [  0.999 s]
[INFO] openHAB Daikin Binding ............................. SUCCESS [  0.296 s]
[INFO] openHAB JointSpace Binding ......................... SUCCESS [  0.296 s]
[INFO] openHAB Oceanic Binding ............................ SUCCESS [  0.468 s]
[INFO] openHAB EcoTouch Binding ........................... SUCCESS [  0.718 s]
[INFO] openHAB YamahaReceiver Binding ..................... SUCCESS [  0.296 s]
[INFO] openHAB Energenie Binding .......................... SUCCESS [  0.312 s]
[INFO] openHAB MaxCul Binding ............................. SUCCESS [  0.827 s]
[INFO] openHAB Wemo Binding ............................... SUCCESS [  0.328 s]
[INFO] openHAB eKey Binding ............................... SUCCESS [  0.249 s]
[INFO] openHAB AlarmDecoder Binding ....................... SUCCESS [  0.406 s]
[INFO] openHAB Davis Binding .............................. SUCCESS [  1.045 s]
[INFO] openHAB xPL Binding ................................ SUCCESS [  0.219 s]
[INFO] openHAB BenqProjector Binding ...................... SUCCESS [  0.296 s]
[INFO] openHAB Libelium eHealth Binding ................... SUCCESS [  0.343 s]
[INFO] openHAB Anel Binding ............................... SUCCESS [  0.468 s]
[INFO] openHAB Enigma2 Binding ............................ SUCCESS [  0.343 s]
[INFO] openHAB Enigma2 Binding Tests ...................... SUCCESS [  0.172 s]
[INFO] openHAB BTicino Binding ............................ SUCCESS [  0.577 s]
[INFO] openHAB CalDAV IO .................................. SUCCESS [  0.780 s]
[INFO] openHAB CalDAV-Command Binding ..................... SUCCESS [  0.375 s]
[INFO] openHAB CalDAV-Personal Binding .................... SUCCESS [  0.296 s]
[INFO] openHAB eBus Binding ............................... SUCCESS [  1.014 s]
[INFO] openHAB zibase Binding ............................. SUCCESS [  0.437 s]
[INFO] openHAB Wago Binding ............................... SUCCESS [  0.312 s]
[INFO] openHAB NetworkUpsTools Binding .................... SUCCESS [  0.281 s]
[INFO] openHAB Autelis Binding ............................ SUCCESS [  0.265 s]
[INFO] openHAB Nest Binding ............................... SUCCESS [  0.873 s]
[INFO] openHAB Satel Binding .............................. SUCCESS [  1.014 s]
[INFO] openHAB HarmonyHub Binding ......................... SUCCESS [  0.344 s]
[INFO] openHAB Plex Binding ............................... SUCCESS [  0.982 s]
[INFO] openHAB Mochad X10 Binding ......................... SUCCESS [  0.375 s]
[INFO] openHAB Denon Binding .............................. SUCCESS [  0.842 s]
[INFO] openHAB MailControl Binding ........................ SUCCESS [  0.593 s]
[INFO] openHAB Primare Binding ............................ SUCCESS [  0.702 s]
[INFO] openHAB FrontierSiliconRadio Binding ............... SUCCESS [  0.468 s]
[INFO] openHAB PanasonicTV Binding ........................ SUCCESS [  0.218 s]
[INFO] openHAB Enphase Energy Binding ..................... SUCCESS [  0.359 s]
[INFO] openHAB LightwaveRf Binding ........................ SUCCESS [  0.936 s]
[INFO] openHAB LightwaveRf Binding Tests .................. SUCCESS [  0.577 s]
[INFO] Souliss - Arduino based SmartHome - openHAB Binding  FAILURE [  0.765 s]
[INFO] openHAB Ipx800 Binding ............................. SUCCESS [  0.827 s]
[INFO] openHAB TACmi Binding .............................. SUCCESS [  0.561 s]
[INFO] openHAB RWE Smarthome Binding ...................... SUCCESS [  0.796 s]
[INFO] openHAB LCN Binding ................................ FAILURE [  1.170 s]
[INFO] openHAB Sapp Binding ............................... SUCCESS [  0.858 s]
[INFO] openHAB UCProjects.eu RelayBoard Binding ........... SUCCESS [  0.312 s]
[INFO] openHAB Raspberry Pi RC Switch Binding ............. SUCCESS [  0.296 s]
[INFO] openHAB myq Binding ................................ SUCCESS [  0.406 s]
[INFO] openHAB PanStamp Binding ........................... SUCCESS [  0.405 s]
[INFO] openHAB octoller Binding ........................... SUCCESS [  0.250 s]
[INFO] openHAB AKM868 Binding ............................. SUCCESS [  0.312 s]
[INFO] openHAB Sonance Binding ............................ SUCCESS [  0.281 s]
[INFO] openHAB Stiebel heat pump Binding .................. SUCCESS [  0.639 s]
[INFO] openHAB Stiebel Heat Pump Binding Tests ............ SUCCESS [  0.500 s]
[INFO] openHAB Sallegra Binding ........................... SUCCESS [  0.265 s]
[INFO] openHAB Dropbox Connector .......................... SUCCESS [  0.390 s]
[INFO] openHAB Google Calendar ............................ SUCCESS [  0.421 s]
[INFO] openHAB Google Calendar Tests ...................... SUCCESS [  0.249 s]
[INFO] openHAB Multimedia FreeTTS ......................... SUCCESS [  0.889 s]
[INFO] openHAB Multimedia GoogleTTS ....................... SUCCESS [  0.266 s]
[INFO] openHAB Multimedia GoogleTTS Tests ................. SUCCESS [  0.187 s]
[INFO] openHAB Multimedia MacinTalk ....................... SUCCESS [  0.171 s]
[INFO] openHAB Multimedia MaryTTS ......................... SUCCESS [ 25.896 s]
[INFO] openHAB Multimedia SpeechDispatcher ................ SUCCESS [  0.203 s]
[INFO] openHAB CUL I/O Tests .............................. SUCCESS [  0.141 s]
[INFO] openHAB Persistence Components ..................... SUCCESS [  0.000 s]
[INFO] openHAB calDAV Persistence ......................... SUCCESS [  0.265 s]
[INFO] openHAB db4o Persistence ........................... SUCCESS [  0.530 s]
[INFO] openHAB db4o Persistence Tests ..................... SUCCESS [  0.156 s]
[INFO] openHAB Logging Persistence ........................ SUCCESS [  0.187 s]
[INFO] openHAB Open.Sen.se Persistence .................... SUCCESS [  0.203 s]
[INFO] openHAB Exec Persistence ........................... SUCCESS [  0.156 s]
[INFO] openHAB Exec Persistence Tests ..................... SUCCESS [  0.141 s]
[INFO] openHAB mySQL Persistence .......................... SUCCESS [  0.296 s]
[INFO] openHAB Cosm Persistence ........................... SUCCESS [  0.203 s]
[INFO] openHAB Google Calendar Persistence ................ SUCCESS [  0.234 s]
[INFO] openHAB MQTT Persistence ........................... SUCCESS [  0.171 s]
[INFO] openHAB mongodb Persistence ........................ SUCCESS [  0.266 s]
[INFO] openHAB InfluxDB 0.8 Persistence ................... SUCCESS [  0.561 s]
[INFO] openHAB InfluxDB Persistence ....................... SUCCESS [  0.484 s]
[INFO] openHAB JPA Persistence ............................ SUCCESS [  2.511 s]
[INFO] openHAB JDBC SQL Persistence ....................... SUCCESS [  3.136 s]
[INFO] openHAB MapDB Persistence .......................... SUCCESS [  0.390 s]
[INFO] openHAB SiteWhere Persistence ...................... SUCCESS [  0.749 s]
[INFO] openHAB Features ................................... SUCCESS [  0.000 s]
[INFO] openHAB Feature Addons External .................... SUCCESS [  0.156 s]
[INFO] openHAB Feature Addons ............................. SUCCESS [  1.092 s]
[INFO] openHAB 2 Feature Verification ..................... SUCCESS [03:31 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:37 min
[INFO] Finished at: 2016-01-26T23:38:21+01:00
[INFO] Final Memory: 146M/476M
[INFO] ------------------------------------------------------------------------

So here are the bindings that failed to build:

  • openHAB KNX Binding
  • openHAB NetworkHealth Binding
  • openHAB Exec Binding
  • openHAB HTTP Binding
  • Souliss - Arduino based SmartHome - openHAB Binding
  • openHAB LCN Binding

And the errors are the following:

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.24.0:compile (default-compile) on project org.openhab.binding.knx: Compilation failure: Compilation failure:
[ERROR] C:\Data\Dev\openHAB2\openhab2-master\git\openhab\bundles\binding\org.openhab.binding.knx\src\main\java\org\openhab\binding\knx\internal\dpt\KNXCoreTypeMapper.java:[434]
[ERROR] value = new SimpleDateFormat(DateTimeType.DATE_PATTERN).format(cal.getTime());
[ERROR] ^^^^^^^^^^^^
[ERROR] DATE_PATTERN cannot be resolved or is not a field
[ERROR] C:\Data\Dev\openHAB2\openhab2-master\git\openhab\bundles\binding\org.openhab.binding.knx\src\main\java\org\openhab\binding\knx\internal\dpt\KNXCoreTypeMapper.java:[443]
[ERROR] value = new SimpleDateFormat(DateTimeType.DATE_PATTERN).format(cal.getTime());
[ERROR] ^^^^^^^^^^^^
[ERROR] DATE_PATTERN cannot be resolved or is not a field
[ERROR] C:\Data\Dev\openHAB2\openhab2-master\git\openhab\bundles\binding\org.openhab.binding.knx\src\main\java\org\openhab\binding\knx\internal\dpt\KNXCoreTypeMapper.java:[449]
[ERROR] value = new SimpleDateFormat(DateTimeType.DATE_PATTERN).format(cal.getTime());
[ERROR] ^^^^^^^^^^^^
[ERROR] DATE_PATTERN cannot be resolved or is not a field
[ERROR] C:\Data\Dev\openHAB2\openhab2-master\git\openhab\bundles\binding\org.openhab.binding.knx\src\main\java\org\openhab\binding\knx\internal\dpt\KNXCoreTypeMapper.java:[560]
[ERROR] return date != null ? new SimpleDateFormat(DateTimeType.DATE_PATTERN).format(date) : "";
[ERROR] ^^^^^^^^^^^^
[ERROR] DATE_PATTERN cannot be resolved or is not a field
[ERROR] 4 problems (4 errors)
[ERROR] -> [Help 1]
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.24.0:compile (default-compile) on project org.openhab.binding.networkhealth: Compilation failure: Compilation failure:
[ERROR] C:\Data\Dev\openHAB2\openhab2-master\git\openhab\bundles\binding\org.openhab.binding.networkhealth\src\main\java\org\openhab\binding\networkhealth\internal\NetworkHealthBinding.java:[64]
[ERROR] protected void addBindingProvider(NetworkHealthBindingProvider bindingProvider) {
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] Cannot reduce the visibility of the inherited method from AbstractActiveBinding<NetworkHealthBindingProvider>
[ERROR] C:\Data\Dev\openHAB2\openhab2-master\git\openhab\bundles\binding\org.openhab.binding.networkhealth\src\main\java\org\openhab\binding\networkhealth\internal\NetworkHealthBinding.java:[68]
[ERROR] protected void removeBindingProvider(NetworkHealthBindingProvider bindingProvider) {
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] Cannot reduce the visibility of the inherited method from AbstractActiveBinding<NetworkHealthBindingProvider>
[ERROR] 2 problems (2 errors)
[ERROR] -> [Help 1]
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.24.0:compile (default-compile) on project org.openhab.binding.exec: Compilation failure: Compilation failure:
[ERROR] C:\Data\Dev\openHAB2\openhab2-master\git\openhab\bundles\binding\org.openhab.binding.exec\src\main\java\org\openhab\binding\exec\internal\ExecBinding.java:[390]
[ERROR] public void addBindingProvider(BindingProvider provider) {
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] Name clash: The method addBindingProvider(BindingProvider) of type ExecBinding has the same erasure as addBindingProvider(P) of type AbstractActiveBinding<P> but does not override it
[ERROR] C:\Data\Dev\openHAB2\openhab2-master\git\openhab\bundles\binding\org.openhab.binding.exec\src\main\java\org\openhab\binding\exec\internal\ExecBinding.java:[390]
[ERROR] public void addBindingProvider(BindingProvider provider) {
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The method addBindingProvider(BindingProvider) of type ExecBinding must override or implement a supertype method
[ERROR] C:\Data\Dev\openHAB2\openhab2-master\git\openhab\bundles\binding\org.openhab.binding.exec\src\main\java\org\openhab\binding\exec\internal\ExecBinding.java:[391]
[ERROR] super.addBindingProvider(provider);
[ERROR] ^^^^^^^^^^^^^^^^^^
[ERROR] The method addBindingProvider(ExecBindingProvider) in the type AbstractActiveBinding<ExecBindingProvider> is not applicable for the arguments (BindingProvider)
[ERROR] 3 problems (3 errors)
[ERROR] -> [Help 1]
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.24.0:compile (default-compile) on project org.openhab.binding.http: Compilation failure: Compilation failure:
[ERROR] C:\Data\Dev\openHAB2\openhab2-master\git\openhab\bundles\binding\org.openhab.binding.http\src\main\java\org\openhab\binding\http\internal\HttpBinding.java:[110]
[ERROR] protected void addBindingProvider(HttpBindingProvider bindingProvider) {
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] Cannot reduce the visibility of the inherited method from AbstractActiveBinding<HttpBindingProvider>
[ERROR] C:\Data\Dev\openHAB2\openhab2-master\git\openhab\bundles\binding\org.openhab.binding.http\src\main\java\org\openhab\binding\http\internal\HttpBinding.java:[114]
[ERROR] protected void removeBindingProvider(HttpBindingProvider bindingProvider) {
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] Cannot reduce the visibility of the inherited method from AbstractActiveBinding<HttpBindingProvider>
[ERROR] 2 problems (2 errors)
[ERROR] -> [Help 1]
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.24.0:compile (default-compile) on project org.openhab.binding.souliss: Compilation failure: Compilation failure:
[ERROR] C:\Data\Dev\openHAB2\openhab2-master\git\openhab\bundles\binding\org.openhab.binding.souliss\src\main\java\org\openhab\binding\souliss\internal\SoulissBinding.java:[394]
[ERROR] this.addBindingProvider(provider);
[ERROR] ^^^^^^^^^^^^^^^^^^
[ERROR] The method addBindingProvider(SoulissBindingProvider) in the type AbstractActiveBinding<SoulissBindingProvider> is not applicable for the arguments (BindingProvider)
[ERROR] 1 problem (1 error)
[ERROR] -> [Help 1]
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.24.0:compile (default-compile) on project org.openhab.binding.lcn: Compilation failure: Compilation failure:
[ERROR] C:\Data\Dev\openHAB2\openhab2-master\git\openhab\bundles\binding\org.openhab.binding.lcn\src\main\java\org\openhab\binding\lcn\internal\LcnBinding.java:[211]
[ERROR] public void addBindingProvider(BindingProvider provider) {
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] Name clash: The method addBindingProvider(BindingProvider) of type LcnBinding<P> has the same erasure as addBindingProvider(P) of type AbstractBinding<P> but does not override it
[ERROR] C:\Data\Dev\openHAB2\openhab2-master\git\openhab\bundles\binding\org.openhab.binding.lcn\src\main\java\org\openhab\binding\lcn\internal\LcnBinding.java:[211]
[ERROR] public void addBindingProvider(BindingProvider provider) {
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The method addBindingProvider(BindingProvider) of type LcnBinding<P> must override or implement a supertype method
[ERROR] C:\Data\Dev\openHAB2\openhab2-master\git\openhab\bundles\binding\org.openhab.binding.lcn\src\main\java\org\openhab\binding\lcn\internal\LcnBinding.java:[212]
[ERROR] super.addBindingProvider(provider);
[ERROR] ^^^^^^^^^^^^^^^^^^
[ERROR] The method addBindingProvider(P) in the type AbstractBinding<P> is not applicable for the arguments (BindingProvider)
[ERROR] C:\Data\Dev\openHAB2\openhab2-master\git\openhab\bundles\binding\org.openhab.binding.lcn\src\main\java\org\openhab\binding\lcn\internal\LcnBinding.java:[218]
[ERROR] public void removeBindingProvider(BindingProvider provider) {
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] Name clash: The method removeBindingProvider(BindingProvider) of type LcnBinding<P> has the same erasure as removeBindingProvider(P) of type AbstractBinding<P> but does not override it
[ERROR] C:\Data\Dev\openHAB2\openhab2-master\git\openhab\bundles\binding\org.openhab.binding.lcn\src\main\java\org\openhab\binding\lcn\internal\LcnBinding.java:[218]
[ERROR] public void removeBindingProvider(BindingProvider provider) {
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The method removeBindingProvider(BindingProvider) of type LcnBinding<P> must override or implement a supertype method
[ERROR] C:\Data\Dev\openHAB2\openhab2-master\git\openhab\bundles\binding\org.openhab.binding.lcn\src\main\java\org\openhab\binding\lcn\internal\LcnBinding.java:[219]
[ERROR] super.removeBindingProvider(provider);
[ERROR] ^^^^^^^^^^^^^^^^^^^^^
[ERROR] The method removeBindingProvider(P) in the type AbstractBinding<P> is not applicable for the arguments (BindingProvider)
[ERROR] 6 problems (6 errors)

Of course, a “git pull” was run few minutes before.

Looks like most of my errors are relative to recent changes with addBindingProvider and removeBindingProvider ?

Your Java version is OK. Are you building using mvn clean install -U ?

Thank you for your answer.
I was not using -U option. I will try again this evening with this option.

-U forces an updated of the files cached in your local maven repo. You normally don’t have to use it, but it can help if something has gotten out of date.
Alternatively, you could try deleting the whole repo cache (~/.m2/repository) and building then.

I got the Error on the Exec Binding.

[INFO] openHAB Wake-on-LAN binding … SUCCESS [ 0.176 s]
[INFO] openHAB NetworkHealth Binding … SUCCESS [ 0.180 s]
[INFO] openHAB Exec Binding … FAILURE [ 0.052 s]
[INFO] openHAB Exec Binding Tests … SKIPPED
[INFO] openHAB HTTP Binding … SKIPPED
[INFO] openHAB HTTP Binding Tests … SKIPPED
[INFO] openHAB Hue Binding … SKIPPED
[INFO] openHAB Fritzbox Binding … SKIPPED
[INFO] openHAB NTP Binding … SKIPPED
[INFO] openHAB MPD Binding … SKIPPED
[INFO] openHAB MyStromEcoPower Binding … SKIPPED
[INFO] openHAB VDR Binding … SKIPPED
[INFO] openHAB Asterisk Binding … SKIPPED
[INFO] openHAB SNMP Binding … SKIPPED
[INFO] openHAB Sonos Binding … SKIPPED
[INFO] openHAB ConfigAdmin Binding … SKIPPED
[INFO] openHAB Novelan Heatpump Binding … SKIPPED
[INFO] openHAB Cups Binding … SKIPPED
[INFO] openHAB IHC / ELKO LS Binding … SKIPPED
[INFO] openHAB TCP/UDP Binding … SKIPPED
[INFO] openHAB Plugwise Binding … SKIPPED
[INFO] openHAB Modbus Binding … SKIPPED
[INFO] openHAB PLCBus Binding … SKIPPED
[INFO] openHAB DMX Binding … SKIPPED
[INFO] openHAB OLA inteface for DMX Binding … SKIPPED
[INFO] openHAB lib485 interface for DMX Binding … SKIPPED

See this.

Thank you, watou.

Deleting the .m2 dir does the Trick.
Info:
I use apache-maven-3.3.9 and java 8, that works for me.

Previously, the * .jar files were all in a .zip file.
Now I have to search them in .m2\repository\org\openhab\binding?

Regards Peter

The master branch of the openhab repository no longer builds a full openHAB distribution. If you are building for your own testing, you can look in a project’s target directory to find the JAR. Is this what you mean?

Yes, that’s what I mean.

I compiled every week the current Master .
After that I had all the addons and the core each in a Zip File.
And I could copy it over my old installation and finish.

You can still build a full OH1 distro as before from the 1.8 branch of the openhab repo, but the code has diverged between master and 1.8 (more fixes on master; currently heading towards a 1.8.1 maintenance release with fixes since 1.8.0 but not new features).

Is there the possibility to build a full OH1 distro from the Master?
The daily improvements I would like to take.

Not that I’m aware of.

Hm, if no one can make a full distro from the master, no one can test it.

Suppressing the directory .m2/repository fixed my problem.
Thank you.