Geronimo
  1. Geronimo
  2. GERONIMO-4596

can not take system properties into maven by command line in version 2.0.10 (does not appear in version 2.0.9)

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: geronimo-maven-plugin
    • Security Level: public (Regular issues)
    • Labels:
      None
    • Environment:

      maven test by command line

      Description

      use command line below:
      mvn test -Dtest=[TestCaseName] -Dfile=/media/.../file.xml

      • maven system can understand -Dtest but can not with -Dfile
      • when I use function System.getProperty("file") - I got error NullPointerException

        Activity

        Hide
        Jarek Gawor added a comment -

        This looks like a problem in maven-surefilre-plugin. Properties set via -D option are propagated with maven-surefire-plugin version 2.4.2 but not with 2.4.3.

        Show
        Jarek Gawor added a comment - This looks like a problem in maven-surefilre-plugin. Properties set via -D option are propagated with maven-surefire-plugin version 2.4.2 but not with 2.4.3.
        Hide
        Vu Hoang added a comment -

        This issue does not appear in version 2.0.9

        Show
        Vu Hoang added a comment - This issue does not appear in version 2.0.9

          People

          • Assignee:
            Unassigned
            Reporter:
            Vu Hoang
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development