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

LocationManager injected in MOJO unables plugin to run in JDK 1.6

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.21.0
    • None
    • None

    Description

      LocationManager is a singleton however the constructor does not inject MavenProject nor another objects managed by Maven instance.
      It can be constructed by a pure call.
      In 3.0.0-M1 and Java 1.7 we will inject it as @Component.
      ITs do not use Java 1.7 API and unit tests either. The test ModularClasspathForkConfigurationTest should assume 1.7 and the test AbstractSurefireMojoTest should split in test class with 1.6 and another with 1.7.

      Attachments

        Activity

          People

            tibordigana Tibor Digana
            tibordigana Tibor Digana
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: