Skip to content

[MNG-7883] Also print groupId and version in the Reactor Build Order #8736

Closed as not planned

Description

@jira-importer

Reto Hoehener opened MNG-7883 and commented

This would be useful information when debugging a build process:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] my-group        my-parent            1.0.0-SNAPSHOT                [pom]
[INFO] my-group        my-lib               1.0.0-SNAPSHOT                [jar]
[INFO] my-group        my-app               1.0.4                         [jar] 

Remote Links:

0 votes, 5 watchers

Activity

  1. jira-importer commented on Sep 18, 2023

    @jira-importer
    Author

    Zhongming Hua commented

    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Build Order:
    [INFO]
    [INFO] my-group:my-parent:1.0.0-SNAPSHOT         [pom]
    [INFO] my-group:my-lib:1.0.0-SNAPSHOT                [jar]
    [INFO] my-group:my-app:1.0.4                                   [jar]

  2. jira-importer commented on Sep 18, 2023

    @jira-importer
    Author

    Zhongming Hua commented

    I think the groupId:name:version structure is better.

  3. jira-importer commented on Sep 18, 2023

    @jira-importer
    Author

    Reto Hoehener commented

    Agreed 👍 

  4. jira-importer commented on Sep 22, 2023

    @jira-importer
    Author

    Tamas Cservenak commented

    This can already be done (if your goal is really "just" console output): set in your each POM the name as this:

    ...
    <name>${project.groupId}:${project.artifactId}</name>
    ...
    

    (note: name is not inherited, so each module needs this)

    Basically, Maven will output ${project.name}, whatever it is.

  5. jira-importer commented on May 21, 2024

    @jira-importer
    Author

    Guillaume Nodet commented

    If you don't want to use the project's name, why don't you set

    <name>${project.groupId}:${project.artifactId}:${project.version}</name>

    Version is usually not an interesting information inside a reactor, as you usually don't have the same artifactId with 2 different versions in the build...

    Also, the same display is used at the bottom for the reactor summary, so this would be incoherent.

    Note that at the beginning of each module's build, we have:

    [INFO] -------------------< org.apache.maven:maven >-------------------
    [INFO] Building Apache Maven 4.0.0-beta-3-SNAPSHOT               [1/34]
    [INFO]   from pom.xml
    [INFO] ----------------------------[ pom ]-----------------------------
    [INFO]   
  6. added
    enhancement
    priority:trivial
    on Jul 7, 2025
  7. gnodet commented on Oct 14, 2026

    @gnodet
    Contributor

    Closing as superseded by #12571, which redesigns reactor summary output through configurable console renderers (--console=auto|rich|plain|verbose|machine). GroupId and version display in the reactor build order can be handled by the renderer.

    Claude Code on behalf of Guillaume Nodet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority:trivial

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions