Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse SmartHome » Build fails on Win10/x64 with Maven 3.50
Build fails on Win10/x64 with Maven 3.50 [message #1769821] Thu, 03 August 2017 16:54 Go to next message
Jan N. Klug is currently offline Jan N. KlugFriend
Messages: 4
Registered: December 2016
Junior Member
On my freshly installed notebook I fail to build latest ESH.

C:\Users\Jan>mvn -v
Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T21:39:06+02:00)
Maven home: C:\Program Files\apache-maven-3.5.0\bin\..
Java version: 1.8.0_141, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_141\jre
Default locale: de_DE, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"


The only failing Test is:

-------------------------------------------------------------------------------
Test set: org.eclipse.smarthome.core.scheduler.CronExpressionTest
-------------------------------------------------------------------------------
Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.844 sec <<< FAILURE! - in org.eclipse.smarthome.core.scheduler.CronExpressionTest
dayOfWeekAndMonth(org.eclipse.smarthome.core.scheduler.CronExpressionTest)  Time elapsed: 0 sec
findNext(org.eclipse.smarthome.core.scheduler.CronExpressionTest)  Time elapsed: 1.797 sec  <<< FAILURE!
java.lang.AssertionError:   Cannot find a time after '2017-12-31 00:01:01.000' for expression '0 0 0 ? * *'
	at org.junit.Assert.fail(Assert.java:88)
	at org.eclipse.smarthome.core.scheduler.CronExpressionTest.findNext(CronExpressionTest.java:115)

getTimeAfterCheck(org.eclipse.smarthome.core.scheduler.CronExpressionTest)  Time elapsed: 0.031 sec
getFinalTimeCheck(org.eclipse.smarthome.core.scheduler.CronExpressionTest)  Time elapsed: 0 sec
garbageString(org.eclipse.smarthome.core.scheduler.CronExpressionTest)  Time elapsed: 0 sec


This is constantly failing, all others work well (confirmed with -fae).

Any suggestions?

Regards,

Jan
Re: Build fails on Win10/x64 with Maven 3.50 [message #1769826 is a reply to message #1769821] Thu, 03 August 2017 18:12 Go to previous messageGo to next message
Kai Kreuzer is currently offline Kai KreuzerFriend
Messages: 658
Registered: December 2011
Senior Member
See https://github.com/eclipse/smarthome/pull/3944
Re: Build fails on Win10/x64 with Maven 3.50 [message #1769913 is a reply to message #1769826] Sat, 05 August 2017 14:03 Go to previous message
Jan N. Klug is currently offline Jan N. KlugFriend
Messages: 4
Registered: December 2016
Junior Member
Thanks. Working now. Somehow I didn't find that issue while looking through recent problems. GitHub
Previous Topic:Build error
Next Topic:Use org.openhab.persistence.mapdb binding in eclipse smart home.
Goto Forum:
  


Current Time: Wed Sep 26 03:30:57 GMT 2018

Powered by FUDForum. Page generated in 0.02065 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top