Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-7085

Loggers documentation clarifications

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Documentation: Guides
    • Labels:
      None

      Description

      Following discussions from dev-list in "Logging api in plugins" and "Loging api in JSR-330 component" threads documentation for Logging from Maven components should be clarified.

      • the page 'https://maven.apache.org/maven-logging.html' should be updated to clarify its usage for Maven internal only classes
      • for plugins/Mojos clarify (where/which page) the use of #getLog() for mojos
      • clarify usage (where/which page) of plexus Logger
        // In a plexus component
        @Requirement
        org.codehaus.plexus.logging.Logger logger;

      // In a JSR-330 component
      @Inject
      org.codehaus.plexus.logging.Logger logger;

      • explain (where/which page) usage of org.apache.maven.plugin.logging.Log (via injection ? see MNG-7084 )

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              McFoggy Matthieu Brouillard
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: