[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: 1438485650363
[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.007 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.071 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.01 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.015 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.036 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.05 sec - in org.apache.commons.cli.PatternOptionBuilderTest
Running org.apache.commons.cli.ApplicationTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec - in org.apache.commons.cli.ApplicationTest
Running org.apache.commons.cli.OptionTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 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.033 sec - in org.apache.commons.cli.bug.BugCLI252Test
Running org.apache.commons.cli.bug.BugCLI162Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.commons.cli.bug.BugCLI162Test
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 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: 1, Skipped: 0, Time elapsed: 0.001 sec <<< FAILURE! - in org.apache.commons.cli.bug.BugCLI148Test
testWorkaround2(org.apache.commons.cli.bug.BugCLI148Test)  Time elapsed: 0.001 sec  <<< ERROR!
org.apache.commons.cli.MissingArgumentException: Missing argument for option: t
	at org.apache.commons.cli.Parser.processArgs(Parser.java:363)
	at org.apache.commons.cli.Parser.processOption(Parser.java:395)
	at org.apache.commons.cli.Parser.parse(Parser.java:210)
	at org.apache.commons.cli.Parser.parse(Parser.java:88)
	at org.apache.commons.cli.bug.BugCLI148Test.testWorkaround2(BugCLI148Test.java:62)

Running org.apache.commons.cli.bug.BugsTest
Tests run: 12, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.004 sec <<< FAILURE! - in org.apache.commons.cli.bug.BugsTest
test15648(org.apache.commons.cli.bug.BugsTest)  Time elapsed: 0 sec  <<< ERROR!
org.apache.commons.cli.MissingArgumentException: Missing argument for option: m
	at org.apache.commons.cli.Parser.processArgs(Parser.java:363)
	at org.apache.commons.cli.Parser.processOption(Parser.java:395)
	at org.apache.commons.cli.Parser.parse(Parser.java:210)
	at org.apache.commons.cli.Parser.parse(Parser.java:88)
	at org.apache.commons.cli.bug.BugsTest.test15648(BugsTest.java:354)

Running org.apache.commons.cli.HelpFormatterTest
Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec - in org.apache.commons.cli.HelpFormatterTest
Running org.apache.commons.cli.OptionBuilderTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 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.038 sec - in org.apache.commons.cli.PosixParserTest
Running org.apache.commons.cli.UtilTest
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec <<< FAILURE! - in org.apache.commons.cli.UtilTest
testStripLeadingAndTrailingQuotes(org.apache.commons.cli.UtilTest)  Time elapsed: 0 sec  <<< ERROR!
java.lang.StringIndexOutOfBoundsException: String index out of range: 6
	at java.lang.String.substring(String.java:1907)
	at org.apache.commons.cli.Util.stripLeadingAndTrailingQuotes(Util.java:14)
	at org.apache.commons.cli.UtilTest.testStripLeadingAndTrailingQuotes(UtilTest.java:39)

Running org.apache.commons.cli.OptionGroupTest
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 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.046 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.011 sec - in org.apache.commons.cli.ValueTest

Results :


Tests in error: 
  UtilTest.testStripLeadingAndTrailingQuotes:39 » StringIndexOutOfBounds String ...
  BugCLI148Test.testWorkaround2:62 » MissingArgument Missing argument for option...
  BugsTest.test15648:354 » MissingArgument Missing argument for option: m


Tests run: 424, Failures: 0, Errors: 3, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.320s
[INFO] Finished at: Sun Aug 02 04:20:56 BST 2015
[INFO] Final Memory: 23M/291M
[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
