Skip to content

Conversation

behnazh-w
Copy link
Member

Summary

Refactored the build tool detection logic by reusing the repo verifier’s path filtering approach. This change ensures that paths that are likely used for testing are excluded during the build tool detection process. Additionally, this PR adds an integration test for a project that uses Maven, with Gradle used as an example to demonstrate the filtering mechanism.

Description of changes

  • Refactored build tool detection reusing the repo verifier’s logic for filtering paths that are likely used for testing, improving the reliability of build tool detection by excluding unnecessary paths.
  • Integration test: added an integration test for a project that uses Maven as the build tool. The test also demonstrates how Gradle is treated as an example and excluded from detection if it falls under test-related or example directories.

Related issues

This PR supersedes #324

@behnazh-w behnazh-w requested a review from tromai as a code owner September 3, 2025 06:28
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Sep 3, 2025
Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
@behnazh-w behnazh-w force-pushed the behnazh/add-confidence-build-tool branch from b445813 to 5b4b07f Compare September 4, 2025 02:42
@behnazh-w behnazh-w requested review from nicallen and removed request for tromai September 5, 2025 00:59
Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
@behnazh-w behnazh-w merged commit 8fe34e5 into main Sep 9, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants