-
Notifications
You must be signed in to change notification settings - Fork 28
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
Add bom module #247
Add bom module #247
Conversation
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>org.flyte</groupId> | ||
<artifactId>flytekit-bom</artifactId> |
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.
Note that we should not use parent for a bom module because that will result in leaking dependencies that are declared in the parent dependencyManagement
section.
@@ -33,7 +33,6 @@ | |||
<scala.baseVersion>2.13</scala.baseVersion> | |||
<scala.version>2.13.10</scala.version> | |||
|
|||
<maven.deploy.skip>true</maven.deploy.skip> |
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.
This property doesn't make much sense because we do not use mvn deploy
to publish artifacts.
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.
Also this property is not set consistently across the entire code code. For example integration-tests
module should have had it.
flytekit-bom/pom.xml
Outdated
@@ -0,0 +1,155 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<!-- | |||
Copyright 2021 Flyte Authors. |
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.
Hmm, this seems to break spotless because the plugin is not defined in bom. |
</dependencyManagement> | ||
|
||
<build> | ||
<pluginManagement> |
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.
Sadly we need to configure this again because bom has no parent so it cannot inherit.
Converted to draft because there is still something missing. |
Signed-off-by: Hongxin Liang <[email protected]>
Signed-off-by: Hongxin Liang <[email protected]>
Signed-off-by: Hongxin Liang <[email protected]>
Signed-off-by: Hongxin Liang <[email protected]>
Signed-off-by: Hongxin Liang <[email protected]>
TL;DR
Add bom module for easier module management at user side.
Type
Are all requirements met?
Complete description
flytekit-java has lots of modules, and it is getting complicated for users to manage those. Adding a bom will simplify that.
Tracking Issue
NA
Follow-up issue
NA