[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: 1438482018060
[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.012 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.126 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.017 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.007 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.076 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.055 sec - in org.apache.commons.cli.PatternOptionBuilderTest
Running org.apache.commons.cli.ApplicationTest
Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.024 sec <<< FAILURE! - in org.apache.commons.cli.ApplicationTest
testMan(org.apache.commons.cli.ApplicationTest)  Time elapsed: 0.024 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<...page ...
 -7,--ascii[                display ASCII translation or
                           certain latin1 chars.
 -a,--all                  find all matching manual pages.
 -c,--catman               used by catman to reformat out of
                           date cat pages.
 -d,--debug                emit debugging messages.
 -D,--default              reset all options to their
                           default values.
 -e,--extension            limit search to extension type
                           'extension'.
 -f,--whatis               equivalent to whatis.
 -h,--help                 show this usage message.
 -k,--apropos              equivalent to apropos.
 -l,--local-file           interpret 'page' argument(s) as
                           local filename(s)
 -L,--locale <arg>         define the locale for this
                           particular man search.
 -M,--manpath <arg>        set search path for manual pages
                           to 'path'.
 -m,--systems <arg>        search for man pages from other
                           unix system(s).
 -P,--pager <arg>          use program 'pager' to display
                           output.
 -p,--preprocessor <arg>   string indicates which
                           preprocessor to run.
                           e - [n]eqn  p - pic     t - tbl
                           g - grap    r - refer   v -
                           vgrind
 -r,--prompt <arg>         provide 'less' pager with prompt.
 -S,--sections <arg>       use colon separated section list.
 -t,--troff                use troff format pages.
 -T,--troff-device <arg>   use groff with selected device.
 -u,--update               force a cache consistency check.
 -V,--version              show version.
 -w,--location             print physical location of man
                           page(s).
 -Z,--ditroff              use groff with selected device.]
> but was:<...page ...
 -7,--ascii[
 -a,--all
 -c,--catman
 -d,--debug
 -D,--default
 -e,--extension
 -f,--whatis
 -h,--help
 -k,--apropos
 -l,--local-file
 -L,--locale <arg>
 -M,--manpath <arg>
 -m,--systems <arg>
 -P,--pager <arg>
 -p,--preprocessor <arg>
 -r,--prompt <arg>
 -S,--sections <arg>
 -t,--troff
 -T,--troff-device <arg>
 -u,--update
 -V,--version
 -w,--location
 -Z,--ditroff]
>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at org.apache.commons.cli.ApplicationTest.testMan(ApplicationTest.java:229)

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: 4, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec <<< FAILURE! - in org.apache.commons.cli.bug.BugCLI162Test
testInfiniteLoop(org.apache.commons.cli.bug.BugCLI162Test)  Time elapsed: 0 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<...sage: app
 -h,--help[   This is
             a
             looooon
             g
             descrip
             tion]
> but was:<...sage: app
 -h,--help[]
>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at org.apache.commons.cli.bug.BugCLI162Test.testInfiniteLoop(BugCLI162Test.java:63)

testLongLineChunkingIndentIgnored(org.apache.commons.cli.bug.BugCLI162Test)  Time elapsed: 0 sec  <<< FAILURE!
org.junit.ComparisonFailure: Long arguments did not split as expected expected:<...r
-x,--extralongarg
[ This description is
 Long.
]Footer
> but was:<...r
-x,--extralongarg
[]Footer
>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.apache.commons.cli.bug.BugCLI162Test.testLongLineChunkingIndentIgnored(BugCLI162Test.java:360)

testLongLineChunking(org.apache.commons.cli.bug.BugCLI162Test)  Time elapsed: 0 sec  <<< FAILURE!
org.junit.ComparisonFailure: Long arguments did not split as expected expected:<...er
-x,--extralongarg[     This
                      description
                      has
                      ReallyLongVal
                      uesThatAreLon
                      gerThanTheWid
                      thOfTheColumn
                      s and also
                      other
                      ReallyLongVal
                      uesThatAreHug
                      erAndBiggerTh
                      anTheWidthOfT
                      heColumnsBob,
                      yes.]
Footer
> but was:<...er
-x,--extralongarg[]
Footer
>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.apache.commons.cli.bug.BugCLI162Test.testLongLineChunking(BugCLI162Test.java:342)

testPrintHelpLongLines(org.apache.commons.cli.bug.BugCLI162Test)  Time elapsed: 0.001 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<...-2,--jdbc2sfmd <arg>[        Converts the JDBC file in the first argument
                             to an SMFD file specified in the second
                             argument.
 -a,--paramNames <arg>       Parameter XML names; default names are
                             param1, param2, etc. Example: -a "pname1
                             pname2"
 -b,--jdbc <arg>             Writes a JDBC binding node file for the given
                             SQL
 -c,--url <arg>              Connection URL
 -d,--driver <arg>           JDBC driver class name
 -e,--description <arg>      SFMD description. A default description is
                             used if omited. Example: -e "Runs such and
                             such"
 -f,--sfmd <arg>             Writes a SFMD file for the given SQL
 -g,--printTiming            Prints timing information
 -h,--help                   Prints help and quits
 -i,--interactive            Runs in interactive mode, reading and writing
                             from the console, 'go' or '/' sends a
                             statement
 -j,--node <arg>             Writes a JDBC node file for the given SQL
                             (internal debugging)
 -l,--columnNames <arg>      Column XML names; default names column
                             labels. Example: -l "cname1 cname2"
 -m,--printMetaData          Prints metadata information
 -n,--info                   Prints driver information and properties. If
                             -c is not specified, all drivers on the
                             classpath are displayed.
 -o,--paramModes <arg>       Parameters modes (1=IN, 2=INOUT, 4=OUT,
                             0=Unknown). -o and -O are mutually exclusive.
                             Example for 2 parameters, OUT and IN: -o "4
                             1"
 -O,--paramModeNames <arg>   Parameters mode names (IN, INOUT, OUT,
                             Unknown). -o and -O are mutually exclusive.
                             Example for 2 parameters, OUT and IN: -O "OUT
                             IN"
 -p,--password <arg>         The database password for the user specified
                             with the -u option. You can obfuscate the
                             password with
                             org.mortbay.jetty.security.Password, see
                             http://docs.codehaus.org/display/JETTY/Securi
                             ng+Passwords
 -s,--sql <arg>              Runs SQL or {call stored_procedure(?, ?)} or
                             {?=call function(?, ?)}
 -t,--printStack             Prints stack traces on errors
    --trim <arg>             Trims leading and trailing spaces from all
                             column values. Column XML names can be
                             optionally specified to set which columns to
                             trim.
 -u,--user <arg>             A database user name
 -w,--outfile <arg>          Writes the SQL output to the given file
 -y,--paramTypes <arg>       Parameter types from java.sql.Types. -y and
                             -Y are mutually exclusive. Example: -y "-10
                             12"
 -Y,--paramTypeNames <arg>   Parameter java.sql.Types names. -y and -Y are
                             mutually exclusive. Example: -Y "CURSOR
                             VARCHAR"]
> but was:<...-2,--jdbc2sfmd <arg>[
 -a,--paramNames <arg>
 -b,--jdbc <arg>
 -c,--url <arg>
 -d,--driver <arg>
 -e,--description <arg>
 -f,--sfmd <arg>
 -g,--printTiming
 -h,--help
 -i,--interactive
 -j,--node <arg>
 -l,--columnNames <arg>
 -m,--printMetaData
 -n,--info
 -o,--paramModes <arg>
 -O,--paramModeNames <arg>
 -p,--password <arg>
 -s,--sql <arg>
 -t,--printStack
    --trim <arg>
 -u,--user <arg>
 -w,--outfile <arg>
 -y,--paramTypes <arg>
 -Y,--paramTypeNames <arg>]
>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at org.apache.commons.cli.bug.BugCLI162Test.testPrintHelpLongLines(BugCLI162Test.java:310)

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: 1, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec <<< FAILURE! - in org.apache.commons.cli.bug.BugsTest
test13666(org.apache.commons.cli.bug.BugsTest)  Time elapsed: 0 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<usage: dir
 -d <arg>[   dir]
> but was:<usage: dir
 -d <arg>[]
>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at org.apache.commons.cli.bug.BugsTest.test13666(BugsTest.java:257)

Running org.apache.commons.cli.HelpFormatterTest
Tests run: 25, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec <<< FAILURE! - in org.apache.commons.cli.HelpFormatterTest
testHelpWithLongOptSeparator(org.apache.commons.cli.HelpFormatterTest)  Time elapsed: 0.001 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<...der
     --age=<arg>[    the age
  -f <arg>          the file
  -s,--size=<SIZE>  the size]
footer
> but was:<...der
     --age=<arg>[
  -f <arg>
  -s,--size=<SIZE>]
footer
>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at org.apache.commons.cli.HelpFormatterTest.testHelpWithLongOptSeparator(HelpFormatterTest.java:583)

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

testOptionWithoutShortFormat(org.apache.commons.cli.HelpFormatterTest)  Time elapsed: 0 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<...bbb] [-c]
  -a,--aaa[  aaaaaaa
     --bbb  bbbbbbb
  -c        cccccc]c
> but was:<...bbb] [-c]
  -a,--aaa[
     --bbb
  -]c
>
	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)

testOptionWithoutShortFormat2(org.apache.commons.cli.HelpFormatterTest)  Time elapsed: 0.001 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<...der
  -a,--age <arg>[      Age (in days) of cache item before being recomputed
     --config <arg>   Use the specified configuration file
  -h,--help           print this message
  -l,--limit <arg>    Set time limit for execution, in mintues
  -n,--new            Create NLT cache entries only for new items
  -r,--results <arg>  Number of results per item
  -s,--server <arg>   The NLT server address
  -t,--tracker        Create NLT cache entries only for tracker items
  -v,--version        print version informat]ion
footer
> but was:<...der
  -a,--age <arg>[
     --config <arg>
  -h,--help
  -l,--limit <arg>
  -n,--new
  -r,--results <arg>
  -s,--server <arg>
  -t,--tracker
  -v,--vers]ion
footer
>
	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.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.026 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.04 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.008 sec - in org.apache.commons.cli.ValueTest

Results :

Failed tests: 
  ApplicationTest.testMan:229 expected:<...page ...
 -7,--ascii[                display ASCII translation or
                           certain latin1 chars.
 -a,--all                  find all matching manual pages.
 -c,--catman               used by catman to reformat out of
                           date cat pages.
 -d,--debug                emit debugging messages.
 -D,--default              reset all options to their
                           default values.
 -e,--extension            limit search to extension type
                           'extension'.
 -f,--whatis               equivalent to whatis.
 -h,--help                 show this usage message.
 -k,--apropos              equivalent to apropos.
 -l,--local-file           interpret 'page' argument(s) as
                           local filename(s)
 -L,--locale <arg>         define the locale for this
                           particular man search.
 -M,--manpath <arg>        set search path for manual pages
                           to 'path'.
 -m,--systems <arg>        search for man pages from other
                           unix system(s).
 -P,--pager <arg>          use program 'pager' to display
                           output.
 -p,--preprocessor <arg>   string indicates which
                           preprocessor to run.
                           e - [n]eqn  p - pic     t - tbl
                           g - grap    r - refer   v -
                           vgrind
 -r,--prompt <arg>         provide 'less' pager with prompt.
 -S,--sections <arg>       use colon separated section list.
 -t,--troff                use troff format pages.
 -T,--troff-device <arg>   use groff with selected device.
 -u,--update               force a cache consistency check.
 -V,--version              show version.
 -w,--location             print physical location of man
                           page(s).
 -Z,--ditroff              use groff with selected device.]
> but was:<...page ...
 -7,--ascii[
 -a,--all
 -c,--catman
 -d,--debug
 -D,--default
 -e,--extension
 -f,--whatis
 -h,--help
 -k,--apropos
 -l,--local-file
 -L,--locale <arg>
 -M,--manpath <arg>
 -m,--systems <arg>
 -P,--pager <arg>
 -p,--preprocessor <arg>
 -r,--prompt <arg>
 -S,--sections <arg>
 -t,--troff
 -T,--troff-device <arg>
 -u,--update
 -V,--version
 -w,--location
 -Z,--ditroff]
>
  HelpFormatterTest.testHelpWithLongOptSeparator:583 expected:<...der
     --age=<arg>[    the age
  -f <arg>          the file
  -s,--size=<SIZE>  the size]
footer
> but was:<...der
     --age=<arg>[
  -f <arg>
  -s,--size=<SIZE>]
footer
>
  HelpFormatterTest.testOptionWithoutShortFormat:486 expected:<...bbb] [-c]
  -a,--aaa[  aaaaaaa
     --bbb  bbbbbbb
  -c        cccccc]c
> but was:<...bbb] [-c]
  -a,--aaa[
     --bbb
  -]c
>
  HelpFormatterTest.testOptionWithoutShortFormat2:549 expected:<...der
  -a,--age <arg>[      Age (in days) of cache item before being recomputed
     --config <arg>   Use the specified configuration file
  -h,--help           print this message
  -l,--limit <arg>    Set time limit for execution, in mintues
  -n,--new            Create NLT cache entries only for new items
  -r,--results <arg>  Number of results per item
  -s,--server <arg>   The NLT server address
  -t,--tracker        Create NLT cache entries only for tracker items
  -v,--version        print version informat]ion
footer
> but was:<...der
  -a,--age <arg>[
     --config <arg>
  -h,--help
  -l,--limit <arg>
  -n,--new
  -r,--results <arg>
  -s,--server <arg>
  -t,--tracker
  -v,--vers]ion
footer
>
  HelpFormatterTest.testPrintOptions:174 simple non-wrapped option expected:< -a[   aaaa aaaa aaaa aaaa aaaa]> but was:< -a[]>
  BugCLI162Test.testInfiniteLoop:63 expected:<...sage: app
 -h,--help[   This is
             a
             looooon
             g
             descrip
             tion]
> but was:<...sage: app
 -h,--help[]
>
  BugCLI162Test.testLongLineChunking:342 Long arguments did not split as expected expected:<...er
-x,--extralongarg[     This
                      description
                      has
                      ReallyLongVal
                      uesThatAreLon
                      gerThanTheWid
                      thOfTheColumn
                      s and also
                      other
                      ReallyLongVal
                      uesThatAreHug
                      erAndBiggerTh
                      anTheWidthOfT
                      heColumnsBob,
                      yes.]
Footer
> but was:<...er
-x,--extralongarg[]
Footer
>
  BugCLI162Test.testLongLineChunkingIndentIgnored:360 Long arguments did not split as expected expected:<...r
-x,--extralongarg
[ This description is
 Long.
]Footer
> but was:<...r
-x,--extralongarg
[]Footer
>
  BugCLI162Test.testPrintHelpLongLines:310 expected:<...-2,--jdbc2sfmd <arg>[        Converts the JDBC file in the first argument
                             to an SMFD file specified in the second
                             argument.
 -a,--paramNames <arg>       Parameter XML names; default names are
                             param1, param2, etc. Example: -a "pname1
                             pname2"
 -b,--jdbc <arg>             Writes a JDBC binding node file for the given
                             SQL
 -c,--url <arg>              Connection URL
 -d,--driver <arg>           JDBC driver class name
 -e,--description <arg>      SFMD description. A default description is
                             used if omited. Example: -e "Runs such and
                             such"
 -f,--sfmd <arg>             Writes a SFMD file for the given SQL
 -g,--printTiming            Prints timing information
 -h,--help                   Prints help and quits
 -i,--interactive            Runs in interactive mode, reading and writing
                             from the console, 'go' or '/' sends a
                             statement
 -j,--node <arg>             Writes a JDBC node file for the given SQL
                             (internal debugging)
 -l,--columnNames <arg>      Column XML names; default names column
                             labels. Example: -l "cname1 cname2"
 -m,--printMetaData          Prints metadata information
 -n,--info                   Prints driver information and properties. If
                             -c is not specified, all drivers on the
                             classpath are displayed.
 -o,--paramModes <arg>       Parameters modes (1=IN, 2=INOUT, 4=OUT,
                             0=Unknown). -o and -O are mutually exclusive.
                             Example for 2 parameters, OUT and IN: -o "4
                             1"
 -O,--paramModeNames <arg>   Parameters mode names (IN, INOUT, OUT,
                             Unknown). -o and -O are mutually exclusive.
                             Example for 2 parameters, OUT and IN: -O "OUT
                             IN"
 -p,--password <arg>         The database password for the user specified
                             with the -u option. You can obfuscate the
                             password with
                             org.mortbay.jetty.security.Password, see
                             http://docs.codehaus.org/display/JETTY/Securi
                             ng+Passwords
 -s,--sql <arg>              Runs SQL or {call stored_procedure(?, ?)} or
                             {?=call function(?, ?)}
 -t,--printStack             Prints stack traces on errors
    --trim <arg>             Trims leading and trailing spaces from all
                             column values. Column XML names can be
                             optionally specified to set which columns to
                             trim.
 -u,--user <arg>             A database user name
 -w,--outfile <arg>          Writes the SQL output to the given file
 -y,--paramTypes <arg>       Parameter types from java.sql.Types. -y and
                             -Y are mutually exclusive. Example: -y "-10
                             12"
 -Y,--paramTypeNames <arg>   Parameter java.sql.Types names. -y and -Y are
                             mutually exclusive. Example: -Y "CURSOR
                             VARCHAR"]
> but was:<...-2,--jdbc2sfmd <arg>[
 -a,--paramNames <arg>
 -b,--jdbc <arg>
 -c,--url <arg>
 -d,--driver <arg>
 -e,--description <arg>
 -f,--sfmd <arg>
 -g,--printTiming
 -h,--help
 -i,--interactive
 -j,--node <arg>
 -l,--columnNames <arg>
 -m,--printMetaData
 -n,--info
 -o,--paramModes <arg>
 -O,--paramModeNames <arg>
 -p,--password <arg>
 -s,--sql <arg>
 -t,--printStack
    --trim <arg>
 -u,--user <arg>
 -w,--outfile <arg>
 -y,--paramTypes <arg>
 -Y,--paramTypeNames <arg>]
>
  BugsTest.test13666:257 expected:<usage: dir
 -d <arg>[   dir]
> but was:<usage: dir
 -d <arg>[]
>



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

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.130s
[INFO] Finished at: Sun Aug 02 03:20:24 BST 2015
[INFO] Final Memory: 23M/285M
[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
