I just did a clean clone of the git repository. The mvn clean install fails with the following error.
Is this going to be fixed soon? Is this a problem on my end? How can I exclude the calDAV project from build to work without it for now?
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.22.0:compile (default-compile) on project org.openhab.persistence.caldav: Compilation failure: Compilation failure:
[ERROR] /Users/Maniac/Development/Java/openhab/bundles/persistence/org.openhab.persistence.caldav/src/main/java/org/openhab/persistence/caldav/internal/CaldavPersistenceService.java:[177]
[ERROR] && calDavEvent.getEnd().toDate().before(filter.getBeginDate())) {
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] Access restriction: The method 'AbstractInstant.toDate()' is not API (restriction on classpath entry '/Users/Maniac/Development/Java/openhab/bundles/core/org.openhab.core.persistence/lib/joda-time-2.3.jar')
[ERROR] /Users/Maniac/Development/Java/openhab/bundles/persistence/org.openhab.persistence.caldav/src/main/java/org/openhab/persistence/caldav/internal/CaldavPersistenceService.java:[181]
[ERROR] && calDavEvent.getStart().toDate().after(filter.getEndDate())) {
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] Access restriction: The method 'AbstractInstant.toDate()' is not API (restriction on classpath entry '/Users/Maniac/Development/Java/openhab/bundles/core/org.openhab.core.persistence/lib/joda-time-2.3.jar')
[ERROR] /Users/Maniac/Development/Java/openhab/bundles/persistence/org.openhab.persistence.caldav/src/main/java/org/openhab/persistence/caldav/internal/CaldavPersistenceService.java:[196]
[ERROR] && eventContent.getTime().toDate().before(filter.getBeginDate())) {
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] Access restriction: The method 'AbstractInstant.toDate()' is not API (restriction on classpath entry '/Users/Maniac/Development/Java/openhab/bundles/core/org.openhab.core.persistence/lib/joda-time-2.3.jar')
[ERROR] /Users/Maniac/Development/Java/openhab/bundles/persistence/org.openhab.persistence.caldav/src/main/java/org/openhab/persistence/caldav/internal/CaldavPersistenceService.java:[200]
[ERROR] && eventContent.getTime().toDate().after(filter.getEndDate())) {
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] Access restriction: The method 'AbstractInstant.toDate()' is not API (restriction on classpath entry '/Users/Maniac/Development/Java/openhab/bundles/core/org.openhab.core.persistence/lib/joda-time-2.3.jar')
[ERROR] /Users/Maniac/Development/Java/openhab/bundles/persistence/org.openhab.persistence.caldav/src/main/java/org/openhab/persistence/caldav/internal/CaldavPersistenceService.java:[264]
[ERROR] final CaldavItem caldavItem = new CaldavItem(filter.getItemName(), eventState, eventContent.getTime().toDate());
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] Access restriction: The method 'AbstractInstant.toDate()' is not API (restriction on classpath entry '/Users/Maniac/Development/Java/openhab/bundles/core/org.openhab.core.persistence/lib/joda-time-2.3.jar')