[ 
https://issues.apache.org/jira/browse/MNG-7883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17848114#comment-17848114
 ] 

Guillaume Nodet edited comment on MNG-7883 at 5/21/24 10:02 AM:
----------------------------------------------------------------

If you don't want to use the project's name, why don't you set
{code:java}
  <name>${project.groupId}:${project.artifactId}:${project.version}</name>
{code}
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:
{code:java}
[INFO] -------------------< org.apache.maven:maven >-------------------
[INFO] Building Apache Maven 4.0.0-beta-3-SNAPSHOT               [1/34]
[INFO]   from pom.xml
[INFO] ----------------------------[ pom ]-----------------------------
[INFO]   {code}


was (Author: gnt):
If you don't want to use the project's name, why don't you set
{code:java}
  <name>${project.groupId}:${project.artifactId}:${version}</name>
{code}
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:
{code:java}
[INFO] -------------------< org.apache.maven:maven >-------------------
[INFO] Building Apache Maven 4.0.0-beta-3-SNAPSHOT               [1/34]
[INFO]   from pom.xml
[INFO] ----------------------------[ pom ]-----------------------------
[INFO]   {code}

> Also print groupId and version in the Reactor Build Order
> ---------------------------------------------------------
>
>                 Key: MNG-7883
>                 URL: https://issues.apache.org/jira/browse/MNG-7883
>             Project: Maven
>          Issue Type: Improvement
>          Components: Reactor and Workspace
>            Reporter: Reto Hoehener
>            Priority: Trivial
>
> This would be useful information when debugging a build process:
> {code:java}
> [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] {code}



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

Reply via email to