jersey
  1. jersey
  2. JERSEY-1886

Change maven test arguments to set test container in a comment

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.0-rc2
    • Fix Version/s: 2.8
    • Component/s: examples
    • Labels:
      None

      Description

      It seems unit tests do not run in forked jvm anymore. It means system property argLine is not used by surefire plugin.

      There are comment hints in examples' unit tests how to run test in different container than default, e.g.

      // mvn test -DargLine="-Djersey.config.test.container.factory=org.glassfish.jersey.test.jdkhttp.JdkHttpServerTestContainerFactory"
      

      but this property is not used because tests run in maven jvm. I suggest to change comment to:

      // mvn test -Djersey.config.test.container.factory=org.glassfish.jersey.test.jdkhttp.JdkHttpServerTestContainerFactory
      

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Marek Potociar
            Reporter:
            Libor Kramolis
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: