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

Remove default dependencies from a test suite when test folder does not exist #40

Closed
jjohannes opened this issue Jan 16, 2024 · 0 comments
Labels
a:enhancement New feature or request

Comments

@jjohannes
Copy link
Member

jjohannes commented Jan 16, 2024

When you like to fully control versions yourself, you can configure test suites with useJUnitJupiter("") (no version).
When combining this plugin with java-module-dependencies this is often the desired setup.

However, this can lead to failing builds, if a test suite is setup (e.g. test, which always exists) but is not used. This is because dependency resolution might be done before the task is recognized as NO-SOURCE.

To prevent this, the default test dependencies should be removed if the source folders of a test suite do not exist.

@jjohannes jjohannes added the a:enhancement New feature or request label Jan 16, 2024
@jjohannes jjohannes changed the title Option to remove default dependencies from a test suite Remove default dependencies from a test suite when test folder does not exist Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant