[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.293 sec <<< FAILURE! - in org.joda.time.TestAllPackages
testPropertyAddMonth(org.joda.time.TestYearMonthDay_Properties)  Time elapsed: 0.007 sec  <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1
	at org.joda.time.YearMonthDay.getFieldType(YearMonthDay.java:351)
	at org.joda.time.chrono.BasicMonthOfYearDateTimeField.add(BasicMonthOfYearDateTimeField.java:76)
	at org.joda.time.YearMonthDay$Property.addToCopy(YearMonthDay.java:1011)
	at org.joda.time.TestYearMonthDay_Properties.testPropertyAddMonth(TestYearMonthDay_Properties.java:227)

testPropertyAddDay(org.joda.time.TestYearMonthDay_Properties)  Time elapsed: 0 sec  <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1
	at org.joda.time.YearMonthDay.getFieldType(YearMonthDay.java:351)
	at org.joda.time.chrono.BasicMonthOfYearDateTimeField.add(BasicMonthOfYearDateTimeField.java:76)
	at org.joda.time.field.BaseDateTimeField.add(BaseDateTimeField.java:324)
	at org.joda.time.YearMonthDay$Property.addToCopy(YearMonthDay.java:1011)
	at org.joda.time.TestYearMonthDay_Properties.testPropertyAddDay(TestYearMonthDay_Properties.java:382)

testPropertyAddMonth(org.joda.time.TestYearMonth_Properties)  Time elapsed: 0.001 sec  <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1
	at org.joda.time.YearMonth.getFieldType(YearMonth.java:418)
	at org.joda.time.chrono.BasicMonthOfYearDateTimeField.add(BasicMonthOfYearDateTimeField.java:76)
	at org.joda.time.YearMonth$Property.addToCopy(YearMonth.java:914)
	at org.joda.time.TestYearMonth_Properties.testPropertyAddMonth(TestYearMonth_Properties.java:226)

testAddMonths(org.joda.time.chrono.TestISOChronology)  Time elapsed: 0.001 sec  <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException


Results :

Tests in error: 
  org.joda.time.TestYearMonthDay_Properties#testPropertyAddDay ArrayIndexOutOfBoundsException
  org.joda.time.TestYearMonthDay_Properties#testPropertyAddMonth ArrayIndexOutOfBoundsException
  org.joda.time.TestYearMonth_Properties#testPropertyAddMonth ArrayIndexOutOfBoundsException
  org.joda.time.chrono.TestISOChronology#testAddMonths ArrayIndexOutOfBoundsException

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

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.418s
[INFO] Finished at: Wed Aug 05 23:22:02 BST 2015
[INFO] Final Memory: 9M/213M
[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
