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

[WARNING] * org.apache.maven.plugins:maven-surefire-report-plugin:3.1.2

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1.2
    • 3.5.0
    • None
    • None

    Description

      When running mvn clean site -Dmaven.plugin.validation=VERBOSE I get

      [WARNING]  * org.apache.maven.plugins:maven-surefire-report-plugin:3.1.2
      [WARNING]   Declared at location(s):
      [WARNING]    * unknown
      [WARNING]   Mojo EXTERNAL issue(s):
      [WARNING]    * Mojo surefire-report:failsafe-report-only (org.apache.maven.plugins.surefire.report.FailsafeReportMojo)
      [WARNING]      - Parameter 'localRepository' uses deprecated parameter expression '${localRepository}': ArtifactRepository type is deprecated and its use in Mojos should be avoided.
      [WARNING]    * Mojo surefire-report:report (org.apache.maven.plugins.surefire.report.SurefireReportMojo)
      [WARNING]      - Parameter 'localRepository' uses deprecated parameter expression '${localRepository}': ArtifactRepository type is deprecated and its use in Mojos should be avoided.
      [WARNING]    * Mojo surefire-report:report-only (org.apache.maven.plugins.surefire.report.SurefireReportOnlyMojo)
      [WARNING]      - Parameter 'localRepository' uses deprecated parameter expression '${localRepository}': ArtifactRepository type is deprecated and its use in Mojos should be avoided.
      [WARNING]

      I wish I could eliminate all warnings in my projects, but it's not always easy or possible.

      My context is

      $ mvn -version
      Apache Maven 3.9.5 (57804ffe001d7215b5e7bcb531cf83df38f93546)
      Maven home: C:\Program Files (Open)\Apache\apache-maven-3.9.5
      Java version: 21, vendor: Oracle Corporation, runtime: C:\Program Files\java\jdk-21
      Default locale: en_CA, platform encoding: UTF-8
      OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

       

      Attachments

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              kolotyluk Eric Kolotyluk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: