Skip to content
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

refresh pom structure and enable unit test #673

Closed

Conversation

toyboxman
Copy link
Member

No description provided.

@@ -28,16 +28,17 @@ under the License.
<version>2.0.0-SNAPSHOT</version>
</parent>

<groupId>org.apache.griffin</groupId>
Copy link
Contributor

@guoyuepeng guoyuepeng Jan 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The griffin-bom module is used to manage the version of third-party dependencies. If users want to import griffin-metric to your project, they need to import griffin-bom together by import-bom way, this can help users to manage the version.

but for test or dev purposed dependencies, they should not declared in bom, that means our users will import test dependencies to use griffin, that is not necessary.

these dev or test dependencies, should be managed by griffin-parent in root pom, so all modules can use the same dev env.

dev and test are not user oriented artifacts.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you mean all dependecies about dev/test purpose should be removed from the pom under bom project. Am I right?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, move test/dev dependencies to root(parent) pom.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@guoyuepeng , I have refreshed again. please review again

*/
@TableId(value="mid", type = IdType.AUTO)
@TableId(value="vid", type = IdType.AUTO)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks good.

@guoyuepeng
Copy link
Contributor

@toyboxman

could you fix the conflict?

@toyboxman toyboxman deleted the branch apache:griffin-2.0.0-dev January 15, 2025 15:06
@toyboxman toyboxman closed this Jan 15, 2025
@toyboxman toyboxman deleted the griffin-2.0.0-dev branch January 15, 2025 15:06
@toyboxman toyboxman restored the griffin-2.0.0-dev branch January 15, 2025 15:07
@toyboxman toyboxman reopened this Jan 15, 2025
@toyboxman toyboxman closed this Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants