-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly override parent property to set Java version (#549)
* Added test case for #523 Java version not detected in parent * Partially revert "Only bring down properties from the parent that are referenced explicitly" This partially reverts commit 12c8f37 * fix #523 restore behaviour of overriding properties from parent, but smartly - only override numeric values - if any property is detected, don't add maven.compiler.release * Formatting from github-actions Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Apply formatter to minimize diff * Fix failing UpgradeToJava17Test Need to update the model because we are working with the resolved properties now, not the requested ones. * Inline the optionals * Simplify visitTag * Inline pathToLocalParent variable and get propertyValue once * Remove unused imports --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Tim te Beek <[email protected]>
- Loading branch information
1 parent
07542d2
commit 4f49e0c
Showing
2 changed files
with
191 additions
and
96 deletions.
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