Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-564

[surefire] Command line parms not passed to tests on linux

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.4.3
    • None
    • None
    • None
    • fedora 8 32-bit linux

    Description

      When I use maven 2.2 on fedora, the command line properties are not passed into the surefire tests. When I run the exact same build using maven 2.2 on OSX, the parameters are passed.

      Example:
      mvn -Dsmr.jdbc.port=4306 -X > debug.log

      On linux:
      DEBUG] Setting system property [user.dir]=[/data2/apps/smr]
      [DEBUG] Setting system property [localRepository]=[/home/oabuild/.m2/repository]
      [DEBUG] Setting system property [basedir]=[/data2/apps/smr]
      [DEBUG] Using JVM: /opt/jdk1.5.0_18/jre/bin/java

      On Mac:
      A whole bunch of properties including:
      [DEBUG] Setting system property [smr.jdbc.port]=[4306]

      Any ideas?

      Attachments

        Issue Links

          Activity

            People

              bentmann Benjamin Bentmann
              matthewdfleming Matthew Fleming
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: