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

settting System property "basedir" is evil.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 2.0 (2.2 plugin)
    • None
    • None
    • maven 2.1-snapshot embedder, latest surefire plugin, Netbeans IDE.

    Description

      when running in embedded environment, the surefire plugin seems to influence the embedding application by setting system properties, like "basedir". plus some custom additional per project.
      In netbeans, this causes all ant-based projects to stop working after building a m2 project once. See MEVENIDE-412.
      The proper way of setting the environment variables is either not to set them at all (when building 2 projects at the same time, we can get strange results as the 2 builds both write the same props but different values) or to reset them back to whatever the value was previosly.

      Attachments

        Activity

          People

            brett Brett Porter
            mkleint Milos Kleint
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: