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

Check for test-jar dependencies #1727

Merged
merged 3 commits into from
Apr 27, 2022

Conversation

mnd999
Copy link
Contributor

@mnd999 mnd999 commented Apr 25, 2022

When adding dependencies, check the project artifacts to see if there
are any test-jar dependencies and if so, add the test project as a
dependency as well.

Fixes: #1669

@mnd999 mnd999 force-pushed the handle-test-jar-dependencies branch from 0bd7a7d to 826e5f2 Compare April 25, 2022 20:10
When adding dependencies, check the project artifacts to see if there
are any test-jar dependencies and if so, add the test project as a
dependency as well.
@mnd999 mnd999 force-pushed the handle-test-jar-dependencies branch from 826e5f2 to 9f91e2b Compare April 25, 2022 20:50
Copy link
Contributor

@tgodzik tgodzik left a comment

Choose a reason for hiding this comment

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

LGTM! Do you have maybe a test project?

We could add it to the test resources and test in MavenConfigGenerationSuite

@mnd999
Copy link
Contributor Author

mnd999 commented Apr 26, 2022

I've added the test project from the linked issue.

Copy link
Contributor

@tgodzik tgodzik left a comment

Choose a reason for hiding this comment

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

Thanks! 🎉 I run the formatting and after the CI passes it should be good to go.

@tgodzik tgodzik merged commit 0dbff6a into scalacenter:main Apr 27, 2022
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.

Maven import: support attached tests
3 participants