maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Griesbaum (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MNG-6391) Printout version of last built module in reactor build
Date Wed, 11 Apr 2018 08:04:00 GMT

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

Alexander Griesbaum commented on MNG-6391:
------------------------------------------

Hi, sorry for not reading the release notes properly, I created the issue based on the [example|https://issues.apache.org/jira/browse/MNG-6352?focusedCommentId=16367736&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16367736]
in MNG-6352.

The current solution is still confusing in my opinion so I am with Robert: a new line at the
bottom or additional info at the BUILD SUCCESS line.

Info at BUILD SUCCESS:
{code:java}
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] parent 4.0.0-SNAPSHOT ......................... SUCCESS [ 3.610 s]
[INFO] parent-lib .................................... SUCCESS [ 0.492 s]
[INFO] commons ....................................... SUCCESS [ 25.444 s]
[INFO] loadbalancer-starter .......................... SUCCESS [ 21.198 s]
[INFO] proxy-config-starter .......................... SUCCESS [ 7.496 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS 4.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:45 min
[INFO] Finished at: 2018-04-11T09:56:21+02:00
[INFO] ------------------------------------------------------------------------
{code}
Info in a separate line (Didn't use "Version Summary" to not being too verbose):
{code:java}
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] parent 4.0.0-SNAPSHOT ......................... SUCCESS [ 3.610 s]
[INFO] parent-lib .................................... SUCCESS [ 0.492 s]
[INFO] commons ....................................... SUCCESS [ 25.444 s]
[INFO] loadbalancer-starter .......................... SUCCESS [ 21.198 s]
[INFO] proxy-config-starter .......................... SUCCESS [ 7.496 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:45 min
[INFO] Finished at: 2018-04-11T09:56:21+02:00
[INFO] Version: 4.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
{code}
 

What do you think about it?

> Printout version of last built module in reactor build
> ------------------------------------------------------
>
>                 Key: MNG-6391
>                 URL: https://issues.apache.org/jira/browse/MNG-6391
>             Project: Maven
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 3.5.3
>            Reporter: Alexander Griesbaum
>            Assignee: Karl Heinz Marbaise
>            Priority: Minor
>             Fix For: 3.5.4
>
>
> MNG-6352 introduced printout of the version in a reactor build.
> If I build a multi-module project, not just the parent has the version printout but also
the last built module.
> {code:java}
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] parent 4.0.0-SNAPSHOT ......................... SUCCESS [ 3.610 s]
> [INFO] parent-lib .................................... SUCCESS [ 0.492 s]
> [INFO] commons ....................................... SUCCESS [ 25.444 s]
> [INFO] loadbalancer-starter .......................... SUCCESS [ 21.198 s]
> [INFO] proxy-config-starter 4.0.0-SNAPSHOT ........... SUCCESS [ 7.496 s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> {code}
> If I remove the "proxy-config-starter" module, "loadbalancer-starter" got the version
printout.
> Also this is not the order I configured the modules in the parent pom but I think this
could be something on my side.
> {code:java}
> <modules>
>     <module>commons</module>
>     <module>loadbalancer-starter</module>
>     <module>parent-lib</module>
>     <module>proxy-config-starter</module>
> </modules>
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message