[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: 1438482138428
[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.023 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.051 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.001 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 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.019 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.008 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 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.032 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: 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.001 sec - in org.apache.commons.cli.bug.BugsTest
Running org.apache.commons.cli.HelpFormatterTest
Tests run: 25, Failures: 1, Errors: 3, Skipped: 0, Time elapsed: 0.024 sec <<< FAILURE! - in org.apache.commons.cli.HelpFormatterTest
testUsageWithLongOptSeparator(org.apache.commons.cli.HelpFormatterTest)  Time elapsed: 0.007 sec  <<< ERROR!
java.lang.NullPointerException: null
	at org.apache.commons.cli.HelpFormatter.appendOption(HelpFormatter.java:98)
	at org.apache.commons.cli.HelpFormatter.printUsage(HelpFormatter.java:84)
	at org.apache.commons.cli.HelpFormatterTest.testUsageWithLongOptSeparator(HelpFormatterTest.java:606)

testDefaultArgName(org.apache.commons.cli.HelpFormatterTest)  Time elapsed: 0.001 sec  <<< ERROR!
java.lang.NullPointerException: null
	at org.apache.commons.cli.HelpFormatter.appendOption(HelpFormatter.java:98)
	at org.apache.commons.cli.HelpFormatter.printUsage(HelpFormatter.java:84)
	at org.apache.commons.cli.HelpFormatterTest.testDefaultArgName(HelpFormatterTest.java:389)

testPrintOptionWithEmptyArgNameUsage(org.apache.commons.cli.HelpFormatterTest)  Time elapsed: 0.005 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<usage: app -f[]
> but was:<usage: app -f[ <>]
>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at org.apache.commons.cli.HelpFormatterTest.testPrintOptionWithEmptyArgNameUsage(HelpFormatterTest.java:374)

testOptionWithoutShortFormat2(org.apache.commons.cli.HelpFormatterTest)  Time elapsed: 0.001 sec  <<< ERROR!
java.lang.NullPointerException: null
	at org.apache.commons.cli.HelpFormatter.appendOption(HelpFormatter.java:98)
	at org.apache.commons.cli.HelpFormatter.printUsage(HelpFormatter.java:84)
	at org.apache.commons.cli.HelpFormatter.printHelp(HelpFormatter.java:69)
	at org.apache.commons.cli.HelpFormatterTest.testOptionWithoutShortFormat2(HelpFormatterTest.java:548)

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: 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.001 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 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.025 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.007 sec - in org.apache.commons.cli.ValueTest

Results :

Failed tests: 
  HelpFormatterTest.testPrintOptionWithEmptyArgNameUsage:374 expected:<usage: app -f[]
> but was:<usage: app -f[ <>]
>

Tests in error: 
  HelpFormatterTest.testDefaultArgName:389 » NullPointer
  HelpFormatterTest.testOptionWithoutShortFormat2:548 » NullPointer
  HelpFormatterTest.testUsageWithLongOptSeparator:606 » NullPointer


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

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.910s
[INFO] Finished at: Sun Aug 02 03:22:24 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
