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

Auto add standard kotlin source dirs if present #1347

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

hcoles
Copy link
Owner

@hcoles hcoles commented Sep 2, 2024

src/main/kotlin and src/test/kotlin are now auto added to the a maven project by the mojo if present.

This is necessary as, for maven builds, these directories are often added at runtime by the build helper or kotlin plugins. If they pitest goal is run directly (as is common) these plugins will not fire and the config will be missing causing confusing failures.

This replaces an earlier hack where there directories were aded at a lower level.

src/main/kotlin and src/test/kotlin are now auto added to the a maven project by the mojo if present.

This is necessary as, for maven builds, there directories are often added at runtime by the build helper or kotlin plugins. If they
pitest goal is run directly (as is common) these plugins will not fire and the config will be missing causing confusing failures.

This replaces an earlier hack where there directories were aded at a lower level.
@hcoles hcoles merged commit 8714b60 into master Sep 2, 2024
7 checks passed
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.

1 participant