Skip to content

[MNG-7085] Loggers documentation clarifications #8369

@jira-importer

Description

@jira-importer

Matthieu Brouillard opened MNG-7085 and commented

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 )

No further details from MNG-7085

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions