This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 232356 - Print Maven execution name in build log (Output)
Summary: Print Maven execution name in build log (Output)
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.3.1
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-08 03:04 UTC by pekarna
Modified: 2013-09-03 07:32 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pekarna 2013-07-08 03:04:36 UTC
When Maven build is run, the log contains only plugin and goal names:

         <plugin>
            <artifactId>maven-dependency-plugin</artifactId>
            <executions>
               <execution>
                  <id>config.copyToWorkdir</id>
                  <phase>process-test-resources</phase>
                  <goals><goal>unpack</goal></goals>

...results in...

     ------------------------------------------------------------------------
     Building JawaBot 2.0 root 2.0.0.GA-SNAPSHOT
     ------------------------------------------------------------------------
     
     [dependency:unpack]
     ...

That's not enough: One goal can be run multiple times.

Hiding the id of the execution makes it hard to get oriented in the log, especially in multi-module project, because the execution IDs are used to customize the execution configuration in submodules, or suppress them.

I suggest to change the execution string to

    [<phase> <plugin-name>:<goal-name> (<execution id>)] 

Or such.

Thanks for considering.
Comment 1 Milos Kleint 2013-09-03 07:32:14 UTC
I think this was fixed for 7.4, we now print what maven itself is printing (in 3.x version)

--- nbm-maven-plugin:3.10.1:cluster-app (default-cli) @ mavenproject26-app --