GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||
GeezerVison is showing github.com — Generate netty-bom that does not inherit from netty-parent by normanmaurer · Pull Request #15265 · netty/netty Conversation
Member
Motivation: We need to ensure our netty-bom does not have netty-parent as a parent as otherwise it will also pull in the dependency management of the parent which might lead to unexpected behaviour. Beside this we also should ensure our native jars are marked as runtime dependency. Modifications:
Result: Correct dependency management
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsMotivation: We need to ensure our netty-bom does not have netty-parent as a parent as otherwise it will also pull in the dependency management of the parent which might lead to unexpected behaviour. Beside this we also should ensure our native jars are marked as runtime dependency. Modifications: - Use plugin to generate the correct bom file and so not depend on the parent - Use correct runtime scope for native dependencies - Fix netty-all generation to directly specify dependency versions and not depend on the bom as this does not work (due the usage of the plugin). - Remove duplicated tcnative.version declaration as this is not needed anymore (the plugin does the correct resulution). - Remove usage of script during build as its not needed anymore Result: Correct dependency management
Member
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Hm, in Gradle if a plugin task executes later (let's say at publish time), but is required early (let's say at compile/assemble time), it's possible to define that assemble tasks depends on plugin task. That way, plugin output is available for other projects at any time. Is there something like that in Maven?
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This does not work as maven just looks at the netty-bom/pom.xml and that's it (and not execute the plugin etc first in netty-com). I am not aware that what you describe is possible.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see that bom generation is the last task now. Maybe it doesn't work here because you switched from
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we need to use dependencies here.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsUh oh!
There was an error while loading. Please reload this page. Uh oh!
There was an error while loading. Please reload this page. Uh oh!
There was an error while loading. Please reload this page. Uh oh!
There was an error while loading. Please reload this page. Uh oh!
There was an error while loading. Please reload this page.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see that bom generation is the last task now. Maybe it doesn't work here because you switched from
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsUh oh!
There was an error while loading. Please reload this page. Uh oh!
There was an error while loading. Please reload this page.
idelpivnitskiy
approved these changes
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚀
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsUh oh!
There was an error while loading. Please reload this page.
chrisvest
approved these changes
normanmaurer
added a commit
that referenced
this pull request
Motivation: We need to ensure our netty-bom does not have netty-parent as a parent as otherwise it will also pull in the dependency management of the parent which might lead to unexpected behaviour. Beside this we also should ensure our native jars are marked as runtime dependency. Modifications: - Use plugin to generate the correct bom file and so not depend on the parent - Use correct runtime scope for native dependencies - Fix netty-all generation to directly specify dependency versions and not depend on the bom as this does not work (due the usage of the plugin). - Remove duplicated tcnative.version declaration as this is not needed anymore (the plugin does the correct resulution). - Remove usage of script during build as its not needed anymore Result: Correct dependency management
idelpivnitskiy
added a commit
to idelpivnitskiy/netty
that referenced
this pull request
Motivation: See discussions in netty#15265: 1. `netty-tcnative` misses a variant with `osx-aarch_64` classifier. 2. `netty-tcnative` variant with `linux-aarch_64-fedora` classifier was removed starting from version 2.0.72. 3. `netty-example` should not be included in the `netty-bom`. Result: `netty-bom` has correct set of managed artifacts.
normanmaurer
pushed a commit
that referenced
this pull request
Motivation and modifications: See discussions in #15265: 1. `netty-tcnative` misses a variant with `osx-aarch_64` classifier. 2. `netty-tcnative` variant with `linux-aarch_64-fedora` classifier was removed starting from version 2.0.72. 3. `netty-example` should not be included in the `netty-bom`. Result: `netty-bom` has correct set of managed artifacts.
This was referenced
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. 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. | |||||||||||||||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |