[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Joda-Time 2.8.1
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ joda-time ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources to META-INF
[INFO] Copying 10 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ joda-time ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 166 source files to /home/perham/Study/LittleDarwin/Cases/joda-time-2.8.1/target/classes
[INFO] 
[INFO] --- exec-maven-plugin:1.4.0:java (compile-tzdb) @ joda-time ---
Writing zoneinfo files
Writing ZoneInfoMap
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ joda-time ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 34 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ joda-time ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ joda-time ---
[INFO] Surefire report directory: /home/perham/Study/LittleDarwin/Cases/joda-time-2.8.1/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.joda.time.TestAllPackages

TestBuddhistChronology.testCalendar

TestCopticChronology.testCalendar

TestEthiopicChronology.testCalendar

TestIslamicChronology.testCalendar

Testing Gregorian chronology over 1000 iterations
100% complete (i=1000)

Testing Julian chronology over 1000 iterations
100% complete (i=1000)
Writing zoneinfo files
Writing ZoneInfoMap
Tests run: 4157, Failures: 5, Errors: 3, Skipped: 0, Time elapsed: 5.17 sec <<< FAILURE! - in org.joda.time.TestAllPackages
testWithFieldAdded8(org.joda.time.TestTimeOfDay_Basics)  Time elapsed: 0.004 sec  <<< FAILURE!
junit.framework.AssertionFailedError: expected:<T23:59:59.999> but was:<T00:00:00.999>
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.failNotEquals(Assert.java:280)
	at junit.framework.Assert.assertEquals(Assert.java:64)
	at junit.framework.Assert.assertEquals(Assert.java:71)
	at org.joda.time.TestTimeOfDay_Basics.testWithFieldAdded8(TestTimeOfDay_Basics.java:471)

testPropertyAddMinute(org.joda.time.TestTimeOfDay_Properties)  Time elapsed: 0.001 sec  <<< FAILURE!
junit.framework.AssertionFailedError: expected:<9> but was:<10>
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.failNotEquals(Assert.java:280)
	at junit.framework.Assert.assertEquals(Assert.java:64)
	at junit.framework.Assert.assertEquals(Assert.java:198)
	at junit.framework.Assert.assertEquals(Assert.java:204)
	at org.joda.time.TestTimeOfDay_Properties.check(TestTimeOfDay_Properties.java:731)
	at org.joda.time.TestTimeOfDay_Properties.testPropertyAddMinute(TestTimeOfDay_Properties.java:290)

testPropertyAddSecond(org.joda.time.TestTimeOfDay_Properties)  Time elapsed: 0.007 sec  <<< FAILURE!
junit.framework.AssertionFailedError: expected:<19> but was:<20>
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.failNotEquals(Assert.java:280)
	at junit.framework.Assert.assertEquals(Assert.java:64)
	at junit.framework.Assert.assertEquals(Assert.java:198)
	at junit.framework.Assert.assertEquals(Assert.java:204)
	at org.joda.time.TestTimeOfDay_Properties.check(TestTimeOfDay_Properties.java:732)
	at org.joda.time.TestTimeOfDay_Properties.testPropertyAddSecond(TestTimeOfDay_Properties.java:459)

testPropertyAddHour(org.joda.time.TestTimeOfDay_Properties)  Time elapsed: 0 sec  <<< ERROR!
java.lang.IndexOutOfBoundsException: Invalid index: -1
	at org.joda.time.TimeOfDay.getField(TimeOfDay.java:452)
	at org.joda.time.base.AbstractPartial.getField(AbstractPartial.java:105)
	at org.joda.time.field.BaseDateTimeField.addWrapPartial(BaseDateTimeField.java:79)
	at org.joda.time.TimeOfDay$Property.addToCopy(TimeOfDay.java:1098)
	at org.joda.time.TestTimeOfDay_Properties.testPropertyAddHour(TestTimeOfDay_Properties.java:124)

testPropertyAddMilli(org.joda.time.TestTimeOfDay_Properties)  Time elapsed: 0.059 sec  <<< FAILURE!
junit.framework.AssertionFailedError: expected:<29> but was:<30>
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.failNotEquals(Assert.java:280)
	at junit.framework.Assert.assertEquals(Assert.java:64)
	at junit.framework.Assert.assertEquals(Assert.java:198)
	at junit.framework.Assert.assertEquals(Assert.java:204)
	at org.joda.time.TestTimeOfDay_Properties.check(TestTimeOfDay_Properties.java:733)
	at org.joda.time.TestTimeOfDay_Properties.testPropertyAddMilli(TestTimeOfDay_Properties.java:622)

testWithFieldAddWrapped8(org.joda.time.TestPartial_Basics)  Time elapsed: 0 sec  <<< FAILURE!
junit.framework.AssertionFailedError: 00:59 expected:<23> but was:<0>
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.failNotEquals(Assert.java:280)
	at junit.framework.Assert.assertEquals(Assert.java:64)
	at junit.framework.Assert.assertEquals(Assert.java:198)
	at org.joda.time.TestPartial_Basics.check(TestPartial_Basics.java:927)
	at org.joda.time.TestPartial_Basics.testWithFieldAddWrapped8(TestPartial_Basics.java:711)

testTimeOfDayAdd(org.joda.time.chrono.TestGJChronology)  Time elapsed: 0.001 sec  <<< ERROR!
java.lang.IndexOutOfBoundsException: Invalid index: -1
	at org.joda.time.TimeOfDay.getField(TimeOfDay.java:452)
	at org.joda.time.base.AbstractPartial.getField(AbstractPartial.java:105)
	at org.joda.time.field.BaseDateTimeField.addWrapPartial(BaseDateTimeField.java:79)
	at org.joda.time.TimeOfDay.withFieldAdded(TimeOfDay.java:558)
	at org.joda.time.TimeOfDay.minusHours(TimeOfDay.java:732)
	at org.joda.time.chrono.TestGJChronology.testTimeOfDayAdd(TestGJChronology.java:505)

testTimeOfDayAdd(org.joda.time.chrono.TestISOChronology)  Time elapsed: 0 sec  <<< ERROR!
java.lang.IndexOutOfBoundsException: Invalid index: -1
	at org.joda.time.TimeOfDay.getField(TimeOfDay.java:452)
	at org.joda.time.base.AbstractPartial.getField(AbstractPartial.java:105)
	at org.joda.time.field.BaseDateTimeField.addWrapPartial(BaseDateTimeField.java:79)
	at org.joda.time.TimeOfDay.withFieldAdded(TimeOfDay.java:558)
	at org.joda.time.TimeOfDay.minusHours(TimeOfDay.java:732)
	at org.joda.time.chrono.TestISOChronology.testTimeOfDayAdd(TestISOChronology.java:434)


Results :

Failed tests: 
  org.joda.time.TestPartial_Basics#testWithFieldAddWrapped8 AssertionFailedError
  org.joda.time.TestTimeOfDay_Basics#testWithFieldAdded8 AssertionFailedError ex...
  org.joda.time.TestTimeOfDay_Properties#testPropertyAddMilli AssertionFailedError
  org.joda.time.TestTimeOfDay_Properties#testPropertyAddMinute AssertionFailedError
  org.joda.time.TestTimeOfDay_Properties#testPropertyAddSecond AssertionFailedError
Tests in error: 
  org.joda.time.TestTimeOfDay_Properties#testPropertyAddHour IndexOutOfBoundsException
  org.joda.time.chrono.TestGJChronology#testTimeOfDayAdd IndexOutOfBoundsException
  org.joda.time.chrono.TestISOChronology#testTimeOfDayAdd IndexOutOfBoundsException

Tests run: 4157, Failures: 5, Errors: 3, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.498s
[INFO] Finished at: Thu Aug 06 04:04:53 BST 2015
[INFO] Final Memory: 8M/217M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project joda-time: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/perham/Study/LittleDarwin/Cases/joda-time-2.8.1/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
