[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Commons CLI 1.3.1
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven-3) @ commons-cli ---
[INFO] 
[INFO] --- build-helper-maven-plugin:1.8:parse-version (parse-version) @ commons-cli ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (javadoc.resources) @ commons-cli ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ commons-cli ---
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.3:create (default) @ commons-cli ---
[INFO] Executing: /bin/sh -c cd /home/perham/Study/LittleDarwin/Cases/commons-cli-1.3.1-src && svn --non-interactive info
[INFO] Working directory: /home/perham/Study/LittleDarwin/Cases/commons-cli-1.3.1-src
[INFO] Storing buildNumber: ?????? at timestamp: 1438481311889
[INFO] Executing: /bin/sh -c cd /home/perham/Study/LittleDarwin/Cases/commons-cli-1.3.1-src && svn --non-interactive info
[INFO] Working directory: /home/perham/Study/LittleDarwin/Cases/commons-cli-1.3.1-src
[INFO] Storing buildScmBranch: UNKNOWN_BRANCH
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ commons-cli ---
[INFO] Using 'iso-8859-1' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/perham/Study/LittleDarwin/Cases/commons-cli-1.3.1-src/src/main/resources
[INFO] Copying 2 resources to META-INF
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ commons-cli ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 23 source files to /home/perham/Study/LittleDarwin/Cases/commons-cli-1.3.1-src/target/classes
[INFO] /home/perham/Study/LittleDarwin/Cases/commons-cli-1.3.1-src/src/main/java/org/apache/commons/cli/Parser.java: Some input files use unchecked or unsafe operations.
[INFO] /home/perham/Study/LittleDarwin/Cases/commons-cli-1.3.1-src/src/main/java/org/apache/commons/cli/Parser.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-bundle-plugin:2.5.3:manifest (bundle-manifest) @ commons-cli ---
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.13:check (checkAPIcompatibility) @ commons-cli ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java15:1.0
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ commons-cli ---
[INFO] Using 'iso-8859-1' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 2 resources to META-INF
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ commons-cli ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.2.201409121644:prepare-agent (prepare-agent) @ commons-cli ---
[INFO] argLine set to -javaagent:/home/perham/.m2/repository/org/jacoco/org.jacoco.agent/0.7.2.201409121644/org.jacoco.agent-0.7.2.201409121644-runtime.jar=destfile=/home/perham/Study/LittleDarwin/Cases/commons-cli-1.3.1-src/target/jacoco.exec
[INFO] 
[INFO] --- maven-surefire-plugin:2.18:test (default-test) @ commons-cli ---
[INFO] Surefire report directory: /home/perham/Study/LittleDarwin/Cases/commons-cli-1.3.1-src/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.commons.cli.ArgumentIsOptionTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec - in org.apache.commons.cli.ArgumentIsOptionTest
Running org.apache.commons.cli.DefaultParserTest
Tests run: 58, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.125 sec - in org.apache.commons.cli.DefaultParserTest
Running org.apache.commons.cli.ValuesTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec - in org.apache.commons.cli.ValuesTest
Running org.apache.commons.cli.OptionsTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec - in org.apache.commons.cli.OptionsTest
Running org.apache.commons.cli.GnuParserTest
Tests run: 58, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 sec - in org.apache.commons.cli.GnuParserTest
Running org.apache.commons.cli.PatternOptionBuilderTest
Exception found converting v to desired type: Unable to parse the URL: foo://commons.apache.org
Exception found converting d to desired type: Unable to find the class: System.DateTime
Exception found converting x to desired type: For input string: "3,5"
Exception found converting i to desired type: java.lang.IllegalAccessException; Unable to create an instance of: java.util.Calendar
Exception found converting n to desired type: Unable to find the class: System.DateTime
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.184 sec - in org.apache.commons.cli.PatternOptionBuilderTest
Running org.apache.commons.cli.ApplicationTest
Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.034 sec <<< FAILURE! - in org.apache.commons.cli.ApplicationTest
testMan(org.apache.commons.cli.ApplicationTest)  Time elapsed: 0.033 sec  <<< ERROR!
java.lang.StringIndexOutOfBoundsException: String index out of range: 70
	at java.lang.String.charAt(String.java:658)
	at org.apache.commons.cli.HelpFormatter.findWrapPos(HelpFormatter.java:164)
	at org.apache.commons.cli.HelpFormatter.renderWrappedText(HelpFormatter.java:138)
	at org.apache.commons.cli.HelpFormatter.renderOptions(HelpFormatter.java:135)
	at org.apache.commons.cli.HelpFormatter.printOptions(HelpFormatter.java:104)
	at org.apache.commons.cli.HelpFormatter.printHelp(HelpFormatter.java:72)
	at org.apache.commons.cli.ApplicationTest.testMan(ApplicationTest.java:228)

Running org.apache.commons.cli.OptionTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.apache.commons.cli.OptionTest
Running org.apache.commons.cli.bug.BugCLI252Test
Tests run: 60, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 sec - in org.apache.commons.cli.bug.BugCLI252Test
Running org.apache.commons.cli.bug.BugCLI162Test
Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0 sec <<< FAILURE! - in org.apache.commons.cli.bug.BugCLI162Test
testInfiniteLoop(org.apache.commons.cli.bug.BugCLI162Test)  Time elapsed: 0 sec  <<< ERROR!
java.lang.StringIndexOutOfBoundsException: String index out of range: 24
	at java.lang.String.charAt(String.java:658)
	at org.apache.commons.cli.HelpFormatter.findWrapPos(HelpFormatter.java:164)
	at org.apache.commons.cli.HelpFormatter.renderWrappedText(HelpFormatter.java:145)
	at org.apache.commons.cli.HelpFormatter.renderOptions(HelpFormatter.java:135)
	at org.apache.commons.cli.HelpFormatter.printOptions(HelpFormatter.java:104)
	at org.apache.commons.cli.HelpFormatter.printHelp(HelpFormatter.java:72)
	at org.apache.commons.cli.HelpFormatter.printHelp(HelpFormatter.java:67)
	at org.apache.commons.cli.bug.BugCLI162Test.testInfiniteLoop(BugCLI162Test.java:54)

testLongLineChunkingIndentIgnored(org.apache.commons.cli.bug.BugCLI162Test)  Time elapsed: 0 sec  <<< ERROR!
java.lang.StringIndexOutOfBoundsException: String index out of range: 47
	at java.lang.String.charAt(String.java:658)
	at org.apache.commons.cli.HelpFormatter.findWrapPos(HelpFormatter.java:164)
	at org.apache.commons.cli.HelpFormatter.renderWrappedText(HelpFormatter.java:138)
	at org.apache.commons.cli.HelpFormatter.renderWrappedTextBlock(HelpFormatter.java:155)
	at org.apache.commons.cli.HelpFormatter.printWrapped(HelpFormatter.java:108)
	at org.apache.commons.cli.HelpFormatter.printUsage(HelpFormatter.java:102)
	at org.apache.commons.cli.HelpFormatter.printHelp(HelpFormatter.java:70)
	at org.apache.commons.cli.HelpFormatter.printHelp(HelpFormatter.java:67)
	at org.apache.commons.cli.bug.BugCLI162Test.testLongLineChunkingIndentIgnored(BugCLI162Test.java:350)

testLongLineChunking(org.apache.commons.cli.bug.BugCLI162Test)  Time elapsed: 0 sec  <<< ERROR!
java.lang.StringIndexOutOfBoundsException: String index out of range: 47
	at java.lang.String.charAt(String.java:658)
	at org.apache.commons.cli.HelpFormatter.findWrapPos(HelpFormatter.java:164)
	at org.apache.commons.cli.HelpFormatter.renderWrappedText(HelpFormatter.java:138)
	at org.apache.commons.cli.HelpFormatter.renderWrappedTextBlock(HelpFormatter.java:155)
	at org.apache.commons.cli.HelpFormatter.printWrapped(HelpFormatter.java:108)
	at org.apache.commons.cli.HelpFormatter.printUsage(HelpFormatter.java:102)
	at org.apache.commons.cli.HelpFormatter.printHelp(HelpFormatter.java:70)
	at org.apache.commons.cli.HelpFormatter.printHelp(HelpFormatter.java:67)
	at org.apache.commons.cli.bug.BugCLI162Test.testLongLineChunking(BugCLI162Test.java:321)

testPrintHelpLongLines(org.apache.commons.cli.bug.BugCLI162Test)  Time elapsed: 0 sec  <<< ERROR!
java.lang.StringIndexOutOfBoundsException: String index out of range: 75
	at java.lang.String.charAt(String.java:658)
	at org.apache.commons.cli.HelpFormatter.findWrapPos(HelpFormatter.java:164)
	at org.apache.commons.cli.HelpFormatter.renderWrappedText(HelpFormatter.java:145)
	at org.apache.commons.cli.HelpFormatter.renderOptions(HelpFormatter.java:135)
	at org.apache.commons.cli.HelpFormatter.printOptions(HelpFormatter.java:104)
	at org.apache.commons.cli.HelpFormatter.printHelp(HelpFormatter.java:72)
	at org.apache.commons.cli.HelpFormatter.printHelp(HelpFormatter.java:67)
	at org.apache.commons.cli.bug.BugCLI162Test.testPrintHelpLongLines(BugCLI162Test.java:252)

Running org.apache.commons.cli.bug.BugCLI71Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.commons.cli.bug.BugCLI71Test
Running org.apache.commons.cli.bug.BugCLI18Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.apache.commons.cli.bug.BugCLI18Test
Running org.apache.commons.cli.bug.BugCLI133Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.commons.cli.bug.BugCLI133Test
Running org.apache.commons.cli.bug.BugCLI13Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.commons.cli.bug.BugCLI13Test
Running org.apache.commons.cli.bug.BugCLI148Test
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.commons.cli.bug.BugCLI148Test
Running org.apache.commons.cli.bug.BugsTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in org.apache.commons.cli.bug.BugsTest
Running org.apache.commons.cli.HelpFormatterTest
Tests run: 25, Failures: 4, Errors: 3, Skipped: 0, Time elapsed: 0.002 sec <<< FAILURE! - in org.apache.commons.cli.HelpFormatterTest
testRenderWrappedTextSingleLine(org.apache.commons.cli.HelpFormatterTest)  Time elapsed: 0 sec  <<< ERROR!
java.lang.StringIndexOutOfBoundsException: String index out of range: 15
	at java.lang.String.charAt(String.java:658)
	at org.apache.commons.cli.HelpFormatter.findWrapPos(HelpFormatter.java:164)
	at org.apache.commons.cli.HelpFormatter.renderWrappedText(HelpFormatter.java:138)
	at org.apache.commons.cli.HelpFormatterTest.testRenderWrappedTextSingleLine(HelpFormatterTest.java:90)

testRenderWrappedTextSingleLinePadded(org.apache.commons.cli.HelpFormatterTest)  Time elapsed: 0 sec  <<< ERROR!
java.lang.StringIndexOutOfBoundsException: String index out of range: 15
	at java.lang.String.charAt(String.java:658)
	at org.apache.commons.cli.HelpFormatter.findWrapPos(HelpFormatter.java:164)
	at org.apache.commons.cli.HelpFormatter.renderWrappedText(HelpFormatter.java:138)
	at org.apache.commons.cli.HelpFormatterTest.testRenderWrappedTextSingleLinePadded(HelpFormatterTest.java:105)

testPrintOptions(org.apache.commons.cli.HelpFormatterTest)  Time elapsed: 0 sec  <<< FAILURE!
org.junit.ComparisonFailure: simple wrapped option expected:< -a   aaaa aaaa aaaa[
      aaaa] aaaa> but was:< -a   aaaa aaaa aaaa[ aaaa
     ] aaaa>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.apache.commons.cli.HelpFormatterTest.testPrintOptions(HelpFormatterTest.java:181)

testRenderWrappedTextWordCut(org.apache.commons.cli.HelpFormatterTest)  Time elapsed: 0 sec  <<< ERROR!
java.lang.StringIndexOutOfBoundsException: String index out of range: 12
	at java.lang.String.charAt(String.java:658)
	at org.apache.commons.cli.HelpFormatter.findWrapPos(HelpFormatter.java:164)
	at org.apache.commons.cli.HelpFormatter.renderWrappedText(HelpFormatter.java:138)
	at org.apache.commons.cli.HelpFormatterTest.testRenderWrappedTextWordCut(HelpFormatterTest.java:75)

testRenderWrappedTextSingleLinePadded2(org.apache.commons.cli.HelpFormatterTest)  Time elapsed: 0 sec  <<< FAILURE!
org.junit.ComparisonFailure: single line padded text 2 expected:<... is time duration of[
                        form DATE[-DATE] where DATE
                        has form] YYYY[MM[DD]]> but was:<... is time duration of[ form
                        DATE[-DATE] where DATE has form
                       ] YYYY[MM[DD]]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.apache.commons.cli.HelpFormatterTest.testRenderWrappedTextSingleLinePadded2(HelpFormatterTest.java:123)

testOptionWithoutShortFormat2(org.apache.commons.cli.HelpFormatterTest)  Time elapsed: 0 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<...rg>] [-n] [-r <arg>][
       [-s] <arg>] [-t] [-v]
he...> but was:<...rg>] [-n] [-r <arg>][ [-s
      ] <arg>] [-t] [-v]
he...>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at org.apache.commons.cli.HelpFormatterTest.testOptionWithoutShortFormat2(HelpFormatterTest.java:549)

testFindWrapPos(org.apache.commons.cli.HelpFormatterTest)  Time elapsed: 0 sec  <<< FAILURE!
java.lang.AssertionError: wrap position expected:<7> but was:<9>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:645)
	at org.apache.commons.cli.HelpFormatterTest.testFindWrapPos(HelpFormatterTest.java:44)

Running org.apache.commons.cli.OptionBuilderTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.commons.cli.OptionBuilderTest
Running org.apache.commons.cli.PosixParserTest
Tests run: 58, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec - in org.apache.commons.cli.PosixParserTest
Running org.apache.commons.cli.UtilTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.commons.cli.UtilTest
Running org.apache.commons.cli.OptionGroupTest
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec - in org.apache.commons.cli.OptionGroupTest
Running org.apache.commons.cli.CommandLineTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.apache.commons.cli.CommandLineTest
Running org.apache.commons.cli.BasicParserTest
Tests run: 58, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 sec - in org.apache.commons.cli.BasicParserTest
Running org.apache.commons.cli.ValueTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec - in org.apache.commons.cli.ValueTest

Results :

Failed tests: 
  HelpFormatterTest.testFindWrapPos:44 wrap position expected:<7> but was:<9>
  HelpFormatterTest.testOptionWithoutShortFormat2:549 expected:<...rg>] [-n] [-r <arg>][
       [-s] <arg>] [-t] [-v]
he...> but was:<...rg>] [-n] [-r <arg>][ [-s
      ] <arg>] [-t] [-v]
he...>
  HelpFormatterTest.testPrintOptions:181 simple wrapped option expected:< -a   aaaa aaaa aaaa[
      aaaa] aaaa> but was:< -a   aaaa aaaa aaaa[ aaaa
     ] aaaa>
  HelpFormatterTest.testRenderWrappedTextSingleLinePadded2:123 single line padded text 2 expected:<... is time duration of[
                        form DATE[-DATE] where DATE
                        has form] YYYY[MM[DD]]> but was:<... is time duration of[ form
                        DATE[-DATE] where DATE has form
                       ] YYYY[MM[DD]]>

Tests in error: 
  ApplicationTest.testMan:228 » StringIndexOutOfBounds String index out of range...
  HelpFormatterTest.testRenderWrappedTextSingleLine:90 » StringIndexOutOfBounds ...
  HelpFormatterTest.testRenderWrappedTextSingleLinePadded:105 » StringIndexOutOfBounds
  HelpFormatterTest.testRenderWrappedTextWordCut:75 » StringIndexOutOfBounds Str...
  BugCLI162Test.testInfiniteLoop:54 » StringIndexOutOfBounds String index out of...
  BugCLI162Test.testLongLineChunking:321 » StringIndexOutOfBounds String index o...
  BugCLI162Test.testLongLineChunkingIndentIgnored:350 » StringIndexOutOfBounds S...
  BugCLI162Test.testPrintHelpLongLines:252 » StringIndexOutOfBounds String index...


Tests run: 424, Failures: 4, Errors: 8, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.077s
[INFO] Finished at: Sun Aug 02 03:08:38 BST 2015
[INFO] Final Memory: 24M/344M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18:test (default-test) on project commons-cli: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/perham/Study/LittleDarwin/Cases/commons-cli-1.3.1-src/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
