[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: 1438482515728
[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.008 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.094 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.018 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.002 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.053 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.14 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.004 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.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.042 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: 11, Errors: 0, Skipped: 0, Time elapsed: 0.037 sec <<< FAILURE! - in org.apache.commons.cli.HelpFormatterTest
testUsageWithLongOptSeparator(org.apache.commons.cli.HelpFormatterTest)  Time elapsed: 0.021 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<... create [--age=<arg>[] [-f <arg>] [-s <SIZE>]]> but was:<... create [--age=<arg>[ [-f <arg> [-s <SIZE>]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at org.apache.commons.cli.HelpFormatterTest.testUsageWithLongOptSeparator(HelpFormatterTest.java:608)

testPrintSortedUsageWithNullComparator(org.apache.commons.cli.HelpFormatterTest)  Time elapsed: 0 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<usage: app [-c[] [-b] [-a]]
> but was:<usage: app [-c[ [-b [-a]
>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at org.apache.commons.cli.HelpFormatterTest.testPrintSortedUsageWithNullComparator(HelpFormatterTest.java:317)

testPrintRequiredOptionGroupUsage(org.apache.commons.cli.HelpFormatterTest)  Time elapsed: 0.001 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<usage: app -a[ | -b | -c]
> but was:<usage: app -a[] | -b] | -c]]
>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at org.apache.commons.cli.HelpFormatterTest.testPrintRequiredOptionGroupUsage(HelpFormatterTest.java:356)

testPrintUsage(org.apache.commons.cli.HelpFormatterTest)  Time elapsed: 0.001 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<usage: app [-a[] [-b] [-c]]
> but was:<usage: app [-a[ [-b [-c]
>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at org.apache.commons.cli.HelpFormatterTest.testPrintUsage(HelpFormatterTest.java:275)

testPrintSortedUsage(org.apache.commons.cli.HelpFormatterTest)  Time elapsed: 0.001 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<usage: app [-c[] [-b] [-a]]
> but was:<usage: app [-c[ [-b [-a]
>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at org.apache.commons.cli.HelpFormatterTest.testPrintSortedUsage(HelpFormatterTest.java:300)

testAutomaticUsage(org.apache.commons.cli.HelpFormatterTest)  Time elapsed: 0.001 sec  <<< FAILURE!
org.junit.ComparisonFailure: simple auto usage expected:<usage: app [-a[]]> but was:<usage: app [-a[]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.apache.commons.cli.HelpFormatterTest.testAutomaticUsage(HelpFormatterTest.java:246)

testDefaultArgName(org.apache.commons.cli.HelpFormatterTest)  Time elapsed: 0 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<...e: app -f <argument>[]
> but was:<...e: app -f <argument>[]]
>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at org.apache.commons.cli.HelpFormatterTest.testDefaultArgName(HelpFormatterTest.java:391)

testOptionWithoutShortFormat(org.apache.commons.cli.HelpFormatterTest)  Time elapsed: 0.001 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<usage: foobar [-a[] [--bbb] [-c]]
  -a,--aaa  aaaaaaa...> but was:<usage: foobar [-a[ [--bbb [-c]
  -a,--aaa  aaaaaaa...>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at org.apache.commons.cli.HelpFormatterTest.testOptionWithoutShortFormat(HelpFormatterTest.java:486)

testPrintOptionGroupUsage(org.apache.commons.cli.HelpFormatterTest)  Time elapsed: 0.001 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<usage: app [-a[ | -b | -c]]
> but was:<usage: app [-a[] | -b] | -c]]]
>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at org.apache.commons.cli.HelpFormatterTest.testPrintOptionGroupUsage(HelpFormatterTest.java:336)

testPrintOptionWithEmptyArgNameUsage(org.apache.commons.cli.HelpFormatterTest)  Time elapsed: 0 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  <<< FAILURE!
org.junit.ComparisonFailure: expected:<...ommandline [-a <arg>[] [--config <arg>] [-h] [-l <arg>] [-n] [-r <arg>]
       [-s <arg>] [-t] [-v]]
header
  -a,--age <...> but was:<...ommandline [-a <arg>[ [--config <arg> [-h [-l <arg> [-n [-r <arg> [-s
       <arg> [-t [-v]
header
  -a,--age <...>
	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)

Running org.apache.commons.cli.OptionBuilderTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 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.029 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.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 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.003 sec - in org.apache.commons.cli.ValueTest

Results :

Failed tests: 
  HelpFormatterTest.testAutomaticUsage:246 simple auto usage expected:<usage: app [-a[]]> but was:<usage: app [-a[]>
  HelpFormatterTest.testDefaultArgName:391 expected:<...e: app -f <argument>[]
> but was:<...e: app -f <argument>[]]
>
  HelpFormatterTest.testOptionWithoutShortFormat:486 expected:<usage: foobar [-a[] [--bbb] [-c]]
  -a,--aaa  aaaaaaa...> but was:<usage: foobar [-a[ [--bbb [-c]
  -a,--aaa  aaaaaaa...>
  HelpFormatterTest.testOptionWithoutShortFormat2:549 expected:<...ommandline [-a <arg>[] [--config <arg>] [-h] [-l <arg>] [-n] [-r <arg>]
       [-s <arg>] [-t] [-v]]
header
  -a,--age <...> but was:<...ommandline [-a <arg>[ [--config <arg> [-h [-l <arg> [-n [-r <arg> [-s
       <arg> [-t [-v]
header
  -a,--age <...>
  HelpFormatterTest.testPrintOptionGroupUsage:336 expected:<usage: app [-a[ | -b | -c]]
> but was:<usage: app [-a[] | -b] | -c]]]
>
  HelpFormatterTest.testPrintOptionWithEmptyArgNameUsage:374 expected:<usage: app -f[]
> but was:<usage: app -f[]]
>
  HelpFormatterTest.testPrintRequiredOptionGroupUsage:356 expected:<usage: app -a[ | -b | -c]
> but was:<usage: app -a[] | -b] | -c]]
>
  HelpFormatterTest.testPrintSortedUsage:300 expected:<usage: app [-c[] [-b] [-a]]
> but was:<usage: app [-c[ [-b [-a]
>
  HelpFormatterTest.testPrintSortedUsageWithNullComparator:317 expected:<usage: app [-c[] [-b] [-a]]
> but was:<usage: app [-c[ [-b [-a]
>
  HelpFormatterTest.testPrintUsage:275 expected:<usage: app [-a[] [-b] [-c]]
> but was:<usage: app [-a[ [-b [-c]
>
  HelpFormatterTest.testUsageWithLongOptSeparator:608 expected:<... create [--age=<arg>[] [-f <arg>] [-s <SIZE>]]> but was:<... create [--age=<arg>[ [-f <arg> [-s <SIZE>]>



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

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.694s
[INFO] Finished at: Sun Aug 02 03:28:41 BST 2015
[INFO] Final Memory: 22M/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
