[ 
https://issues.apache.org/jira/browse/MNG-7085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthieu Brouillard updated MNG-7085:
-------------------------------------
    Description: 
Following discussions from dev-list in ["Logging api in 
plugins"|https://mail-archives.apache.org/mod_mbox/maven-dev/202101.mbox/%3CCAGjJkv0%2BAa1ffGYnxWVYkz8_QWt7KsAYcJ0CsEe%2BMGy6h6FQ6w%40mail.gmail.com%3E]
 and ["Loging api in JSR-330 
component"|https://mail-archives.apache.org/mod_mbox/maven-dev/202101.mbox/%3CCAGjJkv2trLUX6W0UQwmsizPUNdZ6GXS9FB3ApP7w%2B7MhbBXT-g%40mail.gmail.com%3E]
 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 )

  was:
Following discussions from dev-list in ["Logging api in 
plugins"|https://mail-archives.apache.org/mod_mbox/maven-dev/202101.mbox/%3CCAGjJkv0%2BAa1ffGYnxWVYkz8_QWt7KsAYcJ0CsEe%2BMGy6h6FQ6w%40mail.gmail.com%3E]
 and ["Loging api in JSR-330 
component"|https://mail-archives.apache.org/mod_mbox/maven-dev/202101.mbox/%3CCAGjJkv2trLUX6W0UQwmsizPUNdZ6GXS9FB3ApP7w%2B7MhbBXT-g%40mail.gmail.com%3E]
 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|https://issues.apache.org/jira/browse/MNG-7084]


> Loggers documentation clarifications
> ------------------------------------
>
>                 Key: MNG-7085
>                 URL: https://issues.apache.org/jira/browse/MNG-7085
>             Project: Maven
>          Issue Type: Improvement
>          Components: Documentation: Guides
>            Reporter: Matthieu Brouillard
>            Priority: Major
>
> Following discussions from dev-list in ["Logging api in 
> plugins"|https://mail-archives.apache.org/mod_mbox/maven-dev/202101.mbox/%3CCAGjJkv0%2BAa1ffGYnxWVYkz8_QWt7KsAYcJ0CsEe%2BMGy6h6FQ6w%40mail.gmail.com%3E]
>  and ["Loging api in JSR-330 
> component"|https://mail-archives.apache.org/mod_mbox/maven-dev/202101.mbox/%3CCAGjJkv2trLUX6W0UQwmsizPUNdZ6GXS9FB3ApP7w%2B7MhbBXT-g%40mail.gmail.com%3E]
>  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 )



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to