-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include project name in lifecycle phase summary #45
Open
clayreimann
wants to merge
1
commit into
khmarbaise:master
Choose a base branch
from
clayreimann:print-project-name-in-lifecycle-phases
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Include project name in lifecycle phase summary #45
clayreimann
wants to merge
1
commit into
khmarbaise:master
from
clayreimann:print-project-name-in-lifecycle-phases
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For multi-module projects there is currently no indication of which project caused a particular mojo execution. This is an alternate solution to khmarbaise#4. Current output: ``` [INFO] generate-sources: [INFO] 1 ms: org.codehaus.mojo:build-helper-maven-plugin:3.3.0:add-source:add-antlr-sources [INFO] 0 ms: org.codehaus.mojo:build-helper-maven-plugin:3.3.0:add-source:add-antlr-sources [INFO] 3247 ms: com.twitter:scrooge-maven-plugin:20.1.0:compile:thrift-sources [INFO] 1 ms: org.codehaus.mojo:build-helper-maven-plugin:3.3.0:add-source:add-antlr-sources [INFO] 1703 ms: com.twitter:scrooge-maven-plugin:20.1.0:compile:thrift-sources [INFO] 1 ms: org.codehaus.mojo:build-helper-maven-plugin:3.3.0:add-source:add-antlr-sources [INFO] 0 ms: org.codehaus.mojo:build-helper-maven-plugin:3.3.0:add-source:add-antlr-sources [INFO] 0 ms: org.codehaus.mojo:build-helper-maven-plugin:3.3.0:add-source:add-antlr-sources [INFO] 0 ms: org.codehaus.mojo:build-helper-maven-plugin:3.3.0:add-source:add-antlr-sources [INFO] 0 ms: org.codehaus.mojo:build-helper-maven-plugin:3.3.0:add-source:add-antlr-sources [INFO] 0 ms: org.codehaus.mojo:build-helper-maven-plugin:3.3.0:add-source:add-antlr-sources [INFO] 0 ms: org.codehaus.mojo:build-helper-maven-plugin:3.3.0:add-source:add-antlr-sources [INFO] 1 ms: org.codehaus.mojo:build-helper-maven-plugin:3.3.0:add-source:add-antlr-sources [INFO] 1 ms: org.codehaus.mojo:build-helper-maven-plugin:3.3.0:add-source:add-antlr-sources [INFO] 0 ms: org.codehaus.mojo:build-helper-maven-plugin:3.3.0:add-source:add-antlr-sources [INFO] 1 ms: org.codehaus.mojo:build-helper-maven-plugin:3.3.0:add-source:add-antlr-sources [INFO] 132 ms: com.twitter:scrooge-maven-plugin:20.1.0:compile:thrift-sources [INFO] 1 ms: org.codehaus.mojo:build-helper-maven-plugin:3.3.0:add-source:add-antlr-sources [INFO] 0 ms: org.codehaus.mojo:build-helper-maven-plugin:3.3.0:add-source:add-antlr-sources [INFO] 2 ms: org.codehaus.mojo:build-helper-maven-plugin:3.3.0:add-source:add-antlr-sources [INFO] 0 ms: org.codehaus.mojo:build-helper-maven-plugin:3.3.0:add-source:add-antlr-sources [INFO] 0 ms: org.codehaus.mojo:build-helper-maven-plugin:3.3.0:add-source:add-antlr-sources [INFO] 303 ms: com.twitter:scrooge-maven-plugin:20.1.0:compile:thrift-sources [INFO] 531 ms: org.antlr:antlr4-maven-plugin:4.9.3:antlr4:antlr [INFO] 1 ms: org.codehaus.mojo:build-helper-maven-plugin:3.3.0:add-source:add-antlr-sources [INFO] 1 ms: org.codehaus.mojo:build-helper-maven-plugin:3.3.0:add-source:add-antlr-sources [INFO] 1 ms: org.codehaus.mojo:build-helper-maven-plugin:3.3.0:add-source:add-antlr-sources [INFO] 1423 ms: org.antlr:antlr4-maven-plugin:4.9.3:antlr4:antlr [INFO] 0 ms: org.codehaus.mojo:build-helper-maven-plugin:3.3.0:add-source:add-antlr-sources [INFO] 117 ms: org.codehaus.mojo:build-helper-maven-plugin:3.3.0:add-source:add-antlr-sources [INFO] 1987 ms: org.antlr:antlr4-maven-plugin:4.9.3:antlr4:antlr [INFO] 1 ms: org.codehaus.mojo:build-helper-maven-plugin:3.3.0:add-source:add-antlr-sources [INFO] 0 ms: org.codehaus.mojo:build-helper-maven-plugin:3.3.0:add-source:add-antlr-sources [INFO] 1 ms: org.codehaus.mojo:build-helper-maven-plugin:3.3.0:add-source:add-antlr-sources [INFO] 1 ms: org.codehaus.mojo:build-helper-maven-plugin:3.3.0:add-source:add-antlr-sources [INFO] 1 ms: org.codehaus.mojo:build-helper-maven-plugin:3.3.0:add-source:add-antlr-sources [INFO] 1 ms: org.codehaus.mojo:build-helper-maven-plugin:3.3.0:add-source:add-antlr-sources [INFO] 0 ms: org.codehaus.mojo:build-helper-maven-plugin:3.3.0:add-source:add-antlr-sources ``` New output: ``` [INFO] Plugins in lifecycle Phases: [INFO] [INFO] clean: [INFO] 126 ms : Maven :: Build Time [email protected]:maven-clean-plugin:3.1.0:clean (default-clean) [INFO] validate: [INFO] 145 ms : Maven :: Build Time [email protected]:maven-enforcer-plugin:3.0.0:enforce (enforce-maven) [INFO] initialize: [INFO] 85 ms : Maven :: Build Time [email protected]:jacoco-maven-plugin:0.8.8:prepare-agent (default) [INFO] generate-sources: [INFO] 137 ms : Maven :: Build Time [email protected]:templating-maven-plugin:1.0.0:filter-sources (default) [INFO] process-resources: [INFO] 74 ms : Maven :: Build Time [email protected]:maven-resources-plugin:3.2.0:resources (default-resources) [INFO] compile: [INFO] 837 ms : Maven :: Build Time [email protected]:maven-compiler-plugin:3.10.0:compile (default-compile) [INFO] process-classes: [INFO] 54 ms : Maven :: Build Time [email protected]:sisu-maven-plugin:1.1:main-index (generate-index) [INFO] process-test-resources: [INFO] 2 ms : Maven :: Build Time [email protected]:maven-resources-plugin:3.2.0:testResources (default-testResources) [INFO] test-compile: [INFO] 278 ms : Maven :: Build Time [email protected]:maven-compiler-plugin:3.10.0:testCompile (default-testCompile) [INFO] test: [INFO] 3117 ms : Maven :: Build Time [email protected]:maven-surefire-plugin:3.0.0-M6:test (default-test) [INFO] package: [INFO] 504 ms : Maven :: Build Time [email protected]:maven-site-plugin:3.11.0:attach-descriptor (attach-descriptor) [INFO] 89 ms : Maven :: Build Time [email protected]:maven-shade-plugin:3.3.0:shade (default) [INFO] 267 ms : Maven :: Build Time [email protected]:maven-jar-plugin:3.2.2:jar (default-jar) [INFO] verify: [INFO] 228 ms : Maven :: Build Time [email protected]:jacoco-maven-plugin:0.8.8:report (default) [INFO] install: [INFO] 67 ms : Maven :: Build Time [email protected]:maven-install-plugin:3.0.0-M1:install (default-install) ```
clayreimann
force-pushed
the
print-project-name-in-lifecycle-phases
branch
from
May 19, 2022 17:18
3e6d4c7
to
9b5f98c
Compare
@khmarbaise Thanks for the great plugin, this makes the mojo detail view much more useful in multi-module projects. Does the new formatting look ok? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For multi-module projects there is currently no indication of which project caused a particular mojo execution. This is an alternate solution to #4.
Current output
New output