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

        Vu Hoang made changes -
        Component/s geronimo-maven-plugin [ 12311804 ]
        Component/s car-maven-plugin [ 12311805 ]
        Vu Hoang made changes -
        Component/s car-maven-plugin [ 12311805 ]
        Component/s testsuite [ 12311806 ]
        Vu Hoang made changes -
        Field Original Value New Value
        Description use command line below:
        mvn test -Dtest=[TestCaseName] -Dfile=/media/.../file.xml
        maven system can understand -Dtest but can not with -Dfile
        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
        Vu Hoang created issue -

          People

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

            Dates

            • Created:
              Updated:

              Development