[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: 0, Errors: 4, Skipped: 0, Time elapsed: 5.467 sec <<< FAILURE! - in org.joda.time.TestAllPackages
testGetFieldTypes(org.joda.time.TestLocalDateTime_Basics)  Time elapsed: 0.004 sec  <<< ERROR!
java.lang.IndexOutOfBoundsException: Invalid index: -1
	at org.joda.time.LocalDateTime.getField(LocalDateTime.java:562)
	at org.joda.time.base.AbstractPartial.getFieldType(AbstractPartial.java:21)
	at org.joda.time.base.AbstractPartial.getFieldTypes(AbstractPartial.java:25)
	at org.joda.time.TestLocalDateTime_Basics.testGetFieldTypes(TestLocalDateTime_Basics.java:177)

testGetFieldTypes(org.joda.time.TestLocalDate_Basics)  Time elapsed: 0 sec  <<< ERROR!
java.lang.IndexOutOfBoundsException: Invalid index: -1
	at org.joda.time.LocalDate.getField(LocalDate.java:507)
	at org.joda.time.base.AbstractPartial.getFieldType(AbstractPartial.java:21)
	at org.joda.time.base.AbstractPartial.getFieldTypes(AbstractPartial.java:25)
	at org.joda.time.TestLocalDate_Basics.testGetFieldTypes(TestLocalDate_Basics.java:160)

testGetFieldTypes(org.joda.time.TestLocalTime_Basics)  Time elapsed: 0 sec  <<< ERROR!
java.lang.IndexOutOfBoundsException: Invalid index: -1
	at org.joda.time.LocalTime.getField(LocalTime.java:558)
	at org.joda.time.base.AbstractPartial.getFieldType(AbstractPartial.java:21)
	at org.joda.time.base.AbstractPartial.getFieldTypes(AbstractPartial.java:25)
	at org.joda.time.TestLocalTime_Basics.testGetFieldTypes(TestLocalTime_Basics.java:153)

testGetFieldTypes(org.joda.time.TestAbstractPartial)  Time elapsed: 0.001 sec  <<< ERROR!
java.lang.IndexOutOfBoundsException
	at org.joda.time.TestAbstractPartial$MockPartial.getField(TestAbstractPartial.java:164)
	at org.joda.time.base.AbstractPartial.getFieldType(AbstractPartial.java:21)
	at org.joda.time.base.AbstractPartial.getFieldTypes(AbstractPartial.java:25)
	at org.joda.time.TestAbstractPartial.testGetFieldTypes(TestAbstractPartial.java:130)


Results :

Tests in error: 
  org.joda.time.TestAbstractPartial#testGetFieldTypes IndexOutOfBoundsException
  org.joda.time.TestLocalDateTime_Basics#testGetFieldTypes IndexOutOfBoundsException
  org.joda.time.TestLocalDate_Basics#testGetFieldTypes IndexOutOfBoundsException
  org.joda.time.TestLocalTime_Basics#testGetFieldTypes IndexOutOfBoundsException

Tests run: 4157, Failures: 0, Errors: 4, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16.184s
[INFO] Finished at: Wed Aug 05 20:42:16 BST 2015
[INFO] Final Memory: 10M/338M
[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
