You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2023/02/17 21:47:00 UTC

[jira] (MNG-7438) add execution id to "Configuring mojo xxx with basic configurator" debug message

    [ https://issues.apache.org/jira/browse/MNG-7438 ]


    Michael Osipov deleted comment on MNG-7438:
    -------------------------------------

was (Author: hudson):
Build unstable in Jenkins: Maven » Maven TLP » maven » MNG-7273 #3

See https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven/job/MNG-7273/3/

> add execution id to "Configuring mojo xxx with basic configurator" debug message
> --------------------------------------------------------------------------------
>
>                 Key: MNG-7438
>                 URL: https://issues.apache.org/jira/browse/MNG-7438
>             Project: Maven
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 3.8.5
>            Reporter: Herve Boutemy
>            Assignee: Herve Boutemy
>            Priority: Major
>             Fix For: 3.8.x-candidate, 3.9.0, 4.0.0-alpha-2, 4.0.0
>
>
> currently, when running goals/mojos, we have in debug logs
> {noformat}
> [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ org.example.apache.maven.execution ---
> [DEBUG] Configuring mojo org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5, parent: sun.misc.Launcher$AppClassLoader@7852e922]
> [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test' with basic configurator -->
> [DEBUG]   (s) additionalClasspathElements = []
> [DEBUG]   (s) basedir = /home/herve/tmp/org.example.apache.maven.execution
> {noformat}
> on the "{{Configuring mojo 'org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test' with basic configurator}}" line, it completely hides the fact that configuration is valid for an execution id, that has a default value when nobody defined any (see https://maven.apache.org/guides/mini/guide-default-execution-ids.html )
> Just adding "{{execution 'default-test'}}" would make things more clear so people learn about execution ids
> {noformat}
> [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test' execution 'default-test' with basic configurator -->
> {noformat}
> h2. final debug messages
> {noformat}
> [DEBUG] Loading mojo org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5, parent: sun.misc.Launcher$AppClassLoader@7852e922]
> [DEBUG] Configuring mojo execution 'org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test:default-test' with basic configurator -->
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)