-
Notifications
You must be signed in to change notification settings - Fork 168
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
feat: Maven plugin improvements #20695
Open
AB-xdev
wants to merge
26
commits into
vaadin:main
Choose a base branch
from
AB-xdev:maven-plugin-improvements
base: main
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
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
57a0ead
Change all occurences of private to protected
AB-xdev bac89bf
Only use ``BuildContext`` where it's needed
AB-xdev dce600d
Assume that ``BuildContext`` can be null
AB-xdev 4d5c23c
Remove ``productionMode`` check
AB-xdev a127fa1
Log accurately how long a goal needs for execution
AB-xdev c213b7a
Introduce new Reflector system
AB-xdev dcfc957
Remove unused code
AB-xdev 6cf2c8a
Introduce optimization for FlowModeAbstractMojo
AB-xdev 39ff81f
Cleanup
AB-xdev f8cc082
Introduce optimization for BuildFrontendMojo
AB-xdev 6d01e74
Cleanup
AB-xdev f30e3cd
Remove not needed dependency
AB-xdev 61a6e14
Fix tests
AB-xdev 98c7342
Fix test - Use same logik as in plugin
AB-xdev 7d9808f
Also set default values to fields (not just annotations) so that test…
AB-xdev 01a7983
Fix format
AB-xdev 9193f12
Fix format
AB-xdev 782b288
Rename ``ReflectorController`` -> ``ReflectorProvider``
AB-xdev dc28229
Cleanup
AB-xdev 9256be9
Rework config
AB-xdev 288be36
Use method instead of field access
AB-xdev 37e7afd
Rename ``of`` -> ``createNew``
AB-xdev 137d820
Use simpler if instead of Optional
AB-xdev 3f5ed55
Update docs
AB-xdev 1fc551a
Restore unused code and deprecate
AB-xdev 390e08f
Make constants configurable
AB-xdev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would instantiating an Optional be more performant than having a no-op consumer?
Otherwise, I would leave the code as is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I used an
Optional
further down in theif
s as I found it more readable and it makes more sense there (the previously created consumer may have never been used in theif
s below).As an alternative one can also do a null check, like:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be honest, I would prefer the null check in this case, since there is no pipeline built on top of the
Optional
.